Hi,
I need to add an option, HAS_TEXTCONCAT_BUG to the configure script to check for a bug in libxml. What file(s) do I have to change?

The file attached is an example to test for this issue. (returns -1 if the error exists)

Best Regards
 Alistair Leslie-Hughes
// gcc -o runme `xml2-config --cflags` sampleXML.c `xml2-config --libs`
#include <libxml/parser.h>

int main()
{
    xmlNodePtr nodeComment;
    int nRet = 0;
    
    nodeComment = xmlNewComment("This is a Comment Node");
    
    nRet = xmlTextConcat(nodeComment, "Hello", 5);
        
    return nRet;
}


Reply via email to