cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <>
Subject How to determine the end of character data?
Date Mon, 04 Feb 2002 15:57:11 GMT
Hi, Cocooners!

According to SAX API the parser is free to split the character data to
chunks. This causes problems in i18n transformer, which handles character
data in the 'characters(char[] ch, int start, int length)' method.

Is there a way to determine the end of the character data? The only solution
seems to be to buffer all the character data then handle it on the first
startElement() event following the characters().

Will this be correct?

Best regards,
    Konstantin Piroumian

To unsubscribe, e-mail:
For additional commands, email:

View raw message