hi

> I'm trying to validate a posted DomRepresentation and respond with an error 
> document that indicates which elements failed to validate. I have an 
> ErrorHandler set to capture the individual SAXExceptions, like so:
> 
> Validator validator = messageSchema.newValidator();
> validator.setErrorHandler(new ValidationErrorHandler());
> validator.validate(dom.getDomSource());
> 
> However, none of the SAXExceptions include element, line, or column 
> information. (I'm particularly interested in the element.)
> 
> Is there any option I can set to make this work, or any place I can hook into 
> the validation process? Or is there something else I'm doing wrong?

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2417370

Reply via email to