ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49404] XMLJUnitResultFormatter does not encode entity/character references
Date Wed, 16 Jun 2010 00:50:48 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49404

--- Comment #9 from Mark Lassau <mlassau@atlassian.com> 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.
See http://en.wikipedia.org/wiki/CDATA 
"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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message