<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/mxquery/patches/" rel="alternate"/><link href="https://sourceforge.net/p/mxquery/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/mxquery/patches/</id><updated>2010-03-12T18:45:57Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>enabling indent in the serializer eats the final tag</title><link href="https://sourceforge.net/p/mxquery/patches/1/" rel="alternate"/><published>2010-03-12T18:45:57Z</published><updated>2010-03-12T18:45:57Z</updated><author><name>Matthew L Daniel</name><uri>https://sourceforge.net/u/mdaniel/</uri></author><id>https://sourceforge.net3309cea1eb020f00e07122dbb0ffbf66fd5ab3b2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Command Line: java -jar mxquery.jar -s indent=true -i "&amp;lt;Hello&amp;gt;&amp;lt;/Hello&amp;gt;"&lt;/p&gt;
&lt;p&gt;Expected Output: &amp;lt;Hello/&amp;gt;&lt;/p&gt;
&lt;p&gt;Real Output: nothing&lt;/p&gt;
&lt;p&gt;Fix:&lt;br /&gt;
Override OutputStream::flush() in XPPOutputStream.java to be the following:&lt;/p&gt;
&lt;p&gt;public void flush() throws IOException {&lt;br /&gt;
if (buf1 &amp;gt; 0) {&lt;br /&gt;
fStream.write(buf1);&lt;br /&gt;
}&lt;br /&gt;
buf1 = -1;&lt;br /&gt;
fStream.flush();&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>