You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Josh Adams (Jira)" <ji...@apache.org> on 2023/05/26 19:24:00 UTC
[jira] [Created] (DAFFODIL-2814) leadingSkip property is ignored on enumerations
Josh Adams created DAFFODIL-2814:
------------------------------------
Summary: 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
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)