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: Tue, 18 Sep 2007 09:50:10 +0900
Message-Id: <F1078419-44A0-4433-A9FF-25354D285A9B@w3.org>
Cc: www-validator@w3.org
To: Frank Ellermann <nobody@xyzzy.claranet.de>

On Sep 17, 2007, at 17:30 , Frank Ellermann wrote:
> Eventually I used that.  But I first tried what you have as "fbc"
> in the user manual, and for that option text/xml without charset
> is a special case (i.e. it doesn't trigger "fbc").  Maybe mention
> this special case on the user.html page in the "fbc" paragraph.

I guess that the implementation considers that, when using text/xml  
without charset, the us-ascii charset is set and therefore the fbc  
option (which triggers fallback only if there is no charset given at  
all) does not apply. I think this should be relaxed.

> But what I'd really prefer would be a mode to validate documents
> "as is" independent of any transport oddities.  Ideally this mode
> would be the new default, and enabling to check a document in the
> context of its transport to the validator could be an option.

I don't think I can agree with you here. MIME and HTTP may be causing  
issues for a few ill-configured or ill-coded servers and browsers,  
but making it a default to ignore the very important encoding and  
media type info they convey, and using sniffing instead, sounds like  
a bad idea to me.

Received on Tuesday, 18 September 2007 00:50:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:53 UTC