phax / ph-schematron

Java Schematron library that supports XSLT and native application
Apache License 2.0
110 stars 36 forks source link

option for skipping warnings during validation #159

Closed IacopoArduini-gmail closed 9 months ago

IacopoArduini-gmail commented 9 months ago

Currently, using this a maven plugin, any rule that fails the test (including those flagged as just "warnings") during the validation phase leads to a failed build. A really good feature to implement in future releases would be an option, ideally usable via the Maven element, allowing to skip the warnings.

phax commented 9 months ago

@IacopoArduini-gmail I created an initial version. Can you please test with version 7.1.3-SNAPSHOT and property <ignoreWarnings>true</ignoreWarnings> if it suits your needs? Thanks

phax commented 9 months ago

Part of the 7.1.3 release