Hi;
I�m signing a document, but after including the xml signature, I have to change the 
encoding to iso-8859-1.So I�m using a tranformation to change the encoding, but when 
I�ve done it, this one changes the document and inserts namespace definitions xmlns="" 
xmlns:ds="http://www.w3.org/2000/09/xmldsig#";  in all the elements of the Signature, 
like this:
ds:SignedInfo xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#";>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; 
xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"; xmlns="" 
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
<ds:Reference URI="#original" xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#";>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"; xmlns="" 
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
<ds:DigestValue xmlns="" 
xmlns:ds="http://www.w3.org/2000/09/xmldsig#";>2qady3P9KRIlRVYuJzL1W8NUXDM=</ds:DigestValue>
</ds:Reference>
Could someone explain me what�s hapennig?? And How can I avoid it????
Thanks for all

Reply via email to