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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16340164#comment-16340164 ] 

Michael Beckerle commented on DAFFODIL-1001:
--------------------------------------------

Note: The 4th combination: LSBF with BigEndian was recently observed in the SISO-J format.

Discussion in the DFDL Workgroup suggests this restriction, that the combination is disallowed, will just be removed.

> 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
>            Priority: Major
>             Fix For: deferred
>
>
> 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-test/src/test/resources/edu/illinois/ncsa/daffodil/section05/simple_types/BitOrder.tdml



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