Commit 642104e1 authored by Daniel Veillard's avatar Daniel Veillard

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
parent e4fa2932
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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment