[xquery-talk] Serialization of XDM

Pavel Minaev int19h at gmail.com
Mon Sep 14 13:55:51 PDT 2009


In Mon, Sep 14, 2009 at 8:02 AM, Evgeny Gazdovsky <gazdovsky at gmail.com> wrote:
> Still think that JSON may be a variant

I don't see how JSON could be any sort of serious contender to
serialize XDM data, given that the latter is much richer than JSON
primitives.

On the other hand, it seems to me that we already have such a
serialization format, and it's XQuery itself - or rather the subset
that involves literals, sequence "constructor" (i.e. comma operator),
and direct element/attribute/namespace/text constructors. It's as
portable as it gets - any XQuery processor can immediately parse it.
And it doesn't seem to be missing anything from XDM, either.


More information about the talk mailing list