Re: [xml-dev] Associating Style Sheets with XML documents 1.0 (Second Edition)

From
Liam R E Quin <>
To
Michael Kay <>
Date
2010-11-12T02:16:55Z
ID
<>
Thread
Re: [xml-dev] Associating Style Sheets with XML documents 1.0 (Second Edition)
On Fri, 2010-11-12 at 00:08 +0000, Michael Kay wrote:

> I thought there was another more technical reason for avoiding text/... 
> - some theory that if it's text, the carrier is allowed to change its 
> encoding, whereas if it's application/..., then it isn't.

Yes.  A proxy can rewrite text/*, e.g. to change line endings, or, more
insidiously, changing the encoding (and the corresponding MIME header).
Once the encoding is changed, the XML declaration in the file becomes
incorrect...

I don't know how common rewriting proxies are in practice.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org