From c2deef37a31b19e37b4ce7bd9b877148d39d4f90 Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Mon, 24 Apr 2023 13:42:59 -0700 Subject: [PATCH] Allow `PrettyPrintWriter` to replace invalid XML characters when not running in quirks mode. Closes #335. --- xstream-distribution/src/content/changes.html | 1 + .../xstream/io/xml/PrettyPrintWriter.java | 62 ++++++++--- .../xstream/io/xml/PrettyPrintWriterTest.java | 103 +++++++++++++++++- 3 files changed, 148 insertions(+), 18 deletions(-) diff --git a/xstream-distribution/src/content/changes.html b/xstream-distribution/src/content/changes.html index a8c4d62ec..7df8a69ff 100644 --- a/xstream-distribution/src/content/changes.html +++ b/xstream-distribution/src/content/changes.html @@ -111,6 +111,7 @@

Upcoming 1.4.x maintenance release

Minor changes