** Changed in: zorba
       Status: New => In Progress

You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.

  JSON serializer should disallow mixed JDM/XDM

Status in Zorba - The XQuery Processor:
  In Progress

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:

Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to