[xmlsec] failed:expr=xpointer(id('D0') error when trying to validate a signature

Aleksey Sanin aleksey at aleksey.com
Tue May 5 08:44:53 PDT 2009


Could you please give the complete command line and attach all
the files?

Aleksey

anais laporte wrote:
> It doesn't work, i get parser error : '<' requiered to start ATTLIST 
> enumeration.
> 
> Thanks,
> 
> Anaïs
> 
>  > Date: Tue, 5 May 2009 08:06:44 -0700
>  > From: aleksey at aleksey.com
>  > To: laporteanais at hotmail.com
>  > Subject: Re: [xmlsec] failed:expr=xpointer(id('D0') error when trying 
> to validate a signature
>  >
>  > Try just this
>  >
>  > <!ATTLIST Data_to_signId ID #IMPLIED>
>  >
>  > Aleksey
>  >
>  > anais laporte wrote:
>  > > I have already try but get an error.
>  > >
>  > > This is my dtd :
>  > > <!DOCTYPE test [
>  > > <!ATTLIST Data_to_signId ID #IMPLIED>
>  > > ]>
>  > >
>  > > I use the command line on windows : xmlsec --verify --dtd-file 
> file.dtd
>  > > to_sign.xml
>  > > And i get the error : parser error : content error in the external 
> subset
>  > >
>  > > thanks,
>  > >
>  > > Anaïs
>  > >
>  > > > Date: Tue, 5 May 2009 07:28:44 -0700
>  > > > From: aleksey at aleksey.com
>  > > > To: laporteanais at hotmail.com
>  > > > CC: xmlsec at aleksey.com
>  > > > Subject: Re: [xmlsec] failed:expr=xpointer(id('D0') error when 
> trying
>  > > to validate a signature
>  > > >
>  > > > It is section 3.2 :) Double check the DTD.
>  > > >
>  > > > Aleksey
>  > > >
>  > > >
>  > > > anais laporte wrote:
>  > > > > Hello,
>  > > > >
>  > > > > When i try to validate an enveloped signature, i get the error :
>  > > > > failed:expr=xpointer(id('D0').
>  > > > > I already have seen the section 3.2 in the faq but no succed.
>  > > > >
>  > > > > My xml file looks like :
>  > > > > <firstData>
>  > > > > <secondData>...</secondData>
>  > > > > <Data_to_sign Id="D0">...</Data_to_sign>
>  > > > > <signature>...</signature>
>  > > > > </firstData>
>  > > > >
>  > > > > some idea ?
>  > > > >
>  > > > > Thanks.
>  > > > >
>  > > > > Anaïs
>  > > > >
>  > > > >
>  > > > >
>  > > 
> ------------------------------------------------------------------------
>  > > > > Découvrez toutes les possibilités de communication avec vos proches
>  > > > > <http://www.microsoft.com/windows/windowslive/default.aspx>
>  > > > >
>  > > > >
>  > > > >
>  > > 
> ------------------------------------------------------------------------
>  > > > >
>  > > > > _______________________________________________
>  > > > > xmlsec mailing list
>  > > > > xmlsec at aleksey.com
>  > > > > http://www.aleksey.com/mailman/listinfo/xmlsec
>  > >
>  > > 
> ------------------------------------------------------------------------
>  > > Discutez sur Messenger où que vous soyez ! Mettez Messenger sur votre
>  > > mobile ! <http://www.messengersurvotremobile.com/>
> 
> ------------------------------------------------------------------------
> Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows 
> Live ? Lancez-vous ! 
> <http://www.microsoft.com/windows/windowslive/default.aspx>


More information about the xmlsec mailing list