santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41858] - Namespace problem when initializing XMLSignature in version 1.4.0
Date Mon, 13 Aug 2007 07:08:13 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41858>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41858





------- Additional Comments From kohring@ccrl-nece.de  2007-08-13 00:08 -------
(In reply to comment #4)
> The Apache implementation requires all elements to be created with
> the DOM L2 namespace aware methods (Document.createElementNS ...) etc. Please
> search the archives for more information. The other problem is that the
> Node.isDefaultNamespace is a DOM L3 method and right now the implementation
> doesn't have any direct dependencies on DOM L3.
> 
> Is there some reason you did not create the KeyInfo element with the 
> createElementNS method?

OK, I see your point with respect to the DOM L3 interface (though it is odd that
getNamespaceURI() method on DOM L2 does not do a complete namespace lookup
either -- maybe that is why a new method was added in L3).  As for how the
KeyInfo element is created, I do not have any control over that -- my part of
the code only validates the signature.  The DOM Document is constructed by
software from another open source project.  I contacted them about the following
the practice you recommend, but have not heard back from them.  Thanks for you help.

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

Mime
View raw message