A source that is obtained from a different source by removing all empty text nodes and normalizing the non-empty ones.
"normalized" in this context means all XML whitespace characters are replaced by space characters and consecutive XML whitespace characters are collapsed.
This class is similiar to Org.XmlUnit.Input.XmlWhitespaceStrippedSource but in addition "normalizes" XML whitespace.
Unlike Org.XmlUnit.Input.WhitespaceNormalizedSource this uses XML's idea of whitespace rather than the more extensive set considered whitespace by Unicode.
since XMLUnit 2.10.0
See Also: Inherited members from DOMSource.
|
Creates a new Source with the same content as another source normalizing XML whitespace in Text nodes. |
[read-only] | Node | System.Xml.XmlNode . The node this source is wrapping (Inherited from DOMSource.) |
[read-only] | Reader | System.Xml.XmlReader . Documentation for this section has not yet been entered. (Inherited from AbstractSource.) |
|
SystemId | string . Documentation for this section has not yet been entered. (Inherited from AbstractSource.) |
|
Dispose
()Documentation for this section has not yet been entered. (Inherited from AbstractSource.) |
|
override
|
ToString
()Documentation for this section has not yet been entered. (Inherited from AbstractSource.) |
|
Dispose
(bool)Documentation for this section has not yet been entered. (Inherited from AbstractSource.) |
static
|
Singleton<T>
(this T)An enumerable containing a single element. |
Creates a new Source with the same content as another source normalizing XML whitespace in Text nodes.Syntax
public XmlWhitespaceNormalizedSource (Org.XmlUnit.ISource originalSource)Parameters
- originalSource
- source with the original content
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Input
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.241