W3C home > Mailing lists > Public > xml-editor@w3.org > July to September 2009

[Geoffrey Sneddon] Re: What makes illegal characters non-conformant

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Wed, 23 Sep 2009 19:54:29 +0100
To: xml-editor@w3.org
Message-ID: <f5btyyth4pm.fsf@hildegard.inf.ed.ac.uk>

attached mail follows:

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

       Henry S. Thompson, School of Informatics, University of Edinburgh
                         Half-time member of W3C Team
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Wednesday, 23 September 2009 18:55:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:47 UTC