XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
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]
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



[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