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

Mike Beckerle commented on DAFFODIL-2936:
-----------------------------------------

I'm in favor of removing full validation and having use of xerces-J for 
validation be done the same way one does schematron validation. 

There is also need of a mode where validation errors cause failure, not by 
escalating a validation error into a parse error, but by ending the parse by 
checking for validation errors and failing at that point if there are any. 

Also, there is a need for validation when unparsing. Unparsing is inherently 
somewhat validating, but we also should check that values obey the facets, 
counts obey min/max occurs constraints, etc. 

 

> Validation Mode Enhancements
> ----------------------------
>
>                 Key: DAFFODIL-2936
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2936
>             Project: Daffodil
>          Issue Type: Improvement
>    Affects Versions: 3.9.0
>            Reporter: Olabusayo Kilo
>            Priority: Major
>
> Reference: DAFFODIL-2896
> In that ticket, we discuss some possible improvements to ValidationMode such 
> as limited -> daffodil, deprecating full, allowing multiple validation modes 
> etc.
> This ticket is intended to move the discussion and design of these validation 
> mode enhancements.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to