Question regarding the validate() function of a view...

This should cover W3C XML Schema, Relax NG and DTD related problems.
Wig
Posts: 4
Joined: Sat Oct 29, 2005 1:06 am

Question regarding the validate() function of a view...

Post by Wig » Sat Oct 29, 2005 1:29 am

In looking at the documentation for the view interface I note that the validate() function is void...

Are there any suggestions on how I can call the validate() function on a document within a view programmatically and determine whethor or not the validation succeeded.

I assume there is a way to dig down to the errors view and determine if any errors were generated, but I haven't seen how to do this.

Thanks,

Wig.

Wig
Posts: 4
Joined: Sat Oct 29, 2005 1:06 am

Post by Wig » Wed Nov 02, 2005 11:21 pm

Ok, problem solved...

I wrote my own validating parser with JAXP and I can ensure validation programmatically.

Post Reply