Hi All,
I need help! I have one document, like this: <?xml version="1.0" encoding="UTF-8"?> <nfeProc versao="1.10" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.portalfiscal.inf.br/nfe"> <NFe xmlns="http://www.portalfiscal.inf.br/nfe"> <infNFe versao="1.10" Id="NFe35090956724412000129550030000000012522555008"> // ... <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> // ... </NFe> </nfeProc> In this case the the signature checks fail! If I remove the NS: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Like this: <?xml version="1.0" encoding="UTF-8"?> <nfeProc versao="1.10" xmlns="http://www.portalfiscal.inf.br/nfe"> <NFe xmlns="http://www.portalfiscal.inf.br/nfe"> <infNFe versao="1.10" Id="NFe35090956724412000129550030000000012522555008"> // ... <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> // ... </NFe> </nfeProc> The signature is validated OK! Why? I 'am trying understanding! What I must do to work with NS (xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ds="http://www.w3.org/2000/09/xmldsig#") Thanks
