[Home] [By Thread] [By Date] [Recent Entries]

  • From: Liam R E Quin <liam@w...>
  • To: David Lee <dlee@c...>
  • Date: Mon, 16 Jul 2012 17:43:54 -0400

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/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member