[xmlsec] path to libxmlsec

Aleksey Sanin aleksey at aleksey.com
Mon Feb 12 15:39:43 PST 2007

The patch looks good but I would like to change one thing in it. Right
now, you pass xmlNsPtr to the *Ns() functions and I really don't like
this because then you need to make sure that the passed in namespace
node belongs to the document, is located in the right place, etc.

In truth, xmlSecAddChild() function does namespace lookup and if you
put the correct namespace URI it will find and use it. Thus, if you
want to have a custom prefix for xmldsig/xmlenc namespace, it is
enough to set the correct namespace prefix in the top Signature or
EncryptedData nodes. After that, magic will happen :)

Can you create a patch that has only *NsPrefix() methods, please?


Alexandre Kalendarev wrote:
> Hi all,
> Rob>Also if you make sure that your template code is good, you should 
> Rob>probably submit the patches to him as well (that code really doesnt 
> Rob>belong in the PHP extension but rather within the xmlsec lib itself).  
> I and Rob Richardson make patch for template.c. The new php_xmlsec extention (beta-version) use the new version of template.c. 
> Thanks.
> Alexandre
> ------------------------------------------------------------------------
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec

More information about the xmlsec mailing list