[xmlsec] building without DTD validation support in libxml
bb at bernd-becker.de
Thu May 12 03:48:01 PDT 2005
I am trying to build a "minimal" version of libxml and xmlsec, as I just
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
xmlsec.o(.text+0x1cc5): In function `xmlSecAppXmlDataCreate':
xmlsec1-1.2.8/apps/xmlsec.c:2453: undefined reference to `xmlParseDTD'
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
Is that OK?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 641 bytes
Desc: not available
Url : http://www.aleksey.com/pipermail/xmlsec/attachments/20050512/3320173e/novalidation.diff-0002.bin
More information about the xmlsec