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 47666] New: XMLJUnitResultFormatter can output illegal XML characters
Date Sun, 09 Aug 2009 23:47:56 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47666

           Summary: XMLJUnitResultFormatter can output illegal XML
                    characters
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: trejkaz@trypticon.org


--- Comment #0 from Trejkaz <trejkaz@trypticon.org> 2009-08-09 16:47:55 PDT ---
If the test being run outputs an invalid XML character (e.g. \u0000), this gets
formatted into the XML reports verbatim, which is illegal XML.

Any character which is not legal in XML should be replaced somehow.

Note that Ant is currently replacing \u0000 with &#x0; -- but unfortunately
this is not OK in XML either (and I wish they would permit it as it has caused
issues in our own app in the past too!)

-- 
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