In org.apache.xml.security.utils.IdResolver.getElementById(Document doc, String id), I'm wondering why it's necessary to do a exhaustive search by calling:
result = IdResolver.getElementBySearching(doc, id); Do you see any harm if I comment out this line? Because I notice that the Element is always found by the first call: Element result = IdResolver.getElementByIdType(doc, id); Thanks, Yang
