Need JSONiq-based JSound implementation
Bug #1210346 reported by
Chris Hillery
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Critical
|
Cezar Andrei |
Bug Description
Need the ability to process .jsd files and verify that a JSONiq item validates according to a .jsd schema. For now I believe we only need a jnlib: function which does this; no need to update the validate {} expression or anything internal like that. It should be possible to do what we need entirely in JSONiq without C++, although if there are reasons to use C++ that's fine too. This should be core functionality.
Related branches
lp:~zorba-coders/zorba/jsound-validator
- Ghislain Fourny: Approve
- Juan Zacarias: Approve
-
Diff: 1753 lines (+1357/-185)32 files modifieddoc/zorba/xqdoc/src/xqdoc-html.xq (+3/-1)
modules/CMakeLists.txt (+1/-0)
modules/http-client/json/http-client.jsd (+222/-184)
modules/jsound/CMakeLists.txt (+19/-0)
modules/jsound/jsound.jq (+693/-0)
modules/jsound/map.jq (+138/-0)
test/rbkt/CMakeLists.txt (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsound/jsound-atomic-array.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsound/jsound-atomic-integer.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsound/jsound-atomic-str-enum.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsound/jsound-atomic-string.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/jsound/jsound-object1.xml.res (+1/-0)
test/rbkt/Queries/zorba/jsound/jsound-array-length-err.spec (+1/-0)
test/rbkt/Queries/zorba/jsound/jsound-array-length-err.xq (+51/-0)
test/rbkt/Queries/zorba/jsound/jsound-atomic-array-err.spec (+1/-0)
test/rbkt/Queries/zorba/jsound/jsound-atomic-array-err.xq (+19/-0)
test/rbkt/Queries/zorba/jsound/jsound-atomic-array.xq (+7/-0)
test/rbkt/Queries/zorba/jsound/jsound-atomic-integer.xq (+19/-0)
test/rbkt/Queries/zorba/jsound/jsound-atomic-str-enum-err.spec (+1/-0)
test/rbkt/Queries/zorba/jsound/jsound-atomic-str-enum-err.xq (+20/-0)
test/rbkt/Queries/zorba/jsound/jsound-atomic-str-enum.xq (+20/-0)
test/rbkt/Queries/zorba/jsound/jsound-atomic-string-err1.spec (+1/-0)
test/rbkt/Queries/zorba/jsound/jsound-atomic-string-err1.xq (+19/-0)
test/rbkt/Queries/zorba/jsound/jsound-atomic-string.xq (+19/-0)
test/rbkt/Queries/zorba/jsound/jsound-invalid-schema.spec (+1/-0)
test/rbkt/Queries/zorba/jsound/jsound-invalid-schema.xq (+7/-0)
test/rbkt/Queries/zorba/jsound/jsound-missing-schema.spec (+1/-0)
test/rbkt/Queries/zorba/jsound/jsound-missing-schema.xq (+7/-0)
test/rbkt/Queries/zorba/jsound/jsound-object1.xq (+51/-0)
test/rbkt/jsound/CMakeLists.txt (+19/-0)
test/rbkt/jsound/invalid.jsd (+1/-0)
test/rbkt/jsound/sample.jsd (+10/-0)
Changed in zorba: | |
assignee: | nobody → Cezar Andrei (cezar-andrei) |
milestone: | none → 3.0 |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in zorba: | |
status: | Confirmed → In Progress |
Changed in zorba: | |
status: | In Progress → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.