[xmlsec] Namespace prefixes on Signature

Aleksey Sanin aleksey at aleksey.com
Fri Jul 14 12:15:30 PDT 2006


Thanks for the patch! I'll try to apply it next week
when GNOME cvs->subversion conversion is done.

Aleksey

Barry Ferg wrote:
> Hi Aleksey,
> 
> Here is a small patch which extends xmlSecTmplSignatureCreate to include 
> support for adding a namespace prefix on the Signature element.  This 
> feature is useful in cases where the default namespace is defined 
> elsewhere in the document, in enveloping signatures and in other more 
> pathological interoperability situations.  This feature has been 
> requested and discussed on this list before.
> 
> In order to preserve backward compatibility, I've added a new function 
> called xmlSecTmplSignatureCreateNsPref which xmlSecTmplSignatureCreate 
> calls with a null namespace prefix.  The only other changes are the use 
> of xmlSearchNsByHref instead of xmlSearchNs in a few functions in 
> xmltree.c (xmlSecAddChild, xmlSecAddNextSibling, xmlSecAddPrevSibling).
> 
> Thanks,
> Barry Ferg
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec



More information about the xmlsec mailing list