[xml] xmlReader and --without-writer config option


If libxml is configured --with-reader and --without-writer there will be
an error when compiling xmlreader.c, as the InnerXml and OuterXml
functions use xmlNodeDump from xmlwriter.c and these functions are not
protected by #ifdef LIBXML_WRITER_ENABLED.

I have attached a simple patch to add the appropriate #ifdefs to
xmlreader.h and xmlreader.c.

Best regards,


Print XML with Prince!

Attachment: patch
Description: Text document

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]