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] Serialization of XDM - Use cases / Proposal


 
I'm going to ask what may be an obvious question, but wouldn't it make sense for a serialization of a sequence to correspond on the output to the serialization on the input? That is to say, if you had a structure:

("foo",5,<bar><bat/></bar>,<!-- foo -->)

 
The main disadvantage of such a format is that it uses non-XML markup (parentheses and commas) which makes it difficult to parse using tools that are specialized to handling XML markup, for example XSLT and XQuery.
 
Also, it doesn't solve the problem of retaining type annotations, for example the difference between the integer 5 and the positiveInteger 5.
 
 

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay

 


[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