xerces-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elliotte Rusty Harold <elh...@metalab.unc.edu>
Subject Re: Turn off entity translation for &amp; and &lt;
Date Fri, 13 Sep 2002 13:58:39 GMT
At 1:37 PM +0200 9/13/02, Diez B. Roggisch wrote:


>However, the &amp; and &lt; entities are resolved into their 
>characters, & and <. Currently, I parse every char array passed by 
>the characters-event and re-insert the entity. This slows down the 
>whole process a great deal.
>
>Is there a possiblity to turn this behaviour off?
>

No, and that's a good thing. Stop reinserting the entity references. 
You don't need to do this, and it's almost certainly introduced bugs 
into your transformation.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@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/    |
+----------------------------------+---------------------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Mime
View raw message