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

Steve Lawrence resolved DAFFODIL-2814.
--------------------------------------
    Fix Version/s: 3.5.0
       Resolution: Not A Bug

This is working as intended, the dfdl:leadingSkip proprety should be ignored. 
Any physical properties must be put on the repType. There should be a warning 
however. See DAFFODIL-2817 for that issue.

> 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)

Reply via email to