Currently NodeFilter is not applied to XmlDocumentType so you cannot suppress the comparisons. There may be even more XmlNodes missing, a cursory look through DOMDifferenceEngine says it probably is the only one but a second pair of eyes won't hurt. I don't think there is any good reason to apply it to XmlDocument itself as this would simply skip all comparisons altogether.
See also xmlunit/xmlunit#116 which may provide a solution that "just" need to get ported.
Currently
NodeFilteris not applied toXmlDocumentTypeso you cannot suppress the comparisons. There may be even moreXmlNodes missing, a cursory look throughDOMDifferenceEnginesays it probably is the only one but a second pair of eyes won't hurt. I don't think there is any good reason to apply it toXmlDocumentitself as this would simply skip all comparisons altogether.See also xmlunit/xmlunit#116 which may provide a solution that "just" need to get ported.