You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Neil Bacon <nb...@pinnaclesoftware.com.au> on 2004/10/18 09:14:40 UTC
Unclosed '}' thrown by i18n transformer
The i18n transformer does this occasionally:
throw new SAXException("Unclosed '}'");
A FIXME comment on the characters() method in:
src/java/org/apache/cocoon/xml/ParamSaxBuffer.java 1.6
indicates that the code doesn't handle the situation where the parser
provides the opening '{' for an i18n parameter placeholder in one call
to characters() and the closing '}' in a subsequent call.
This doesn't seem to have itched anyone else, but we have some big
translation files and its itching us, so here is a patch to fix it: