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




Hi,

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,

Michael

-- 
Print XML with Prince!
http://www.princexml.com

Attachment: patch
Description: Text document



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