RV: [xmlsec] I can't sign with URI="#documento" ( I'm read FAQ 3.2
and search in Google)
Juan Enrique Ortúzar Elton
jeortuzare at edinet.cl
Sat Sep 3 11:38:42 PDT 2005
Hi Aleksey:
Thanks for reply, y probe with DTD
<!DOCTYPE test [
<!ATTLIST Data Id ID #IMPLIED>
]>
and the same error occurs.
Regards
Zulo
PD1: I probe with xmlAddId and the same error occurs.
PD2: I probe with dsigCtx->flags |= XMLSEC_DSIG_FLAGS_USE_VISA3D_HACK and
other error occurs: libxml2 library function failed:id="documento"
Saluda atentamente
Juan Enrique Ortúzar Elton
Gerente de Proyectos
jeotuzare at edinet.cl Matilde Salamanca 736 of. 201, Providencia
Santiago - Chile
Fono: (56 2) 340 53 34
Fax: (56 2) 340 53 29
www.edinet.cl
-----Mensaje original-----
De: Aleksey Sanin [mailto:aleksey at aleksey.com]
Enviado el: Sábado, 03 de Septiembre de 2005 14:25
Para: Juan Enrique Ortúzar Elton
CC: xmlsec at aleksey.com
Asunto: Re: [xmlsec] I can't sign with URI="#documento" ( I'm read FAQ 3.2
and search in Google)
Do you have DTD that declares Id attribute as ID attribute?
Aleksey
Juan Enrique Ortúzar Elton wrote:
> HI
>
> I know this has been covered in FAQ and I have read the mailing list but I
> have the classic XPointer problem.
> I code de sign1.c example and work fine, but when the xml is:
> <Envelope>
> <Data ID="documento">
> ...
> ...
> <Reference URI="#documento">
> ...
>
> I get the classical error : "libxml2 library function
> failed:expr=xpointer(id('documento'))"
>
> I try all and the same error persists.
>
> I run the latest version of xmlsec, libxml2 and libxsl.
>
> I hope you can help me.
>
> Regards
>
> Zulo
> (Juan Enrique Ortuzar Elton)
>
>
>
>
>
>
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
More information about the xmlsec
mailing list