Boost C++ Libraries: Ticket #5052: ptree's front() returns wrong data when using xml_parser::no_comments flag https://svn.boost.org/trac10/ticket/5052 <p> Launch attached code. </p> <p> Expected: Node value retrieved and printed. </p> <p> Actual: terminate called after throwing an instance of 'boost::exception_detail::clone_impl&lt;boost::exception_detail::error_info_injector&lt;boost::property_tree::ptree_bad_path&gt; &gt;' </p> <blockquote> <p> what(): No such node (name) </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5052 Trac 1.4.3 Robert Ayrapetyan <brokensword@…> Fri, 07 Jan 2011 18:46:13 GMT attachment set https://svn.boost.org/trac10/ticket/5052 https://svn.boost.org/trac10/ticket/5052 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">xml_parser_bug.cpp</span> </li> </ul> <p> source code </p> Ticket Robert Ayrapetyan <brokensword@…> Fri, 07 Jan 2011 18:46:54 GMT attachment set https://svn.boost.org/trac10/ticket/5052 https://svn.boost.org/trac10/ticket/5052 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">test.xml</span> </li> </ul> <p> dummy xml file to reproduce bug </p> Ticket Robert Ayrapetyan <brokensword@…> Fri, 07 Jan 2011 19:42:19 GMT <link>https://svn.boost.org/trac10/ticket/5052#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5052#comment:1</guid> <description> <p> Misuse of logical\bitwise operator when composing resulting flag, pls close the ticket. </p> </description> <category>Ticket</category> </item> <item> <author>Robert Ayrapetyan <brokensword@…></author> <pubDate>Fri, 07 Jan 2011 19:42:47 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5052#comment:2 https://svn.boost.org/trac10/ticket/5052#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> Ticket