You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Dave Thompson (JIRA)" <ji...@apache.org> on 2018/01/30 14:08:00 UTC

[jira] [Closed] (DAFFODIL-1001) Invalid bitOrder and byteOrder combination should produce SDE

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

Dave Thompson closed DAFFODIL-1001.
-----------------------------------

Verified the latest updates from the incubator-daffodil repository included the specified commit, ee4177b4c9bf84af2af19d8c9f67f283e233105e.

Verified that the specified test executes successfully.

> Invalid bitOrder and byteOrder combination should produce SDE
> -------------------------------------------------------------
>
>                 Key: DAFFODIL-1001
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1001
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Diagnostics, Front End
>    Affects Versions: s14
>            Reporter: Elizabeth Fahl
>            Assignee: Dave Thompson
>            Priority: Major
>             Fix For: 2.1.0
>
>
> 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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)