ddn.data.xml.internal.compare
Internal: DOM normalization and comparison helpers for tests.
This module is not part of the public API and may change at any time.
Functions 2
fn
string normalizeForCompare(XmlNode node, bool includeComments = false) @safeProduces a deterministic normalization of a DOM subtree.fn
bool equivalent(XmlNode a, XmlNode b, bool includeComments = false) @safeCompares two DOM subtrees for structural equivalence using canonical normalization.