(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.
Fixed in trunk and 3.2 branch.