dbremner / testability-explorer

Automatically exported from code.google.com/p/testability-explorer
Apache License 2.0
0 stars 0 forks source link

Non JAXP-compliant XML serialization for XML reports #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Attempt to run TE with print="xml" in a non-Sun JVM

What is the expected output? What do you see instead?
An xml report should be generated, but a NoClassDef.. is thrown instead.

java.lang.NoClassDefFoundError:
com.sun.org.apache.xml.internal.serialize.XMLSerializer

What version of the product are you using? On what operating system?
Ant 1.7.7
IBM JDK 1.6
Linux

Please provide any additional information below.
I've take a look at the code and I know what the problem is. I will submit
a patch for it ASAP.

Original issue reported on code.google.com by gro...@gmail.com on 9 Feb 2010 at 12:30

GoogleCodeExporter commented 8 years ago
I've taken a look at the code and this appears to only affect 1.3.0. The import 
lines:
import com.sun.org.apache.xml.internal.serialize.OutputFormat;
import com.sun.org.apache.xml.internal.serialize.XMLSerializer;

Were fixed and refactored in 1.3.2.

Original comment by gro...@gmail.com on 9 Feb 2010 at 8:59