You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2023/02/28 15:46:00 UTC
[jira] [Closed] (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 ]
Dave Thompson closed DAFFODIL-2212.
-----------------------------------
Closing per dev team (Josh Adams) fix verification in previous 24/Feb/23 comment.
> 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
> 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)