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:
2
parser.c
2
parser.c
@ -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;
|
||||
|
Reference in New Issue
Block a user