History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WSTX-153
Type: Bug Bug
Status: Resolved Resolved
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: 29/May/08 12:43 AM
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 - 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.