Created attachment 22393 [details] patch replacing == with .equals
See bug 40897. An extensible mechanism was added in 1.4.2 to allow you to override the current implementation. See the org.apache.xml.security.utils.ElementChecker interface. *** This bug has been marked as a duplicate of bug 40897 ***
Thanks... I should have remembered. Then again the "extensibility mechanism" seems to require a recompile! The following line in ElementProxy static ElementChecker checker = new ElementCheckerImpl.InternedNsChecker(); is executed unconditionally. This is probably for a separate thread...
(In reply to comment #2) > Thanks... I should have remembered. Then again the "extensibility mechanism" > seems to require a recompile! The following line in ElementProxy > > static ElementChecker checker = new ElementCheckerImpl.InternedNsChecker(); > > is executed unconditionally. This is probably for a separate thread... > Right, we need to add a new method or system property to allow you to set your own ElementChecker. Can you open another issue?