|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] Serialization of XDMDavid A. Lee dlee at calldei.comTue Sep 15 08:34:58 PDT 2009
Excellent points. IMHO, asking for 100% lossless is asking too much. So if its not 100% where's the line ? A lossy implementation would still be very useful If one were to start writing down intent, use cases and a proposal, what would be a good forum for this ? A web page ? A document via email via these user groups ? Suggestions welcome. -David David A. Lee http://x-query.com/mailman/listinfo/talk http://www.calldei.com http://www.xmlsh.org 812-482-5224 Michael Kay wrote: >>> is it important that >>> $a[1]/foo/bar is $a[2] >>> > > Someone needs to sit down and write down the requirements and use cases. > > One requirement that someone suggested was of the nature of "lossless > round-tripping". That would imply that given a sequence (N, M), not only > does (N is M) retain its value after serialization and parsing, but so does > (N/.. is M/..): which means you can't just serialize the subtrees rooted at > the nodes in the sequence, you have to serialize the entire document in > which these nodes are contained. > > Perhaps this explains why there is currently no standard in this area. > > Regards, > > Michael Kay > http://www.saxonica.com/ > http://twitter.com/michaelhkay > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://x-query.com/pipermail/talk/attachments/20090915/b599c444/attachment.htm
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






