[xmlsec] Reference
Aleksey Sanin
aleksey at aleksey.com
Thu Sep 18 12:05:31 PDT 2003
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: xmlsec-admin at aleksey.com [mailto:xmlsec-admin at aleksey.com]On
>Behalf Of Aleksey Sanin
>Sent: den 18 september 2003 11:46
>To: jan-olof.andersson at blcc.biz; xmlsec at aleksey.com
>Subject: Re: [xmlsec] Reference
>
>
>The FAQ has an example. Also there are a lot of examples in tests/ folder.
>
>Aleksey
>
>Jan-Olof Andersson wrote:
>
>
>
>>Thanks Aleksey!
>>
>>I been looking at it, and I still dont get it working... Do you have any
>>
>>
>DTD
>
>
>>example that you know is working with the xmlsec?
>>
>>Best regards
>>
>>-----Original Message-----
>>From: xmlsec-admin at aleksey.com [mailto:xmlsec-admin at aleksey.com]On
>>Behalf Of Aleksey Sanin
>>Sent: den 16 september 2003 13:07
>>To: jan-olof.andersson at blcc.biz
>>Cc: xmlsec at aleksey.com
>>Subject: Re: [xmlsec] Reference
>>
>>
>>Read section 3.2 from the FAQ
>> http://www.aleksey.com/xmlsec/faq.html
>>
>>Aleksey
>>
>>
>>_______________________________________________
>>xmlsec mailing list
>>xmlsec at aleksey.com
>>http://www.aleksey.com/mailman/listinfo/xmlsec
>>
>>
>>
>>
>>
>
>_______________________________________________
>xmlsec mailing list
>xmlsec at aleksey.com
>http://www.aleksey.com/mailman/listinfo/xmlsec
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20030918/b79f08fb/attachment.htm
More information about the xmlsec
mailing list