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

Re: Potential Risks of Migration from XML to JSON

  • From: Oliver Kopp <kopp.dev@gmail.com>
  • To: xml-dev@lists.xml.org
  • Date: Fri, 14 Oct 2016 21:47:44 +0200

Re:  Potential Risks of Migration from XML to JSON
)Hi,

> What criteria one must take into account before making a decision to pursue
> such overhaul?

Rather than a complete list, I would just ask whether you want to rely
on Schema validation. A major drawback of JSON is IMHO that namespaces
are not supported. Is "author" always the same? Does every company
understand the same under "author"? Or "money"? Or "price"?

Why do you care for the data format? Isn't it just negotiated on the
wire? Don't you work internally with Java objects, C# objects, ... -
The separation of the format on the wire and the format a client
processes was the idea of WSDL binding: If an in memory call is made,
the Java objects are not converted to XML and back, but directly sent
to the receiving method (see http://ws.apache.org/wsif/ for a basic
implementation - unfortunately not updated any more)

Further, there is a difference between XML infoset and XML. XML is
just one serialization of XML. CSV and JSON are other serialization
formats (see https://en.wikipedia.org/wiki/XML_Information_Set#Serialization).
I am aware that the tooling of serialization XML infoset as other
formats than XML is not that production ready than other XML tooling.

Side node: MSON (https://github.com/apiaryio/mson also seems not to
support namespaces.

Hope, this is some useful input. Cheers,

Oliver


[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.