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

Re: Serialization of XDM

  • From: Rick Jelliffe <rjelliffe@allette.com.au>
  • Date: Tue, 15 Sep 2009 23:46:49 +1000

Re:  Serialization of XDM
Michael Kay wrote:
>>> There is no standard or even 'community accepted' way of 
>> serializing XDM
>> What is wrong with JSON for this?
> Nearly everything, starting with the fact that the target user community is
> likely to want something that can be manipulated using XML tools. 
I think this may be shifting the goal post. The JSON can be reimported 
into the XDM-aware tools. Non-XDM tools will need extra programming to 
cope with the unknown semantics and type annotation information in the 
XDM-in-XML dump in any case.
> In fact, what is right with JSON for this?
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.

>> The XPath2 data model is a system for *converting* XML into 
>> programming language types, or for operating on a kind of XSD 
>> PSVI. 
> That's not how I would define it (and it's not how the spec defines it). In
> fact, I don't really see where conversion into "programming language types"
> comes into it at all.
s/system for/part of a system for/

XML Infoset != XDM. Therefore a conversion is needed. Hence XSD and 
XSLT2 (not exhausting all their serried splendours by saying they are 
limited to this conversion.)


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