W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > August 2009

Accomodation for JSON

From: Justin Johansson <procode@adam.com.au>
Date: Fri, 07 Aug 2009 10:32:27 +0930
Message-ID: <4A7B7D23.5020806@adam.com.au>
To: public-xml-processing-model-comments@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 10 August 2009 08:16:55 GMT