← Prev in month ← Prev in thread

XDM serialization (was buried in microXML thread)

From
Liam R E Quin <>
To
David Lee <>
Date
2012-07-16T21:43:54Z
ID
<>
Thread
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

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