Fix for Spain FacturaE Signature Online Example
A Chilkat user graciously reported an error in the example at http://www.example-code.com/phpExt/xades_facturae_3_2_es.asp
“I use it to sign TicketBAI XML files and FacturaE in Spain.
I noticed that the FacturaE signatures weren’t validating properly on some government websites with an error something like “the signature is not a correct xades signature”.
The namespace “etsi” was replaced with “xades” in the following code fragment. The corrected code fragment is shown here: