validation of the JSON module xqdoc fails
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://
import schema namespace xqds = "http://
validate lax { x:xqdoc("http://
Error: Schema validation failed: no declaration found for element 'xqdoc:library'"
Query 2:
import module namespace x = "http://
import schema namespace xqds = "http://
validate { x:xqdoc("http://
Error: "Schema validation failed: element 'description' is not allowed for content model '(description?
Related branches
- Matthias Brantner: Approve
- Sorin Marian Nasoi: Approve
-
Diff: 89 lines (+16/-5)7 files modifiedChangeLog (+1/-0)
modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq (+4/-4)
src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp (+1/-1)
test/rbkt/ExpQueryResults/zorba/schemas/validate_xqdoc_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/schemas/validate_xqdoc_02.xml.res (+1/-0)
test/rbkt/Queries/zorba/schemas/validate_xqdoc_01.xq (+4/-0)
test/rbkt/Queries/zorba/schemas/validate_xqdoc_02.xq (+4/-0)
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 |