[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] Text/xml with omitted charset parameter
- From: David Brownell <david-b@pacbell.net>
- To: Rob Lugt <roblugt@elcel.com>
- Date: Mon, 29 Oct 2001 11:23:28 -0800
> My understanding so far...
>
> - text/xml is the most ubiquitous HTTP content type for xml.
> - if absent, the official default charset for text/xml is us-ascii
> - therefore the charset parameter MUST be specified if the content is UTF-8
> - many HTTP servers don't conform to this
So far so good, though it's slightly ameliorated by the
fact that a lot of the XML documents being served are
actually in ASCII. (Not that it excuses, for example,
Apache _still_ getting their default wrong.)
> - most xml processors (ours included) don't conform to this
Well, Crimson and AElfred2 have conformed for years now.
And the docs do warn about broken HTTP servers. So at
least in the Java world this statement is false.
- Dave