1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

Norm suggested a nicer error message for xml:space values errors Daniel

* parser.c: Norm suggested a nicer error message for xml:space values
  errors
Daniel
This commit is contained in:
Daniel Veillard
2003-03-26 16:32:05 +00:00
parent e4fa293265
commit 642104e116
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Mar 26 17:30:37 CET 2003 Daniel Veillard <daniel@veillard.com>
* parser.c: Norm suggested a nicer error message for xml:space values
errors
Wed Mar 26 01:34:19 CET 2003 Daniel Veillard <daniel@veillard.com>
* xpath.c include/libxml/xpath.h: first part of the fix to

View File

@ -6620,7 +6620,7 @@ xmlParseAttribute(xmlParserCtxtPtr ctxt, xmlChar **value) {
ctxt->errNo = XML_ERR_ATTRIBUTE_WITHOUT_VALUE;
if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL))
ctxt->sax->error(ctxt->userData,
"Invalid value for xml:space : \"%s\", \"default\" or \"preserve\" expected\n",
"Invalid value \"%s\" for xml:space : \"default\" or \"preserve\" expected\n",
val);
ctxt->wellFormed = 0;
if (ctxt->recovery == 0) ctxt->disableSAX = 1;