[
Lists Home |
Date Index |
Thread Index
]
> -----Original Message-----
> From: Elliotte Harold [mailto:elharo@metalab.unc.edu]
> Sent: Monday, April 11, 2005 14:25
> To: Alessandro Triglia
> Cc: 'XML Developers List'
> Subject: Re: [xml-dev] Re: Non-infoset
>
>
> Alessandro Triglia wrote:
>
> > Don't "unexpanded entity references" address this?
>
> No, it doesn't. That only applies to unexpanded entities in
> the element
> content. The key sentence is "There is such an information
> item for each
> unexpanded reference to an external general entity *within
> the content
> of an element*." It does not apply to unexpanded entities in the
> attribute values. SAX has the same problem. Dom, interestingly, does
> not, because DOM allows attribute values to have children.
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.]
----
Alessandro
>
> --
> Elliotte Rusty Harold elharo@metalab.unc.edu
> 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
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager: <http://www.oasis-open.org/mlmanage/index.php>
|