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
This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:36:28 UTC