<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Discussion</title><link href="https://sourceforge.net/p/rapidxml/discussion/" rel="alternate"/><link href="https://sourceforge.net/p/rapidxml/discussion/feed.atom" rel="self"/><id>https://sourceforge.net/p/rapidxml/discussion/</id><updated>2019-05-13T18:20:06.336000Z</updated><subtitle>Recent posts to Discussion</subtitle><entry><title>Parsing Question</title><link href="https://sourceforge.net/p/rapidxml/discussion/666613/thread/344cddfe02/?limit=25#7e23" rel="alternate"/><published>2019-05-13T18:20:06.336000Z</published><updated>2019-05-13T18:20:06.336000Z</updated><author><name>Mauricio RAmirez</name><uri>https://sourceforge.net/u/tankmr/</uri></author><id>https://sourceforge.net5707dda80b33d9698600e8a050775371f550afee</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm trying to parse through an XML document.  When I put the document into an online validator it says it's valid XML.  As I work my way through the nodes, I eventually get to my "detail" element and the first_node() method fails.  I the the following message:&lt;/p&gt;
&lt;p&gt;Parse error was: unexpected end of data&lt;/p&gt;
&lt;p&gt;I'm attaching the response xml in the hopes someone can help.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>rapidxml_print fails to compile in latest MSVC build (15.8.0)</title><link href="https://sourceforge.net/p/rapidxml/discussion/666612/thread/fbd2d9b2/?limit=25#686e" rel="alternate"/><published>2018-08-15T18:05:17.943000Z</published><updated>2018-08-15T18:05:17.943000Z</updated><author><name>Rex Jolliff</name><uri>https://sourceforge.net/u/rjjolliff/</uri></author><id>https://sourceforge.net7daf60cbfd5f905a218067b600eeb7514d388a58</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Looks like Microsoft has changed its implementation of two phase lookup, and the forward references in the print_node function are now flagged as errors.  If you have this problem, you can change the Conformance flag from /permissive- to /permissive (in the UI, under properties -&amp;gt; c/c++ -&amp;gt; language -&amp;gt; Conformance mode = No).&lt;/p&gt;
&lt;p&gt;Setting the /permissive flag will probably cause other template issues.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Bug in rapidxml_print.hpp (Version 1.13, Line 403)</title><link href="https://sourceforge.net/p/rapidxml/discussion/666612/thread/bfaf8ba0/?limit=25#e22a" rel="alternate"/><published>2017-11-16T11:05:18.440000Z</published><updated>2017-11-16T11:05:18.440000Z</updated><author><name>Florian Reiser</name><uri>https://sourceforge.net/u/florianreiser/</uri></author><id>https://sourceforge.nete30e3bb6eb49d96581e021615469af6ee4107ab0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I've found a bug in RapidXml-1.13, file rapidxml_print.hpp:403.&lt;br/&gt;
The line&lt;br/&gt;
&lt;code&gt;print(std::ostream_iterator&amp;lt;Ch&amp;gt;(out), node, flags);&lt;/code&gt;&lt;br/&gt;
causes compiler errors, if you compile it with Unicode support on VS2015. If you change it to&lt;br/&gt;
&lt;code&gt;print(std::ostream_iterator&amp;lt;Ch, Ch&amp;gt;(out), node, flags);&lt;/code&gt;&lt;br/&gt;
anything is fine.&lt;/p&gt;
&lt;p&gt;Patch:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="gd"&gt;--- rapidxml_print.hpp  2017-11-16 11:48:45.568522300 +0100&lt;/span&gt;
&lt;span class="gi"&gt;+++ rapidxml_print_patch.hpp    2017-11-16 11:39:44.170322300 +0100&lt;/span&gt;
&lt;span class="gu"&gt;@@ -400,7 +400,7 @@&lt;/span&gt;
     template&amp;lt;class Ch&amp;gt; 
     inline std::basic_ostream&amp;lt;Ch&amp;gt; &amp;amp;print(std::basic_ostream&amp;lt;Ch&amp;gt; &amp;amp;out, const xml_node&amp;lt;Ch&amp;gt; &amp;amp;node, int flags = 0)
     {
&lt;span class="gd"&gt;-        print(std::ostream_iterator&amp;lt;Ch&amp;gt;(out), node, flags);&lt;/span&gt;
&lt;span class="gi"&gt;+        print(std::ostream_iterator&amp;lt;Ch, Ch&amp;gt;(out), node, flags);&lt;/span&gt;
         return out;
     }
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry></feed>