https://issues.apache.org/bugzilla/show_bug.cgi?id=45637

           Summary: Add configuration option for == vs .equals() comparisons
           Product: Security
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Signature
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: [EMAIL PROTECTED]


ElementProxy initializes unconditionally the following
> 
>    static ElementChecker checker = new ElementCheckerImpl.InternedNsChecker();
> 
instead it should check a configuration option and initialize the appropriate
subclass of ElementCheckerImpl.

The default option should be .equals() though (change!).  Users preferring ==
should be able to configure it that way.

Correctness should trump optimization and even backward compatibility.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to