Hi,
On comparison with the specification the following features are missing in
the current implementation of JSONiq.
- Implement jn:jsoniq-boolean-and-null-literals option ("yes" or "no"),
that activates or deactivates the interpretation of a standalone NameTest
"true", "false" or "null". Since it's by default, it is set to "yes"
implement boolean literal[1,2]
- In an object or an array, an error jerr:JNTY0018 should raised if
there is more than one parameter in the dynamic function call[3]
- In an atomic or an XML node, the dynamic function call if unary or
0-ary always returns the empty sequence. An error jerr:JNTY0018 is
raised if there is more than one parameter[3].
- Implement functions jn:decode-from-roundtrip[4] and
jn:encode-for-roundtrip[5].
- Update primitives against JSON items as well as updating expressions
which produce them[6].
- If an XQuery element content sequence, the value of the enclosed
expression of an attribute, or the value of the content expression of a
computed constructor contains an Object or Array, an error jerr:JNTY0011
is raised[7].
[1] http://mail-archives.apache.org/mod_mbox/vxquery-dev/201606.mbox/browser
[2]
http://jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html#idm139680712130320
[3]
http://jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html#section-json-navigation
[4]
http://jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html#idm139680637908816
[5]
http://jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html#idm139680641288960
[6]
http://jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html#section-json-updates
[7]
http://jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html#section-combining-xml-and-json
Thank you.
Yours sincerely,
Riyafa
--
Riyafa Abdul Hameed
Undergraduate, University of Moratuwa
Email: [email protected]
Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
<http://facebook.com/riyafa.ahf> <http://lk.linkedin.com/in/riyafa>
<http://twitter.com/Riyafa1>