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

View: New views
1 Messages — Rating Filter:   Alert me  

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

by Henry S. Thompson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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/>






--
       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@...
                       URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]