[Home] [By Thread] [By Date] [Recent Entries]


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  elharo@m...
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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member