W3C home > Mailing lists > Public > public-qa-dev@w3.org > February 2009

Re: libxml2 errors list for markup validator

From: Karl Dubost <karl+w3c@la-grange.net>
Date: Wed, 18 Feb 2009 18:40:48 -0500
Cc: "public-qa-dev@w3.org list" <public-qa-dev@w3.org>
Message-Id: <66AF593F-8BCE-4C68-8451-24E7A7BE0EDB@la-grange.net>
To: olivier Thereaux <ot@w3.org>

Le 18 févr. 2009 à 13:40, olivier Thereaux a écrit :
> Firing up my text editor, I looked for "attributes construct error"  
> in the codebase for libxml2 and found:
> [[
> 	if (!IS_BLANK_CH(RAW)) {
> 	    xmlFatalErrMsg(ctxt, XML_ERR_SPACE_REQUIRED,
> 			   "attributes construct error\n");
> 	}
> ]] -- parser.c
>
>
> This is particularly interesting to me:
> * it shows me where the "attributes construct error" text came from
> * it shows that the actual code for the error is  
> XML_ERR_SPACE_REQUIRED
> ... and frankly, knowing that the error comes from missing space  
> (between attributes) is hugely useful there

Would it be useful to create a catalog based on the actual code such  
as XML_ERR_SPACE_REQUIRED?
Received on Wednesday, 18 February 2009 23:40:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 19 August 2010 18:12:49 GMT