Raul Benito wrote:
Berin,Berin Lautenbach wrote:
<GRIN> - Yes I just checked it in.
Took me a while to find - I'm not too sure why, but the behaviour of the canoncicaliser appears to have changed.
It appears that the canonicaliser is now storing it's output. So if you re-use an instance, it will append the new canonicalisation to the old and return the complete output.
Does anyone know if this is normal behaviour?
After the memory reduction patch is the expected behavior. I was thinking on deprecated the methods that return the byte arrays(canonicalizeSubtree and alike) and enforce to be called with an OutputStream as a param.
Anyway I will take a look to your changes, perhaps I will take a look as the encryptData can be optimize somehow.
Regards,
And sorry for the time you spent in the bug hutting.
Raul
I have commit some changes to XMLCipher to reuse the canonicalizers. I have check the cypher test and run well, but can you double check.
Thanks,
Raul http://r-bg.com Raul