W3C home > Mailing lists > Public > www-validator@w3.org > September 2007

Re: XML file upload issues for encoding="UTF-8"

From: Olivier Thereaux <ot@w3.org>
Date: Thu, 13 Sep 2007 19:20:33 +0900
To: Frank Ellermann <nobody@xyzzy.claranet.de>
Cc: www-validator@w3.org
Message-ID: <20070913102033.GA12698@w3.mag.keio.ac.jp>

On Thu, Sep 13, 2007, Frank Ellermann wrote:
> 
> Hi, I didn't read this list for about three months, so maybe this
> bug report isn't new:
> 
> When I try to validate an XML file with encoding="UTF-8" using the
> file upload interface I get an error for the first non-ASCII byte.
> 
> Apparently (= reported by the validator) my browser claims to send
> Content-Type: text/xml without charset.  Therefore the validator
> expects US-ASCII ignoring the first input line:

It doesn't just expect us-ascii. It *has* to process as us-ascii,
per http://tools.ietf.org/html/rfc3023#section-8.5
see also:
http://annevankesteren.nl/2005/03/text-xml

-- 
olivier
Received on Thursday, 13 September 2007 10:20:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 10 December 2014 20:09:00 UTC