XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] JSON query processing

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
case.
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
XML structure.


Or if you want a simplier case, take any real world 'schema' in XML or JSON
or JSON-Like.
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
markup.
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@calldei.com
http://www.xmlsh.org

-----Original Message-----
From: Chris Burdess [mailto:dog@bluezoo.org] 
Sent: Sunday, October 16, 2011 5:39 AM
To: David Lee
Cc: cbullard@hiwaay.net; liam@w3.org; Daniela Florescu; xquery-discuss Talk;
xml-dev@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@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS