- From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
- Date: Mon, 17 Dec 2001 12:51:33 -0500
- To: www-dom@w3.org
An attribute in an XML document may contain general entity references to entities defined in the DTD; e.g.: <myElement att="Here's some text &link; with an entity ref"> data </myElement> What should a DOM implementation do when faced with something like this when the replacement text for the geenral entity is not available because it's defined in the external DTD subset which the parser did not read? In particular what should getValue() return for the corresponding Attr node? I find nothing in the spec that addresses this possibility. -- +-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer | +-----------------------+------------------------+-------------------+ | Java I/O (O'Reilly & Associates, 1999) | | http://www.ibiblio.org/javafaq/books/javaio/ | | http://www.amazon.com/exec/obidos/ISBN=1565924851/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 Monday, 17 December 2001 12:51:02 UTC