You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2023/01/23 19:39:00 UTC

[jira] [Updated] (DAFFODIL-2212) Enumerations validate length on symbolic elements

     [ https://issues.apache.org/jira/browse/DAFFODIL-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Beckerle updated DAFFODIL-2212:
------------------------------------
    Labels: reverify  (was: )

> Enumerations validate length on symbolic elements
> -------------------------------------------------
>
>                 Key: DAFFODIL-2212
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2212
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Front End
>    Affects Versions: 2.4.0
>            Reporter: Brandon Sloane
>            Assignee: Josh Adams
>            Priority: Major
>              Labels: reverify
>             Fix For: 3.5.0
>
>         Attachments: a.dfdl.xsd
>
>
> Consider the schema:
> {quote}<xs:element name="a" type="SomeEnumType"/>
> {quote}
> Where SomeEnumType is an enumeration type (eg, has a dfdlx:repType)
> If this is the root element, then the schema behaves as expected. However, when this is not the root element, Daffodil extraneously complains invalid settings on a:
>  
> {quote}[error] Schema Definition Error: String with dfdl:lengthKind='implicit' must have an XSD maxLength facet value.
> Schema context: a Location line 25 column 10 in file:/home/bsloane/Documents/incubator-daffodil/test/test/a.dfdl.xsd
> {quote}



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