Skip to content

Commit dac61cc

Browse files
committed
Implement workaround for escaping whitespace chars in attribute values
While XML attribute values may contain whitespace such as line breaks, the XML spec [1] dictates that XML processors must replace them with spaces which causes downstream tools to misrepresent the original value. [1] w3.org/TR/xml#AVNormalize Resolves #4174. (cherry picked from commit 432d556)
1 parent 13a88b4 commit dac61cc

File tree

2 files changed

+341
-190
lines changed

2 files changed

+341
-190
lines changed

documentation/src/docs/asciidoc/release-notes/release-notes-5.11.4.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ JUnit repository on GitHub.
1616
[[release-notes-5.11.4-junit-platform-bug-fixes]]
1717
==== Bug Fixes
1818

19-
* ❓
19+
* Escape whitespace characters (such as line breaks) in XML attribute values (such as
20+
exception messages) in the legacy XML report generated by the Console Launcher. This
21+
change ensures the resulting XML files can be processed by downstream tools while
22+
preserving whitespace characters.
2023

2124
[[release-notes-5.11.4-junit-platform-deprecations-and-breaking-changes]]
2225
==== Deprecations and Breaking Changes

0 commit comments

Comments
 (0)