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

xml errors for validator (config file)

From: Karl Dubost <karl+w3c@la-grange.net>
Date: Thu, 5 Feb 2009 02:08:06 -0500
Message-Id: <83B8317D-992F-4D03-8614-56654A018E01@la-grange.net>
To: Olivier Théreaux <ot@w3.org>
Cc: "public-qa-dev@w3.org list" <public-qa-dev@w3.org>
Hi Olivier,

A first step and a few questions for a config file for xml parsing  
coming from libxml2

There are basically two patterns in include/libxml/xmlerror.h

     XML_ERR_OK = 0,

Regex matching them
to replace by to make the validator format
	<msg $2>$1</msg>\n

I wonder if the next step would be to match those into some of the  
error messages found in parser.c such as


matching with lines 284-285 of parser.c

             errmsg = "CharRef: invalid hexadecimal value\n";

Karl Dubost
Montréal, QC, Canada

Received on Thursday, 5 February 2009 07:08:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:54:55 UTC