Re: libxml2 errors list for markup validator

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 UTC