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


coheigea <cohei...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #2 from coheigea <cohei...@apache.org>  2009-05-29 07:26:36 PST ---

Hi Edgar,

The reason "==" is used rather than "equals" in XML-Security is for performance
reasons, it's not a bug. The side-effect of this is that you need to intern the
namespace when passing it through to XML-Security, e.g. the following code
adapted from your test-case works fine:

String newNamespace = new String("http://www.w3.org/2000/09/xmldsig#";);
new org.apache.xml.security.keys.content.x509.XMLX509IssuerSerial(
     generateIssuerSerial(newNamespace.intern()), ""); 

Colm.

-- 
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