Project

Profile

Help

Bug #5782

Updated by Michael Kay over 1 year ago

When calling `"fn:data( "fn:data(    $input as item()*) as xs:anyAtomicType* external;"` 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') 
 >

Back