1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +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

@ -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;