import schema namespace s = "http://www.xqdoc.org/1.0"; import module namespace schema = "http://www.zorba-xquery.com/modules/schema";
variable $hostInfo :=<xqdoc xmlns="http://www.xqdoc.org/1.0"> <control> <date>TS4J5UJ<?processinginstruction aaa?></date> <version>N/A</version> </control> <module type="library"> <uri>DGQEb8Q</uri> </module> </xqdoc>;
schema:validate-in-place($hostInfo); $hostInfo
import schema namespace s = "http:// www.xqdoc. org/1.0"; www.zorba- xquery. com/modules/ schema";
import module namespace schema = "http://
variable $hostInfo :=<xqdoc xmlns="http:// www.xqdoc. org/1.0">
<date> TS4J5UJ< ?processinginst ruction aaa?></date>
<version> N/A</version>
<uri>DGQEb8Q< /uri>
<control>
</control>
<module type="library">
</module>
</xqdoc>;
schema: validate- in-place( $hostInfo) ;
$hostInfo