[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: JSON query processing

  • From: "David Lee" <dlee@calldei.com>
  • To: "'Chris Burdess'" <dog@bluezoo.org>
  • Date: Sun, 16 Oct 2011 09:08:14 -0400

RE:  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@w...; Daniela Florescu; xquery-discuss Talk;
xml-dev@lists.xml.org
Subject: Re:  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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.