Hi again,

I am trying to build a "minimal" version of libxml and xmlsec, as I just need
some of the xmldsig stuff.
So I compiled libxml2 with configure --with-valid=no (i.e. without DTD
validation support). Building the xmlsec application fails (the lib builds fine):

xmlsec.o(.text+0x1cc5): In function `xmlSecAppXmlDataCreate':
xmlsec1-1.2.8/apps/xmlsec.c:2453: undefined reference to `xmlParseDTD'
xmlsec.o(.text+0x1d3f):xmlsec1-1.2.8/apps/xmlsec.c:2463: undefined reference to `xmlValidateDtd'

So I conditionally exclude the code around "dtdFileParam" with
ifdef LIBXML_VALID_ENABLED, which is picked up from libxml/xmlversion.h.

Of course this causes all tests (with make check) that use --dtd-file
to fail.

Is that OK?

Cheers,
Bernd

Attachment: novalidation.diff.gz
Description: application/gunzip

_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to