|
Remove "<?xml version="1.0" ?>" and "<!DOCTYPE test [" from
DTD file and try again (see tests/aleksey-xmldsig-01/dtd-hmac-91.dtd file). Aleksey P.S. Please use mailing list for questions about xmlsec. Otherwise, I would have to send you a bill for consulting work :) Jan-Olof Andersson wrote: Aleksey, thanks so much for your help and your patients... Now I will write a very stupid question.. Is that available online?I tried to use the example that you sent but I get an error... The error message is: D:\Archivos de programa\GnuWin32\xmlsec\libxmlsec-1.1.1.win32\lib>sign_xml sign --pkcs12 certificado.pfx --output signed_xml.xml --dtd-file dtd_xml_factura.dtd --pwd calimaappic resum_caf_invoice_10.xml dtd_xml_factura.dtd:2: error: Content error in the external subset <!DOCTYPE test [ ^ dtd_xml_factura.dtd:2: error: Extra content at the end of the document <!DOCTYPE test [ ^ Error: failed to parse dtd file "dtd_xml_factura.dtd" Error: failed to load template "resum_caf_invoice_10.xml" Error: failed to sign file "resum_caf_invoice_10.xml" The DTD that I created looks like the following: <?xml version="1.0" ?> <!DOCTYPE test [ <!ATTLIST Documento ID ID #IMPLIED> ]> Inside the xml document this shall relate to the <Documento ID="F15T33"> and the reference is <Reference URI="#Fl5T33"> Thanks so much for your help! Best regards -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aleksey Sanin Sent: den 18 september 2003 11:46 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [xmlsec] Reference The FAQ has an example. Also there are a lot of examples in tests/ folder. Aleksey Jan-Olof Andersson wrote: |
- [xmlsec] Reference Jan-Olof Andersson
- RE: [xmlsec] Reference Jan-Olof Andersson
- Re: [xmlsec] Reference Aleksey Sanin
- Re: [xmlsec] Reference Aleksey Sanin
- Aleksey Sanin
