zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #00891
[Bug 872502] [NEW] validation of the JSON module xqdoc fails
Public bug reported:
The result of the following two queries don't validate against the xqdoc
schema.
Query 1:
import module namespace x = "http://www.zorba-xquery.com/modules/xqdoc";
import schema namespace xqds = "http://www.xqdoc.org/1.0";
validate lax { x:xqdoc("http://www.zorba-
xquery.com/modules/converters/json") }
Error: Schema validation failed: no declaration found for element
'xqdoc:library'"
Query 2:
import module namespace x = "http://www.zorba-xquery.com/modules/xqdoc";
import schema namespace xqds = "http://www.xqdoc.org/1.0";
validate { x:xqdoc("http://www.zorba-
xquery.com/modules/converters/json") }
Error: "Schema validation failed: element 'description' is not allowed
for content model
'(description?,author*,version?,param*,return?,error*,deprecated?,see*,since*,custom*)'"
** Affects: zorba
Importance: High
Assignee: Sorin Marian Nasoi (sorin.marian.nasoi)
Status: New
** Changed in: zorba
Assignee: (unassigned) => Sorin Marian Nasoi (sorin.marian.nasoi)
** Changed in: zorba
Milestone: None => 2.1
** Changed in: zorba
Importance: Undecided => High
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/872502
Title:
validation of the JSON module xqdoc fails
Status in Zorba - The XQuery Processor:
New
Bug description:
The result of the following two queries don't validate against the
xqdoc schema.
Query 1:
import module namespace x = "http://www.zorba-xquery.com/modules/xqdoc";
import schema namespace xqds = "http://www.xqdoc.org/1.0";
validate lax { x:xqdoc("http://www.zorba-
xquery.com/modules/converters/json") }
Error: Schema validation failed: no declaration found for element
'xqdoc:library'"
Query 2:
import module namespace x = "http://www.zorba-xquery.com/modules/xqdoc";
import schema namespace xqds = "http://www.xqdoc.org/1.0";
validate { x:xqdoc("http://www.zorba-
xquery.com/modules/converters/json") }
Error: "Schema validation failed: element 'description' is not allowed
for content model
'(description?,author*,version?,param*,return?,error*,deprecated?,see*,since*,custom*)'"
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/872502/+subscriptions
Follow ups
References