Actions
Bug #5782
closed![Author: Rene Schulze](https://www.gravatar.com/avatar/cc014588b8b0c29994b89832bde9f3c5?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
ClassCastException 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