[jdom-interest] Merging text nodes
Elliotte Rusty Harold
elharo at metalab.unc.edu
Sat Feb 16 22:30:50 PST 2002
At 11:30 PM -0600 2/16/02, Bradley S. Huffman wrote:
>Speaking of EntityRef, should Element.setText parse the String for entities?
>
Absolutely not. "Cats & Dogs" is legal content for a text node.
It consists of 15 characters including the ampersand followed by the
three letters a, m, p. and the semicolon.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at 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/ |
+----------------------------------+---------------------------------+
More information about the jdom-interest
mailing list