[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML+RPC vs BCP70 , <?xml?> processing tag abuse?




On Jan 21, 2004, at 12:51 PM, Mario Salzer wrote:


To allow limited XML parsers or even simple token parsers to understand
XML-RPC messages, I initially added a section on XML use restrictions.
There was already some feedback, and a revised draft will likely allow
a CDATA section then only for the <string> tag.

I will add my voice to the many others saying "Please don't do this." It turns out that in practice the notion of a "limited XML parser" turns out to not save much over a real XML parser and has a high probability of getting things wrong. Probably the single toughest thing about a Real XML Parser is getting Unicode right, so that's probably one of the first things you give up using a limited version; but that's one of the most valuable things about XML.


Anyhow, like the others said; if you want to invent your own data format with angle brackets in it that's fine, just don't call it XML.

Hmm, I wonder what happens when someone files a media type registration that flies violently in the face of a standards-track BCP. -Tim