[xmlsec] Re: Sign1 example
Aleksey Sanin
aleksey at aleksey.com
Thu Jan 25 07:37:47 PST 2007
Section 3.2 from the FAQ
http://www.aleksey.com/xmlsec/faq.html
Aleksey
Marion Morgenstern wrote:
> Hello Aleksey,
>
> I'm trying to sign a xml file with the sign1.c example. I have changed the example to fit my demands: I only want to sign one node. The signature should be within the same document and added to the signed node as a sub node. But if I try to sign it with sign1 I get this error messages:
>
> ##Part of the error message##############
> func=xmlSecXPathDataExecute:file=..\src\xpath.c:line=273:obj=unknown:subj=xmlXPtrEval:error=5:libxml2 library functionfailed:expr=xpointer(id('ProductDescription'))
> ...
> #########################################
>
> It seems that ID ProductDescription is not found. Why? Is this the way signing documents work witj XMLSec?
>
>
> Regards
>
> Marion Morgenstern
>
More information about the xmlsec
mailing list