MCPcopy Create free account
hub / github.com/amouat/diffxml / compareElements

Method compareElements

src/java/org/diffxml/diffxml/fmes/Match.java:165–228  ·  view source on GitHub ↗

Compares two elements to determine whether they should be matched. xmlns attributes are ignored. TODO: This method is critical in getting good results. Will need to be tweaked. In addition, it may be an idea to allow certain doc types to override it. Consider comparing position, matching of kids e

(final Node a, final Node b)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

compareNodesMethod · 0.95
createMethod · 0.95

Calls 4

getLocalNameMethod · 0.95
isNamespaceAttrMethod · 0.95
equalsMethod · 0.80

Tested by

no test coverage detected