We had this discussion already at the beginning of the project. The consensus back then was that the processor should not fail the build due to xml errors. Validation of XML occurs via the JPA provider.