cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <>
Subject [BUG] JXTG/JXTT eats backslashes
Date Wed, 11 Aug 2004 08:03:12 GMT
I just found another "nice feature" of the JXTG/JXTT. It eats
backslashed out of your text! For example, if you read this XML
by the JXTG:


The resulting XML is:


This feature is very nice if you use forms with fields that can
contain backslashed and you're running the JXTG after the
forms transformer!

Anyways, the TextEvent subclass has a special handling for backslashes:
if (c == '\\') {
    ch =;
    if (ch == -1) {
    } else {

I don't see any real sense in this (note that backslashes at the end
are not removed).

If noone objects, I will remove this special handling.


Carsten Ziegeler 
Open Source Group, S&N AG

View raw message