Pretty straightforward bug here: the deprecated backwards-compatible
version of parse-xml-fragment() converts the arguments string ("EDSlwf"
in the above example) into an <parse-xml-options:options> element. The
"w" flag introduces a <parse-xml-options:strip-boundary-space/> element
into that <options>. But there's no strip-boundary-space element defined
by the schema. There doesn't seem to be anything at all related to
"boundary" or "whitespace" in the options schema, in fact, which leads
me to believe that perhaps that functionality simply never got

You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.

  parse-xml-fragment triggers schema error

Status in Zorba - The XQuery Processor:

Bug description:
  When running the attached example a schema validation error inside the
  xml module is thrown:

  xquery/www/modules/xml.xq>:346,5: dynamic error [err:XQDY0027]:
  "Schema validation failed: no declaration found for element 'parse-
  xml-options:strip-boundary-space'": unexpected validity property

  xquery version "3.0";

  import module namespace parse-xml = "http://www.zorba-";


To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to