Subject: [Boost-bugs] [Boost C++ Libraries] #13402: Log format JUNIT generates invalid XML files with incorrect encoding
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-01-17 07:46:06
#13402: Log format JUNIT generates invalid XML files with incorrect encoding
------------------------------+-------------------------------
Reporter: gallien@⦠| Owner: Gennadiy Rozental
Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
Version: Boost 1.66.0 | Severity: Problem
Keywords: |
------------------------------+-------------------------------
The encoding of the written JUNIT XML file is CP1252 compiled on Windows
with Visual Studio 2013, but the encoding in XML is 'encoding="UTF-8"'.
The output should be always converted to 'UTF-8' or the XML encoding in
JUNIT file should be replaced by the encoding of the stream.
Example output file:
{{{
<?xml version="1.0" **encoding="UTF-8"**?>
<testsuite tests="0" skipped="0" errors="1" failures="2" id="0"
name="Master_Test_Suite" time="44.222">
<properties>
<property name="platform" value="Win32"
<property name="compiler" value="Microsoft Visual C++ version 12.0"
<property name="stl" value="Dinkumware standard library version 610"
<property name="boost" value="1.66.0"
</properties>
}}}
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13402> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2018-01-17 07:50:34 UTC