ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49404] XMLJUnitResultFormatter does not encode entity/character references
Date Wed, 16 Jun 2010 00:50:48 GMT

--- Comment #9 from Mark Lassau <> 2010-06-15 20:50:45 EDT ---
Thanks Stefan.

PS: While looking at the code I also noticed an encoding bug in the
encodedata() method.
It incorrectly tries to escape the "end of CDATA" marker "]]>" as
"&#x5d;&#x5d;&gt;" this should be escaped as "]]]]><![CDATA[>" or similar.
"The preferred approach to using CDATA sections for encoding text that contains
the triad "]]>" is to use multiple CDATA sections by splitting each occurrence
of the triad just before the ">"."

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message