validation of the JSON module xqdoc fails

Bug #872502 reported by Matthias Brantner
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
High
Sorin Marian Nasoi

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*)'"

Related branches

Changed in zorba:
assignee: nobody → Sorin Marian Nasoi (sorin.marian.nasoi)
milestone: none → 2.1
importance: Undecided → High
Changed in zorba:
status: New → Fix Committed
Changed in zorba:
status: Fix Committed → Fix Released
Changed in zorba:
status: Fix Released → Fix Committed
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.