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

Re: Serialization of XDM - Use cases / Proposal

  • From: "David A. Lee" <dlee@calldei.com>
  • To: Philippe Poulard <philippe.poulard@sophia.inria.fr>
  • Date: Mon, 21 Sep 2009 07:09:11 -0400

Re:  Serialization of XDM - Use cases / Proposal


Philippe Poulard wrote:
> Hi,
>
> Kurt Cagle a écrit :
>> (<?xml version="1.0" 
>> encoding="UTF-8"?>,"foo",5^positiveInteger,<bar><bat/></bar>,<!-- foo 
>> -->)
>
> Why not writing it directly as a native XQuery sequence ?
> ("foo",xs:positiveInteger(5),<bar><bat/></bar>,<!-- foo -->)
>
1) it requires an xquery parser to read it ( against use case 4)
2) It is not canonical (use case 6)  although the serialized form would 
be canonical

But yes if one were to use a non-XML format for this, the xquery format 
would be usable one,  and I'd rather see    "xs:positiveInteger(5)" then 
"5^positiveInteger"
because it is directly parsable by xquery - if only xquery had an eval 
function :)

Overall, I would summarize the comments as

1) A new serialization format for XDM would be useful (no dissenting 
opinions)
2) A 'pure XML' wrapper style XML format would work  well and is 
suggested by many
3) Several 'non XML' formats have been suggested with various stylistic 
improvements (namely conciseness) over XML but  no technical advantages 
(IMHO).
4) Suggestions  of *multiple* optional formats have been suggested, of 
which I think (IMHO) the XQuery format is the best contender.

But I shall start with just an XML format (first, hold your breath!) and 
see if I can get some holes poked in that before continueing.
Thank you all for your comments !  I hope to get more when I pass the 
next milestone.

-David



David A. Lee
dlee@calldei.com  
http://www.calldei.com
http://www.xmlsh.org
812-482-5224



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