zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #01415
[Bug 872502] Re: validation of the JSON module xqdoc fails
** Branch linked: lp:~zorba-coders/zorba/bug_872502
--
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
References