On Feb 15, 2006, at 4:46 PM, Aleksey Sanin wrote:

Second, the *easiest* patch for a namespace prefix is to create an xmlSecTmplSignatureCreateNs() function that has a prefix parameter and then have xmlSecTmplSignatureCreate() call that function with a NULL prefix value.  Some don't like that style though.  The only other alternative is to create a writable global string but that's a bit invasive too.

Sounds like xmlSearchNs() => xmlSearchNsByHref() change should do it

(assuming that user puts the namespace in the document by him/herself).

Though providing this helper function might be a good idea.



I'm not sure one *can* insert the namespace without this function.  I've not found anything in libxml2 that allows for manipulation of namespace after definition.

My read is that both the new function and search change are required to get prefixes attach to all the dsig elements.  Would it be over-engineering to create a new xmlSecAddChild() function to allow for the different search approach?

Lastly, a recent post mentioned you prefer patches based upon cvs.  I can't find mention of cvs on your site.


Scroll to the bottom of this page :)


http://www.aleksey.com/xmlsec/download.html


eh, I didn't check the download link ;)

=
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to