[xquery-talk] [xml-dev] JSON query processing
dlee at calldei.com
Sun Oct 16 06:08:14 PDT 2011
I suggest you are contradicting yourself.
If it only 'takes 5 minutes' to write such a program in the general case
then why are there so many IT careers based on it ?
Please send me your 5 minute program that solves this problem in the general
Or better yet, publish it so the world can use it, and put those armies of
IT people to use solving non-trivial problems instead of trivial ones.
By 'solves' I suggest that as an axiom you have no control over *either*
side of the equation, the JSON OR the XML. So you must 'plug the hole' in
the middle, invisibly to either side. I would like to see this trivial
program that converts between an arbitrary JSON structure and an arbitrary
Or if you want a simplier case, take any real world 'schema' in XML or JSON
For example HL7, DocBook, XSLT, XSD, Google Visualzation ("JSON-Like",
IMHO), Amazons AWS API. Write a program that converts any
document/message in that schema to a coresponding document in the opposite
With the feature that the result in the opposite markup should be as close
to "reasonable" as an author experienced in that markup would expect or
write for the same underlying data model and that it is fully reversable.
You have 5 mintes ...
David A. Lee
dlee at calldei.com
From: Chris Burdess [mailto:dog at bluezoo.org]
Sent: Sunday, October 16, 2011 5:39 AM
To: David Lee
Cc: cbullard at hiwaay.net; liam at w3.org; Daniela Florescu; xquery-discuss Talk;
xml-dev at lists.xml.org
Subject: Re: [xml-dev] JSON query processing
David Lee wrote:
> If your app wants JSON and your server sends XML and it works then there
is no problem
If you have that degree of variation in expectations, then it's certain you
will need a small program to do the conversion in between. Generally you
have to have this anyway since the schemata tend to differ.
Since it only takes about 5 minutes to write such a program, it's hardly
worth getting het up about. Indeed if we didn't have the need for such
programs, there would be a lot fewer careers to be made in IT.
XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe at lists.xml.org
subscribe: xml-dev-subscribe at lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
More information about the talk