aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/org/apache/fop/tools/TestConverter.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/org/apache/fop/tools/TestConverter.java b/src/org/apache/fop/tools/TestConverter.java
index 73396aa22..fcc402ed7 100644
--- a/src/org/apache/fop/tools/TestConverter.java
+++ b/src/org/apache/fop/tools/TestConverter.java
@@ -110,13 +110,9 @@ public class TestConverter {
if (suitelist.getLength() == 0) {
return differ;
}
+
Node testsuite = null;
- for (int count = 0; count < suitelist.getLength(); count++) {
- Node node = suitelist.item(count);
- if (node.getNodeName().equals("testsuite")) {
- testsuite = node;
- }
- }
+ testsuite = doc.getDocumentElement();
if (testsuite.hasAttributes()) {
String profile = testsuite.getAttributes().getNamedItem(