Command Line: java -jar mxquery.jar -s indent=true -i "<Hello></Hello>"
Expected Output: <Hello/>
Real Output: nothing
Fix:
Override OutputStream::flush() in XPPOutputStream.java to be the following:
public void flush() throws IOException {
if (buf1 > 0) {
fStream.write(buf1);
}
buf1 = -1;
fStream.flush();
}
Fixed in trunk, will be part of next release