Berin,

Your fix has fixed this problem of duplicate data being outputted on decryption. :-)

Thanks,
Vishal

Vishal Mahajan wrote:

2) This seems to be a regression in xml-security. Using (JDK1.4.2 + BC) OR JDK1.5, the result of decryption in the sample seems incorrect. The input to be encrypted was

   <apache:RootElement xmlns:apache="http://www.apache.org/ns/#app1";>
   <apache:foo>Some simple text</apache:foo>
   </apache:RootElement>

and the output after decryption is

   <apache:RootElement xmlns:apache="http://www.apache.org/ns/#app1";>

<apache:foo xmlns:apache="http://www.apache.org/ns/#app1";>Some simple text</apache:foo>
<apache:foo xmlns:apache="http://www.apache.org/ns/#app1";>Some simple text</apache:foo>
</apache:RootElement>



Vishal




Reply via email to