Hi,
The following expression evaluates properly in QConsole,
provided that there is a schema in scope with a corresponding
element declaration:
declare namespace e = "http://example.org/";
validate { <e:example>123</e:example> }
The following throws an error though:
declare namespace e = "http://example.org/";
validate { <e:example>123</e:example> }/*
See the extra "/*" at the end? The error is:
XDMP-UNEXPECTED: (err:XPST0003) Unexpected token syntax error,
unexpected Slash_, expecting $end or SemiColon_
Version: 6.0-4. Regards,
--
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general