I have no idea why it does work for you but on my box I have the expected error:

[EMAIL PROTECTED] xmlsec-tip]$ ./apps/xmlsec1 verify --dtd-file tmp/pares.dtd tmp/t.xml
func=xmlSecXPathDataExecute:file=xpath.c:line=273:obj=unknown:subj=xmlXPtrEval:
error=5:libxml2 library function failed:expr=xpointer(id('827638898'))
func=xmlSecXPathDataListExecute:file=xpath.c:line=356:obj=unknown:
subj=xmlSecXPathDataExecute:error=1:xmlsec library function failed:


I have LibXML2 2.5.10 and xmlsec from CVS trunk (which is close to 1.2.0 and
not much different in this are from 1.0.2).


IMHO, it's not a good idea to use 2.5.1version of LibXML2. I recall that there were
some issues with it because of new xmlReader API introduced by Daniel in 2.5.0
and the first really stable version was 2.5.2 (check libxml ChangeLog or mailing
list archive for details). I would not be surprised if you don't have problems verifing
this file because of a bug in 2.5.1:)


Aleksey



_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to