}
if (differentTrees) { // still a chance for being equal
// if we are in the different tree
// we should use semantic equivalence instead
if (this.getQName().equalsIgnoreCase(tagNode.getQName())) {
AttributesMap localAttributesMap = new AttributesMap(
getAttributes());
AttributesMap externalAttributesMap = new AttributesMap(
tagNode.getAttributes());
result = localAttributesMap
.equals(externalAttributesMap);
}
}