Project

Profile

Help

Bug #2666

closed

JAXP Validator.validate() throws an exception if there are validation errors

Added by Michael Kay about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
JAXP Java API
Sprint/Milestone:
Start date:
2016-03-08
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.6, 9.7
Fix Committed on Branch:
9.6, 9.7
Fixed in Maintenance Release:
Platforms:

Description

Saxon's implementation of the JAXP Validate class (com.saxonica.ee.jaxp.ValidatorImpl) throws an exception from the validate() method (saying "One or more validation errors were reported") if any validity problems were found.

Demonstrated by unit test TestValidator.testSchemaListener().

The spec isn't 100% unambiguous on this, but it seems that no exception is expected.

Please register to edit this issue

Also available in: Atom PDF