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

Brandon Sloane updated DAFFODIL-2212:
-------------------------------------
          Component/s: Front End
        Fix Version/s: 2.5.0
    Affects Version/s: 2.4.0

> 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
>            Priority: Major
>             Fix For: 2.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.3.4#803005)

Reply via email to