santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pellerin, Clement" <>
Subject Extra xmlns after decrypt
Date Thu, 22 Mar 2012 19:26:38 GMT
I start with this document:
<env:Envelope xmlns:env=""><env:Body><elem>aa</elem></env:Body></env:Envelope>

I encrypt the <elem> element and immediately decrypt it. The resulting document has
an extra namespace declaration:
<env:Envelope xmlns:env=""><env:Body><elem

The funny thing is, if I encrypt two sibling <elem> elements, only the first one has
the extra namespace declaration.
I tried with xmlsec 1.4.5 and 1.5.1

Is this a bug or the expected behavior?

View raw message