You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by GitBox <gi...@apache.org> on 2022/10/24 14:02:41 UTC

[GitHub] [daffodil] stevedlawrence opened a new pull request, #863: Change recoverable errors to validation errors instead of schema definition warnings

stevedlawrence opened a new pull request, #863:
URL: https://github.com/apache/daffodil/pull/863

   A dfdl:assert with failureType="recoverableError" is currently treated as a schema definition warning. However, SDW's are usually for things that can be safely ignored, and these asserts are generally used for validation checking beyond the capabilities of XSD that should not be ignored, or should at least be treated differently so that a user can easily differentiate between the two.
   
   This modifiers these asserts so that the errors are turned validation errors accessible just like those created when validation is turned on. This also refactors the handling of errors to avoid duplication between assert expressions and assert patterns, as well as changes to make error messages consistent.
   
   Note that this is backwards incompatible change, but is arguably the more correct behavior since these asserts really are predominantly used for extended validation checks.
   
   DAFFODIL-2357


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [daffodil] stevedlawrence merged pull request #863: Change recoverable errors to validation errors instead of schema definition warnings

Posted by GitBox <gi...@apache.org>.
stevedlawrence merged PR #863:
URL: https://github.com/apache/daffodil/pull/863


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org