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/04/20 16:50:00 UTC

[jira] [Commented] (DAFFODIL-2809) dfdlx:repType on an immediate simpleType is ignored

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

Mike Beckerle commented on DAFFODIL-2809:
-----------------------------------------

This was encountered in a DFDL schema for Asterix Cat 048 which has tons of single-purpose non-reused enum definitions. Hoisting them out to top level global simple type defs is definitely a pain in the neck. 

> dfdlx:repType on an immediate simpleType is ignored
> ---------------------------------------------------
>
>                 Key: DAFFODIL-2809
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2809
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Front End
>    Affects Versions: 3.4.0
>            Reporter: Mike Beckerle
>            Priority: Major
>
> If an element has an immediate simpleType, that simple type has a dfdlx:repType property on it, a Schema Definition Warning indiates the repType is ignored. 
> This usage of dfdlx:repType should be allowed on immediate simple types. 
> The workaround is to use named simple types instead, but this is burdensome. 
>  



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