ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit XMLJUnitResultFormatter.java
Date Sun, 21 Apr 2002 17:29:31 GMT
ehatcher    02/04/21 10:29:31

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/junit
                        XMLJUnitResultFormatter.java
  Log:
  Patch applied from Ville Skyttä, PR#8245.
  
  Revision  Changes    Path
  1.23      +1 -2      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java
  
  Index: XMLJUnitResultFormatter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- XMLJUnitResultFormatter.java	15 Apr 2002 13:36:21 -0000	1.22
  +++ XMLJUnitResultFormatter.java	21 Apr 2002 17:29:31 -0000	1.23
  @@ -276,8 +276,7 @@
       private void formatOutput(String type, String output) {
           Element nested = doc.createElement(type);
           rootElement.appendChild(nested);
  -        Text content = doc.createTextNode(output);
  -        nested.appendChild(content);
  +        nested.appendChild(doc.createCDATASection(output));
       }
   
   } // XMLJUnitResultFormatter
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message