Issue Details (XML | Word | Printable)

Key: WSTX-153
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Tatu Saloranta
Reporter: Tatu Saloranta
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Woodstox

XMLReporter not getting called for non-fatal validation errors

Created: 28/May/08 12:25 AM   Updated: 14/Sep/08 11:32 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
(reported by Eduardo R Rodrigues)

XMLReporter only gets called for warnings, but not for non-fatal validation errors. This is incorrect as Stax specification and javadocs for XMLReporter; instead, reporter should be called for such errors.
This is important enough a problem to warrant getting backported to 3.2 series, since it makes it impossible to try non-disruptive validation of documents.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Tatu Saloranta added a comment - 29/May/08 12:43 AM
Fixed: DTDValidatorBase was not properly calling InputProblemReporter, but instead threw an exception. Additionally InputProblemReporter implementation had wrong logic in determining when to call XMLReporter.

Fixed in trunk and 3.2 branch.


Tatu Saloranta added a comment - 14/Sep/08 11:32 PM
Was included in 3.2.6 release (and 3.9.2)