Accomodation for JSON

Sorry to be arriving late at the party but hopefully last drinks haven't been called yet, or any time too soon.

Has the WG considered any accomodation for JSON in XPL?

My suggestion is to include an element for inlining JSON text in an XPL document in the XProc vocabulary.
This element, analogous to c:query (which I understand is for inlining XQuery text in an XPL document),
would be a healthy show of support for web ecosystem diversity in XProc.

The suggested name of this element, drawn from the XProc namespace used for documents that are inputs
to and outputs to XProc steps, viz. 'http://www.w3.org/ns/xproc-step', is 'json'.

This measure would allow XPL users to inline JSON text in an XPL document in fashion similar to,
and on fair and equal footing with, say, inline XQuery text and other embedded text formats
supported by XProc.

The RFC, authored by Douglas Crockford, which proposed JSON text as registered MIME media type
'application/json', is available at http://www.ietf.org/rfc/rfc4627.txt.

Thank you and trust I have not misunderstood the purpose of c:query which forms the basis
for suggesting c:json.

--Justin Johansson

Received on Monday, 10 August 2009 08:16:54 UTC