Boost C++ Libraries: Ticket #6180: attributes string ascii escape "&#nn;" shouldn't throw exception https://svn.boost.org/trac10/ticket/6180 <p> In boost/property_tree/detail/rapidxml.hpp </p> <p> At member function template </p> <pre class="wiki">template&lt;class StopPred, class StopPredPure, int Flags&gt; static Ch *skip_and_expand_character_refs(Ch *&amp;text) </pre><p> It supports escape "&amp;amp;", "&amp;quot;", "&amp;gt;", "&amp;lt;" and "&amp;#nn;". (nn is number, xnn is also supported. When the member function template find the charactor '&amp;' it starts parsing. And if it couldn't find the correct match, escape string is ignore and just copy '&amp;' verbatim. But in the case of "&amp;#nn", the error below would occur. And this error throw the parse_error exception. </p> <pre class="wiki">BOOST_PROPERTY_TREE_RAPIDXML_PARSE_ERROR("expected ;", src); </pre><p> I expect just ignore instead of the error. This behavior is same as other escape string's manner. </p> <p> I attached patch. Could you check it? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6180 Trac 1.4.3 kondo@… Mon, 28 Nov 2011 12:49:47 GMT attachment set https://svn.boost.org/trac10/ticket/6180 https://svn.boost.org/trac10/ticket/6180 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">rapidxml.hpp.patch</span> </li> </ul> Ticket