- From: Karl Dubost <karl+w3c@la-grange.net>
- Date: Thu, 5 Feb 2009 02:08:06 -0500
- To: Olivier Théreaux <ot@w3.org>
- Cc: "public-qa-dev@w3.org list" <public-qa-dev@w3.org>
Received on Thursday, 5 February 2009 07:08:19 UTC
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, XML_ERR_INTERNAL_ERROR, /* 1 */ 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 <msg 6>XML_ERR_INVALID_HEX_CHARREF</msg> matching with lines 284-285 of parser.c case XML_ERR_INVALID_HEX_CHARREF: errmsg = "CharRef: invalid hexadecimal value\n";
-- Karl Dubost Montréal, QC, Canada http://twitter.com/karlpro
Received on Thursday, 5 February 2009 07:08:19 UTC