Rewrite XML serialization avoiding string concats
[cql-java-moved-to-github.git] / src / main / java / org / z3950 / zing / cql / CQLParser.java
index 7ed9f59..be365de 100644 (file)
@@ -443,7 +443,7 @@ public class CQLParser {
                f.close();
                System.out.println(root.toPQF(config));
            } else {
-               System.out.print(root.toXCQL(0));
+               System.out.print(root.toXCQL());
            }
        } catch (IOException ex) {
            System.err.println("Can't render query: " + ex.getMessage());