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]
XDM serialization (was buried in microXML thread)

On Sun, 2012-07-15 at 14:42 +0000, David Lee wrote:

> See my cross posted reference to 
> http://xml.calldei.com/XDMSerialize

This also misses function items and other XDM 3 additions.

> I had an "Ah Ha" Moment last week when I realized that the UTF8 BOM could serve as such a separator.

You could use any string if you declared it, ala MIME conventions, and
had a way to escape it, and a way to escape the escape.  SGML and XML
get that sadly wrong, and even microxml, as an XML subset, can't grok
&#ddd; used as part of an element name.

You need a string that cannot occur in the middle of a document (out of
band) or one that can be escaped (in band, future-proof but more work)
or content-length (hard to stream) or a chunked encoding (pain to decode
but I think more promising). Maybe EXI could be made to work?


Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

[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