Hi all!

xmlDocPtr xmlRecoverDoc (xmlChar * cur) ... takes a non-const xmlChar*

But looking at parser.c (2.6.27) shows that it just calls
xmlDocPtr
xmlRecoverDoc(xmlChar *cur) {
    return(xmlSAXParseDoc(NULL, cur, 1));
}

and xmlSAXParseDoc takes a const xmlChar*


Maybe this should be fixed ...

cheers,
Martin
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to