W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2001

RE: Entity references in Attr values

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Tue, 18 Dec 2001 04:55:51 -0500
Message-Id: <p04330102b844c2e88843@[192.168.254.4]>
To: "Allen, Michael B (RSCH)" <Michael_B_Allen@ml.com>, www-dom@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:55 GMT