You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2006/07/14 18:36:30 UTC
DO NOT REPLY [Bug 31887] - I18nTransformer: translation with param substitution
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31887>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31887
g.brand@interface-business.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
------- Additional Comments From g.brand@interface-business.de 2006-07-14 16:36 -------
The patch fixed most problems, but it forgets the flushing of trailing
characters. The result is that the unparsed '{...' characters appear as garbage
in the output. To fix that you need to change the following block in the
characters method:
> // '{' without a closing '}'
> // save char's from '{' in previous_ch in case the following call to
characters()
> // provides the '}'
> previous_ch = new char[end - i];
> System.arraycopy(ch, i, previous_ch, 0, end - i);
> break;
must either not "break" but "return", or this should be added before the break:
> start = end;
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.