Right now they use Nodes.toNode without a factory argument which is not good enough for all cases (see #91 (comment) for example).
Add a withDocumentBuilderFactory like CompareMatcher has and use the factory set when invoking toNode - if one is set, that is.
Right now they use
Nodes.toNodewithout a factory argument which is not good enough for all cases (see #91 (comment) for example).Add a
withDocumentBuilderFactorylikeCompareMatcherhas and use the factory set when invokingtoNode- if one is set, that is.