diff options
| author | Robert A Zeh | 2016-08-24 09:38:24 -0500 |
|---|---|---|
| committer | Robert A Zeh | 2016-08-24 09:38:24 -0500 |
| commit | 5095619955f9f408e503dfcf561923ac6e48e3ce (patch) | |
| tree | 10320169b2216292009842ece03bcbbda2749386 /projects/SelfTest/ToStringTuple.cpp | |
| parent | 35f510545d55a831372d3113747bf1314ff4f2ef (diff) | |
| download | catch3-5095619955f9f408e503dfcf561923ac6e48e3ce.tar.gz | |
Fixes for XML encoding.
This commit fixes the following scenario:
* You have a test that compares strings with embedded control
characters.
* The test fails.
* You are using JUnit tests within TeamCity.
Before this commit, the JUnit report watcher fails on parsing the XML
for two reasons: the control characters are missing a semicolon at the
end, and the XML document doesn't specify that it is XML 1.1.
XML 1.0 --- what we get if we don't specify an XML version --- doesn't support embedding control characters --- see
http://stackoverflow.com/questions/404107/why-are-control-characters-illegal-in-xml
for all of the gory details.
This is based on PR #588 by @mrpi
Diffstat (limited to 'projects/SelfTest/ToStringTuple.cpp')
0 files changed, 0 insertions, 0 deletions