id summary reporter owner description type status milestone component version severity resolution keywords cc 11983 Boost Test XML Report contains unescaped XML characters m8mble Raffi Enficiaud "I've encountered problems with the boost test reports in XML format. They contain unescaped characters (""<"" and "">"") in the TestCase name attribute for template tests. Here is a minimal example: {{{ #define BOOST_TEST_MODULE huhu #include #include #include typedef boost::mpl::list types; BOOST_AUTO_TEST_CASE_TEMPLATE( test, Type, types ) {} }}} When running with `--report_format=XML --report_level=detailed`, this will include the following in the XML report: {{{ "" result=""passed""... }}} The ""<"" and "">"" characters inside the name attribute must be escaped according to the XML specifications. I verified, that boost versions 1.53, 1.54 and 1.59 correctly escaped those characters. Interestingly , the unescaped characters appear in the XML report only. The XML logger is not affected for all boost versions including 1.60. When running with `--log_format=XML --log_level=all` any boost test version correctly prints {{{