Boost C++ Libraries: Ticket #5412: XML formatter in test library processes strings with subsequences ']]>' incorrectly https://svn.boost.org/trac10/ticket/5412 <p> I test my xml paser and use boost's test library for this. Also i want to have output during testing in xml format. This is my test code:<br /> </p> <p> BOOST_CHECK_EQUAL(parseCData("Some comment]]&gt;"), "Some comment");<br /> </p> <p> xml_log_formatter in boost's test library makes next output:<br /> </p> <p> &lt;Error file="file.cpp" line="123"&gt;&lt;![CDATA[parseCData("Some comment]]&gt;") == "Some comment" failed [...] ]]&gt;&lt;/Error&gt;<br /> </p> <p> But it must be <br /> </p> <p> &lt;Error file="file.cpp" line="123"&gt;&lt;![CDATA[parseCData("Some comment]]&gt;&lt;![CDATA[&gt;") == "Some comment" failed [...] ]]&gt;&lt;/Error&gt;<br /> </p> <p> I.e. library doesn't escape subsequences ']]&gt;'. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5412 Trac 1.4.3 Gennadiy Rozental Mon, 17 Oct 2011 05:26:10 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5412#comment:1 https://svn.boost.org/trac10/ticket/5412#comment:1 <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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/75003" title="escape CDATA section end within CDATA section Fixes #5412">[75003]</a>) escape CDATA section end within CDATA section Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5412" title="#5412: Bugs: XML formatter in test library processes strings with subsequences ... (closed: fixed)">#5412</a> </p> Ticket Raffi Enficiaud Tue, 07 Jul 2015 08:21:09 GMT milestone changed https://svn.boost.org/trac10/ticket/5412#comment:2 https://svn.boost.org/trac10/ticket/5412#comment:2 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.59.0</span> </li> </ul> Ticket