DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19113>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19113

XMLJUnitResultFormatter fails to detect embedded CDATA sections

           Summary: XMLJUnitResultFormatter fails to detect embedded CDATA
                    sections
           Product: Ant
           Version: 1.5.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


The formatOutput(String type, String output) method of the class 
XMLJUnitResultFormatter embeds the output string in a CDATA section.  If the 
output string itself has a CDATA section, an invalid XML file is produced. 

One way to solve this is to remove all CDATA section end delimiters from the 
output string prior to writing.

Reply via email to