zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #12124
[Bug 918151] Re: JSON serializer should disallow mixed JDM/XDM
** Changed in: zorba
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/918151
Title:
JSON serializer should disallow mixed JDM/XDM
Status in Zorba - The XQuery Processor:
Fix Committed
Bug description:
Based on the first item in the sequence being serialized, the default
serializer (currently xml_emitter) should either output only JSON
items, or only XDM items. It should raise an error if a mixed sequence
is detected. It should also suppress the XML version declaration for
JSON sequences.
Ideally there would be some internally flag (or possibly an alternate
serialization method, eg. -z method=mixed) to allow serialization of
mixed sequences for testing purposes, even though such output would be
neither valid XML nor valid JSON.
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/918151/+subscriptions
References