[jdom-interest] Outputting escaped entities in element text

Elliotte Rusty Harold elharo at metalab.unc.edu
Thu Oct 3 12:24:32 PDT 2002


At 10:43 AM -0500 10/3/02, Bradley S. Huffman wrote:


>>  Please don't apply this. This is simply wrong.
>
>Hmmm, so char. references are no longer allowed in XML documents?

They're not allowed in Java strings.

>>  It is completely contrary to the JDOM model, and mixes syntax with
>>  semantics in a very  damaging way.
>
>Yes it's contrary to the model, that's why it should *NOT* be checked into
>the CVS. But it is a solution to a specific problem that can be used today.

It's the wrong solution.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list