Re: [xml] C14N issue with digital signature due to pointer comparison

2014-03-20 Thread Frank Gross
Hi, Actually, I have an additional layer to emulate DOM compliant API over libxml. In that layer, I have a global list of xmlNsPtr for all namespaces encountered by the nodes (and referenced in node->ns) of a single XML document. And for each namespace definition (xmlns:xxx) set on a node, a

Re: [xml] C14N issue with digital signature due to pointer comparison

2014-03-20 Thread Aleksey Sanin
The tradeoff here is speed. Again, if you are using standard LibXML2 API then everything will work as expected. I have no idea why do you need to create new xmlNsPtr objects - this sounds like a waste of CPU/memory to me but you might have your reasons. But this also breaks a few assumptions on how