W3C home > Mailing lists > Public > public-html-comments@w3.org > September 2009

Re: What makes illegal characters non-conformant

From: Geoffrey Sneddon <foolistbar@googlemail.com>
Date: Wed, 23 Sep 2009 19:23:59 +0100
Cc: public-html-comments@w3.org
Message-Id: <2FACB083-BEC4-42C4-A127-7FB1A914DC62@googlemail.com>
To: Henry S. Thompson <ht@inf.ed.ac.uk>

On 23 Sep 2009, at 15:12, Henry S. Thompson wrote:

> although http://www.ltg.ed.ac.uk/~ht/char_alias.xml
> is _not_ broken per the XML specification. . .

It should be, per:

> It is a fatal error if an XML entity is determined (via default,  
> encoding declaration, or higher-level protocol) to be in a certain  
> encoding but contains byte sequences that are not legal in that  
> encoding.

That said, though processors must throw a fatal error, I can't see  
anything saying the document isn't well-formed (bug?).


--
Geoffrey Sneddon
<http://gsnedders.com/>
Received on Wednesday, 23 September 2009 18:24:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:03:58 UTC