#16 bail out if no dtd parsing support in libxml2

closed-fixed
code patch (9)
5
2010-04-08
2009-11-29
Robert Schwebel
No

We use xmlParseDTD without testing if libxml2 has support
for it enabled. This can result in the following linker error:

xml_validate.o: In function `valAgainstDtd':
xmlstarlet-1.0.1/src/xml_validate.c:229:
undefined reference to `xmlParseDTD'

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>

Discussion

    • assigned_to: nobody --> dmichelsen
    • status: open --> open-accepted
     
    • status: open-accepted --> closed-accepted
     
    • status: closed-accepted --> closed-fixed