File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33## XMLUnit.NET 2.9.3 - /not released, yet/
44
5+ * ` Nodes.StripElementContentWhitespace ` had the same problem of not
6+ knowning about ` XmlWhitespace ` that caused
7+ Issue [ #38 ] ( https://github.com/xmlunit/xmlunit.net/issues/38 )
8+
59## XMLUnit.NET 2.9.2 - /Released 2023-03-16/
610
711* added ` NodeFilters#SatisfiesAll ` and ` SatifiesAny ` methods to make
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ private static void StripECW(XmlNode n) {
184184 foreach ( XmlNode child in n . ChildNodes ) {
185185 StripECW ( child ) ;
186186 if ( ! ( n is XmlAttribute )
187- && ( child is XmlText || child is XmlCDataSection )
187+ && ( child is XmlText || child is XmlCDataSection || child is XmlWhitespace )
188188 && child . Value . Trim ( ) . Length == 0 ) {
189189 toRemove . AddLast ( child ) ;
190190 }
You can’t perform that action at this time.
0 commit comments