You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Michael Beckerle (JIRA)" <ji...@apache.org> on 2019/04/08 15:39:00 UTC

[jira] [Commented] (DAFFODIL-357) Asserts with failureType="recoverableError" to create warnings

    [ https://issues.apache.org/jira/browse/DAFFODIL-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16812513#comment-16812513 ] 

Michael Beckerle commented on DAFFODIL-357:
-------------------------------------------

Raising priority of this easy feature. This would be very useful in schema generation, where we often have lots of validation info we cannot capture in the DFDL schema as yet, because we would have to make it part of parsing the schema, and not part of just validation.

Rather than use an add-on rule language like schematron, asserts which are recoverable errors can be used to do enhanced validation. It's not XSD validation, it's something beyond that, but we don't need schematron when we can use DPath. and dfdl:assert statements.

> Asserts with failureType="recoverableError" to create warnings
> --------------------------------------------------------------
>
>                 Key: DAFFODIL-357
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-357
>             Project: Daffodil
>          Issue Type: New Feature
>          Components: Back End, DFDL Language, Front End, Middle &quot;End&quot;
>    Affects Versions: s4
>            Reporter: Michael Beckerle
>            Priority: Major
>
> Needed to express redundant format constraints. 
> Recoverable errors are effectively warnings to users.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)