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/06/05 23:51:00 UTC

[jira] [Closed] (DAFFODIL-2814) leadingSkip property is ignored on enumerations

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

Dave Thompson closed DAFFODIL-2814.
-----------------------------------

Dev determined working as intended and is not a bug.

> leadingSkip property is ignored on enumerations
> -----------------------------------------------
>
>                 Key: DAFFODIL-2814
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2814
>             Project: Daffodil
>          Issue Type: New Feature
>          Components: Front End
>    Affects Versions: 3.5.0
>            Reporter: Josh Adams
>            Priority: Major
>             Fix For: 3.5.0
>
>
> The leadingSkip property is being ignored when placed on an enumeration type - ex:
> <simpleType name="YesNoEnum" dfdlx:repType="my:bit">
>   <restriction base="xs:string">
>     <enumeration value="no" dfdlx:repValues="0"/>
>     <enumeration value="yes" dfdlx:repValues="1"/>
>   </restriction>
> </simpleType>
> <element name="yesno" type="YesNoEnum" dfdl:leadingSkip="2"/>
> The leading skip is ignored, so we end up looking at the incorrect location in the data.



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