Re: [xml-dev] Re: Non-infoset

From
Elliotte Harold <>
To
Alessandro Triglia <>
Date
2005-04-11T18:52:30Z
ID
<>
Thread
Re: [xml-dev] Re: Non-infoset
Alessandro Triglia wrote:

> I see, you said "an attribute value".
> 
> But then, doesn't the following apply?
> 
> ----
> It is an error if an attribute value contains a reference to an entity for
> which no declaration has been read.
> 
> error  [Definition: A violation of the rules of this specification; results
> are undefined.]

1. That sentence was only added in the 3rd edition. It was not present 
in the 1st or 2nd editions of the XML spec.

2. Even in the 3rd edition of XML, this is not a well-formedness error. 
Processors are allowed to (and do) ignore this problem.

-- 
Elliotte Rusty Harold  
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim