Project

Profile

Help

Bug #1621

closed

After 25 warnings, schema validator stops reporting errors

Added by Michael Kay over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Schema conformance
Sprint/Milestone:
-
Start date:
2012-09-07
Due date:
% Done:

100%

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

Description

After reporting 25 warnings, the schema validator reports that "no more warnings will be displayed" and sets a flag to prevent further warnings being displayed. Unfortunately this also prevents further validation errors being displayed.

A patch is being committed for 9.4 (the problem is already fixed on the development branch). The patch also ensures that after reporting the validation error, the processor (eventually) terminates with exit code 1.


Files

StandardErrorListener.java (22.3 KB) StandardErrorListener.java New StandardErrorListener code containing the patch Michael Kay, 2012-09-07 14:33
Actions #1

Updated by Michael Kay over 11 years ago

The new StandardErrorListener code is attached; this could be used as a workaround to make a "user-written" error listener.

Actions #2

Updated by O'Neil Delpratt over 11 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 9.4.0.6

Please register to edit this issue

Also available in: Atom PDF