[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: well-formedness error
On Wed, 16 Jun 2004 19:07:21 -0400, Sam Ruby <rubys@xxxxxxxxxxxxxxxx>
wrote:
It does seem to be the case that the default charset for text/xml is
routinely ignored, to the point where the default itself is meaningless.
Is there a good explanation of why 'text/*' is defined as US-ASCII, and
that 'text/xml' hasn't overriden that (bad) judgment (yet)? As XML is
Unicode, I think it's pretty dumb to default pretty much all XML-over-HTTP
to US-ASCII. If you have a good reference to something explaining why this
was chosen for 'text/xml' (I can understand 'text/plain'), I'd be very
greatful.
Note: "application/xml" (with no other qualification) avoids this
problem.
That doesn't change that many Atom feeds will be served with an '.xml'
extension, and thus with 'Content-Type: text/xml'.
--
Asbjørn Ulsberg -=|=- asbjornu@xxxxxxxxxxx
«He's a loathsome offensive brute, yet I can't look away»