Re: xml errors for validator (config file)

Hi Karl,

On 5-Feb-09, at 2:08 AM, Karl Dubost wrote:
> A first step and a few questions for a config file for xml parsing  
> coming from libxml2

Very nice! I can confirm that the identifier numbers are the same I  
receive from the API.
Great news!

>
> 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";

Yes, I think that's the natural next step.

One small request: can we use, instead of
<msg 6>
something like
<msg libxml2-6>
?

That would help distinguish the libxml2 error messages from the ones  
given by opensp, and in the future, by other parsers.

Thanks!
-- 
olivier

Received on Thursday, 5 February 2009 22:27:59 UTC