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

Invalid bitOrder and byteOrder combination should produce SDE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: s14
    • Fix Version/s: 2.1.0
    • Component/s: Diagnostics, Front End
    • Labels:
      None

      Description

      In the document for bitOrder at http://redmine.ogf.org/dmsf_files/13309, section 3.2 states that there are only 3 valid combinations of bitOrder and byteOrder and other combinations should produce a schema definition error. I created a test with byteOrder of 'bigEndian' and bitOrder of 'leastSignificantBitFirst' but the test parses without errors.

      See test 'test_bigEndianLeastFirst' in daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section05/simple_types/TestSimpleTypes2.scala and daffodil-cd test/src/test/resources/edu/illinois/ncsa/daffodil/section05/simple_types/BitOrder.tdml

        Attachments

          Activity

            People

            • Assignee:
              dfthompson Dave Thompson
              Reporter:
              efahl Elizabeth Fahl
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: