Olabusayo Kilo created DAFFODIL-2842:
----------------------------------------

             Summary: XSD Length doesn't behave like minlength==maxlength when 
validation is limited
                 Key: DAFFODIL-2842
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2842
             Project: Daffodil
          Issue Type: Bug
          Components: Back End
    Affects Versions: 3.5.0
            Reporter: Olabusayo Kilo


When validation is limited, the length facet isn't enforced during validation 
and it requires the use of maxlength and minlength facets for enforcement.

Possible solution: Inside daffodil really there should be use of maxLength and 
minLength values in the DSOM model, but those should be populated regardless of 
whether maxLength and minLength are specified separately, or only length is 
specified.

It should also test to ensure you don't specify both length and either of 
maxLength/minLength as distinct values.



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

Reply via email to