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

Re: Serialization of XDM

  • From: "David A. Lee" <dlee@calldei.com>
  • To: Rick Jelliffe <rjelliffe@allette.com.au>
  • Date: Tue, 15 Sep 2009 10:01:32 -0400

Re:  Serialization of XDM

> It has sequences (arrays) which was the problem being complained of. 
> It can be exported into XDM and imported back, with minimal 
> conventions. It has explicit types.
Sequences are not the core problem, they are the *missing bits* of a 
problem that is already largely solved with XML Text Serialization.
The core problem with using JSON is XML itself.  not the few extra 
things that XDM requires.

You claim:

" It can be exported into XDM and imported back, with minimal conventions. "

I have not had this experience.   Converting XML documents, or even 
elements,  into JSON then back is lossy at best and there is absolutely 
no standard "convention" on how to do it.

While JSON might be able to support sequences and atomic types fairly 
cleanly, it does not support the more complex (and most common) types 
namely "Document". Translating things like processing instructions,  
namespaces, even mixed content in JSON is very difficult.

Unless you are saying that everything except atomic types are encoded as 
JSON Strings ...

Even given that,  I agree with Micheal.   In the XML community, working 
with XML types, XML tools it a JSON serializing format wont have any 
significant acceptance.

David A. Lee

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


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.
First Name
Last Name
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.