<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Remove "<?xml version="1.0" ?>" and "<!DOCTYPE test [" from
DTD file and try again<br>
(see tests/aleksey-xmldsig-01/dtd-hmac-91.dtd file).<br>
<br>
Aleksey<br>
<br>
P.S. Please use mailing list for questions about xmlsec. Otherwise, I
would have <br>
to send you a bill for consulting work :)<br>
<br>
<br>
Jan-Olof Andersson wrote:<br>
<blockquote type="cite"
cite="midNPENKJNAFAOGCAEDEPEAAEODDBAA.jan-olof.andersson@blcc.biz">
<pre wrap="">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: <a class="moz-txt-link-abbreviated" href="mailto:xmlsec-admin@aleksey.com">xmlsec-admin@aleksey.com</a> [<a class="moz-txt-link-freetext" href="mailto:xmlsec-admin@aleksey.com">mailto:xmlsec-admin@aleksey.com</a>]On
Behalf Of Aleksey Sanin
Sent: den 18 september 2003 11:46
To: <a class="moz-txt-link-abbreviated" href="mailto:jan-olof.andersson@blcc.biz">jan-olof.andersson@blcc.biz</a>; <a class="moz-txt-link-abbreviated" href="mailto:xmlsec@aleksey.com">xmlsec@aleksey.com</a>
Subject: Re: [xmlsec] Reference
The FAQ has an example. Also there are a lot of examples in tests/ folder.
Aleksey
Jan-Olof Andersson wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Thanks Aleksey!
I been looking at it, and I still dont get it working... Do you have any
</pre>
</blockquote>
<pre wrap=""><!---->DTD
</pre>
<blockquote type="cite">
<pre wrap="">example that you know is working with the xmlsec?
Best regards
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:xmlsec-admin@aleksey.com">xmlsec-admin@aleksey.com</a> [<a class="moz-txt-link-freetext" href="mailto:xmlsec-admin@aleksey.com">mailto:xmlsec-admin@aleksey.com</a>]On
Behalf Of Aleksey Sanin
Sent: den 16 september 2003 13:07
To: <a class="moz-txt-link-abbreviated" href="mailto:jan-olof.andersson@blcc.biz">jan-olof.andersson@blcc.biz</a>
Cc: <a class="moz-txt-link-abbreviated" href="mailto:xmlsec@aleksey.com">xmlsec@aleksey.com</a>
Subject: Re: [xmlsec] Reference
Read section 3.2 from the FAQ
<a class="moz-txt-link-freetext" href="http://www.aleksey.com/xmlsec/faq.html">http://www.aleksey.com/xmlsec/faq.html</a>
Aleksey
_______________________________________________
xmlsec mailing list
<a class="moz-txt-link-abbreviated" href="mailto:xmlsec@aleksey.com">xmlsec@aleksey.com</a>
<a class="moz-txt-link-freetext" href="http://www.aleksey.com/mailman/listinfo/xmlsec">http://www.aleksey.com/mailman/listinfo/xmlsec</a>
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
xmlsec mailing list
<a class="moz-txt-link-abbreviated" href="mailto:xmlsec@aleksey.com">xmlsec@aleksey.com</a>
<a class="moz-txt-link-freetext" href="http://www.aleksey.com/mailman/listinfo/xmlsec">http://www.aleksey.com/mailman/listinfo/xmlsec</a>
</pre>
</blockquote>
</body>
</html>