Hi all :
this is the exception in background , any idea about it ? when i check
WebTestReport.xml , i find the WebTestReport.xml 's formate is not
well-formed , why ? about  my test xml file ?

 INFO (com.canoo.webtest.reporting.XmlReporter) - Writing report to
E:\mashup\results\00
ERROR (com.canoo.webtest.ant.WebtestTask) - Exception caught while writing
test report
java.io.IOException: The character ' is an invalid XML character
        at org.apache.xml.serialize.BaseMarkupSerializer.fatalError(Unknown
Source)
        at org.apache.xml.serialize.BaseMarkupSerializer.surrogates(Unknown
Source)
        at org.apache.xml.serialize.XMLSerializer.printEscaped(Unknown
Source)
        at org.apache.xml.serialize.XMLSerializer.printAttribute(Unknown
Source)
        at org.apache.xml.serialize.XMLSerializer.serializeElement(Unknown
Source)
        at
org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source)
        at org.apache.xml.serialize.XMLSerializer.serializeElement(Unknown
Source)
        at
org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source)
        at org.apache.xml.serialize.XMLSerializer.serializeElement(Unknown
Source)
        at
org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source)
        at org.apache.xml.serialize.XMLSerializer.serializeElement(Unknown
Source)
        at
org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source)
        at org.apache.xml.serialize.XMLSerializer.serializeElement(Unknown
Source)
        at
org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source)
        at org.apache.xml.serialize.XMLSerializer.serializeElement(Unknown
Source)
        at
org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source)
        at org.apache.xml.serialize.XMLSerializer.serializeElement(Unknown
Source)
        at
org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source)
        at org.apache.xml.serialize.XMLSerializer.serializeElement(Unknown
Source)
        at
org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source)
        at org.apache.xml.serialize.XMLSerializer.serializeElement(Unknown
Source)
        at
org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source)
        at org.apache.xml.serialize.BaseMarkupSerializer.serialize(Unknown
Source)
        at
com.canoo.webtest.reporting.XmlReporter.writeXmlFile(XmlReporter.java:71)
        at
com.canoo.webtest.reporting.XmlReporter.writeXmlFile(XmlReporter.java:51)
        at
com.canoo.webtest.reporting.XmlReporter.generateReport(XmlReporter.java:79)
        at com.canoo.webtest.ant.WebtestTask.report(WebtestTask.java:348)
        at
com.canoo.webtest.ant.WebtestTask.callSelectedReporter(WebtestTask.java:340)
        at
com.canoo.webtest.ant.WebtestTask.writeTestReportIfNeeded(WebtestTask.java:33
        at com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.java:224)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExe
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExe
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.ja
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.Main.runBuild(Main.java:698)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Reply via email to