cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Johnston (JIRA)" <>
Subject [jira] Closed: (COCOON-1315) I18nTransformer: translation with param substitution
Date Mon, 23 Apr 2007 18:26:15 GMT


Jason Johnston closed COCOON-1315.

       Resolution: Fixed
    Fix Version/s: 2.2-dev (Current SVN)
                   2.1.11-dev (Current SVN)

Followup fix applied to trunk and 2.1.x branch. I've verified this resolves the issue with
garbage characters as I was seeing it in one of my projects. Thanks Gunnar for the fix!

> I18nTransformer: translation with param substitution
> ----------------------------------------------------
>                 Key: COCOON-1315
>                 URL:
>             Project: Cocoon
>          Issue Type: Bug
>          Components: - Components: Sitemap
>    Affects Versions: 2.2-dev (Current SVN)
>         Environment: Operating System: All
> Platform: All
>            Reporter: Neil Bacon
>         Assigned To: Cocoon Developers Team
>             Fix For: 2.1.11-dev (Current SVN), 2.2-dev (Current SVN)
>         Attachments:
> The i18n transformer does this occasionally:
>     throw new SAXException("Unclosed '}'");
> A FIXME comment on the characters() method in:
>     src/java/org/apache/cocoon/xml/ 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 I'll attach a patch in an attachment.
> (a tidier fix would be to always just buffer the text from characters() and
> process it later in endElement())

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message