<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/mxquery/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/mxquery/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 12 Mar 2010 18:45:57 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/mxquery/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>enabling indent in the serializer eats the final tag</title><link>https://sourceforge.net/p/mxquery/patches/1/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matthew L Daniel</dc:creator><pubDate>Fri, 12 Mar 2010 18:45:57 -0000</pubDate><guid>https://sourceforge.net3309cea1eb020f00e07122dbb0ffbf66fd5ab3b2</guid></item></channel></rss>