Actions
Bug #5782
closedClassCastException casting SimpleTypeDefinition to AtomicType
Start date:
2022-12-23
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
11
Fix Committed on Branch:
11
Fixed in Maintenance Release:
Platforms:
Java
Description
When calling "fn:data( $input as item()*) as xs:anyAtomicType* external;"
with simpleType
<xsd:simpleType>
<xsd:restriction base="xs:string">
<xsd:whiteSpace value="collapse"/>
<xsd:length value="20"/>
</xsd:restriction>
</xsd:simpleType>
we are getting
java.lang.ClassCastException: class com.saxonica.ee.schema.sdoc.SimpleTypeDefinition cannot be cast to class net.sf.saxon.type.AtomicType (com.saxonica.ee.schema.sdoc.SimpleTypeDefinition and net.sf.saxon.type.AtomicType are in unnamed module of loader 'app')
Files
Please register to edit this issue
Actions