Re: What makes illegal characters non-conformant

On Sep 23, 2009, at 20:34, Henry S. Thompson wrote:

> Hash: SHA1
> Anne van Kesteren writes:
> That's about agents, not documents.

What happens here is that is out of date and doesn't  
misinterpret US-ASCII for compatibility, the US-ASCII decoder finds a  
bad byte.

However, what makes the document non-conforming (but what isn't the  
reason why says it's non-conforming) is the sentence "The  
character encoding name given must be the name of the character  
encoding used to serialize the file." under

The byte 0x80 is not valid in US-ASCII. Thus, US-ASCII isn't the name  
of the encoding used.

Note that for encodings that aren't "misinterpreted for compatibility"  
the reasoning would be that the normative requirements of the encoding  
become part of the conformance criteria by reference. Since is out of date and treats US-ASCII like any non-special  
encoding, this is the reason why it complains.

Henri Sivonen

Received on Wednesday, 23 September 2009 18:04:34 UTC