Re: How to get more details from validation errors

2004-10-22 Thread Jorge Ortiz Claver
Hi Andy, You catched exactly what I need. I've already implemented your solution and it works great! In combination with a file like the XMLSchemaMessages.properties I think I can return my own error messages using my own format. BTW, congratulations to who designed all this registered-componen

Re: How to get more details from validation errors

2004-10-21 Thread Andy Clark
Jorge Ortiz Claver wrote: Problem appears when my client, instead of error messages like "The value 'AAA' of attribute 'code' on element 'comm-response' is not valid with respect to its type, 'integer'.]" (SAXException message) would like to receive error information codified. Client only wan

How to get more details from validation errors

2004-10-21 Thread Jorge Ortiz Claver
Hi, I have to develop an application that is supposed to accept XML data. I already have defined an XSD schema and validation against it works properly. Problem appears when my client, instead of error messages like "The value 'AAA' of attribute 'code' on element 'comm-response' is not valid