You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Ni...@sercel.fr on 2002/08/21 14:00:56 UTC

How to extract information from validation error codes

I use xerces DOM parser for validation against XML schema. The validation works correctly but it is quite hard to get information
about errors. Does anybody know if it is possible to use the error codes to extract infromation about the error without having to
decode the message string (to get the type of schema constraint violated for example) ?

Ex. : Validation error : '[error] :1:269: cvc-complex-type.2.2 ...'
         What does the '2.2' error code mean ??

Thank you.

Nicolas



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org