Boost C++ Libraries: Ticket #9521: Exception when passing buffer to read_xml() https://svn.boost.org/trac10/ticket/9521 <p> Hi, I have taken reference from <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/3831"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/3831</a> </p> <p> I have made changes for read_xml(), now I am getting below exception "ex.what():: &lt;unspecified file&gt;(1): expected &lt;" </p> <p> code: </p> <p> string fileDataStr ((const char*)xmlFileBuffer); boost::property_tree::ptree pt; std::stringstream ss; ss&lt;&lt;fileDataStr; boost::property_tree::read_xml( ss, tree ); </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9521 Trac 1.4.3 anonymous Tue, 24 Dec 2013 05:54:48 GMT <link>https://svn.boost.org/trac10/ticket/9521#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9521#comment:1</guid> <description> <p> Solved. Issue in passing the buffer. </p> </description> <category>Ticket</category> </item> </channel> </rss>