Re: Problems writing signed document to disk

2008-04-04 Thread Ian Hummel
That might be, however the Transformer code to write the DOM to disk is right out of the xml signature tutorial, so I hope that is not the case... I read through the list and saw some brief comments that suggest maybe one can add attributes (via setAttribute) which do not get added into a

Re: Problems writing signed document to disk

2008-04-04 Thread Sean Mullan
If you attach the signature I might be able to make a guess, but you really need to debug it and find out what the reference's pre-digested content is when signing and validating and then compare them to see what is breaking the signature. Often it's a namespace issue. --Sean Ian Hummel wrote

Xpath and namespace problem..

2008-04-04 Thread Andrzej Matejko
Hello, I've go signed xml file like: ... not(ancestor-or-self::ds:Signature) . when I try to validate it xsec fails on ds:Xpath equation resolving. (xalan fails with error that ds prefix is not declared). The question is: how to make xalan to resolve xpath with namespa