Hey Mukul,
Yup, you pointed me in the right direction -- thanks...but I still think
there's a bug.
If you look at the docs to ErrorHandler:
http://docs.oracle.com/javase/6/docs/api/org/xml/sax/ErrorHandler.html
It says that: " it is up to the application to decide whether to throw an
excepti
Hi Jorge,
I think, this error is not specific to XSD assertions. Setting a
error handler on the JAXP validator object would solve this problem.
Following are the proposed changes to solve this issue,
Validator v = s.newValidator();
v.setErrorHandler(new ErrHandler());
v.validate(new StreamSour