[Zorba-coders] [Bug 1008504] Re: parse-xml-fragment triggers schema error

2012-06-27 Thread Nicolae Brinza
** Changed in: zorba
   Status: New = Fix Committed

-- 
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:
  Fix Committed

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(xmltest/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


[Zorba-coders] [Bug 1008504] Re: parse-xml-fragment triggers schema error

2012-06-05 Thread Nicolae Brinza
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(xmltest/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


[Zorba-coders] [Bug 1008504] Re: parse-xml-fragment triggers schema error

2012-06-04 Thread David Graf
** Changed in: zorba
 Assignee: (unassigned) = David Graf (davidagraf)

-- 
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(xmltest/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


[Zorba-coders] [Bug 1008504] Re: parse-xml-fragment triggers schema error

2012-06-04 Thread David Graf
** Changed in: zorba
 Assignee: David Graf (davidagraf) = Nicolae Brinza (nbrinza)

** Changed in: zorba
   Importance: Undecided = Medium

-- 
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(xmltest/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


[Zorba-coders] [Bug 1008504] Re: parse-xml-fragment triggers schema error

2012-06-04 Thread Chris Hillery
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
implemented.

-- 
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(xmltest/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