Update the output of the reference implementation to the new format. refactor/remake
authorKim Nguyễn <kn@lri.fr>
Wed, 24 Jul 2013 21:52:16 +0000 (23:52 +0200)
committerKim Nguyễn <kn@lri.fr>
Wed, 24 Jul 2013 21:52:16 +0000 (23:52 +0200)
tools/XPathEval.java

index d7dc54b..8ce8db1 100644 (file)
@@ -22,7 +22,7 @@ public class XPathEval {
       serializer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
       StreamResult o = new StreamResult(System.out);
       startTime = System.nanoTime();
-      System.out.println("<xml_result>");
+      System.out.println("<xml_result num=\"1\">");
       for(int i = 0; i < nodes.getLength(); i++){
         Node n = nodes.item(i);
         switch (n.getNodeType()) {