[xml] xmlRecoverDoc should take a const xmlChar* ... (?)
- From: Martin Trappel <0xCDCDCDCD gmx at>
- To: xml gnome org
- Subject: [xml] xmlRecoverDoc should take a const xmlChar* ... (?)
- Date: Wed, 22 Jul 2009 17:47:10 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]