RE: Entity references in Attr values

At 11:13 PM -0500 12/17/01, Allen, Michael B (RSCH) wrote:
>>  > What should a DOM implementation do when faced with something like this
>>  > when the replacement text for the geenral entity is not available  ... ?
>>
>	I don't understand this. How could an entity reference get 
>into an attribute value
>	in the first place?
>

Easy:

<Name value = "&AElig;lfred" />
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|              http://www.ibiblio.org/xml/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |
+----------------------------------+---------------------------------+

Received on Tuesday, 18 December 2001 05:29:32 UTC