Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2814

leadingSkip property is ignored on enumerations

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 3.5.0
    • 3.5.0
    • Front End
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jadams_tresys Josh Adams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: