The strip-boundary-space option was hidden in the latest parse-fragment
code as it did not work reliably in LibXml2 (the option was passed to
the library). The current parse() function does not have this option. It
is pending a reimplementation in our code.

I guess a solution would be to update the documentation of the
backwards-compatible parse-xml-fragment() to mention the option should
not be used.

--

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/1008504

Title:
  parse-xml-fragment triggers schema error

Status in Zorba - The XQuery Processor:
  New

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

  /home/tryzorba/repo/zorba-2.2.0/build/URI_PATH/com/zorba-
  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

  
-----------------------------------------------------------------------------Example:
  xquery version "3.0";

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

  parse-xml:parse-xml-fragment("<xml>test</xml>","EDSlwf")

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1008504/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to