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

[jira] [Updated] (DAFFODIL-1732) ByteOrderChangeParser not inserted correctly for bitmap schema

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

Steve Lawrence updated DAFFODIL-1732:
-------------------------------------
    Fix Version/s:     (was: deferred)
                   2.1.0

> ByteOrderChangeParser not inserted correctly for bitmap schema
> --------------------------------------------------------------
>
>                 Key: DAFFODIL-1732
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1732
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Front End, General
>            Reporter: Steve Lawrence
>            Assignee: Michael Beckerle
>            Priority: Major
>             Fix For: 2.1.0
>
>
> The bitmap schema has a mixture of big and little endian byte orders. The "Blob" elements are xs:hexBinary types with byteOrder="bigEndian". However, they are being parsed as if they are littleEndian. Looking at the toBriefXML parser, it looks like there are no ByteOrderChange parsers being inserted before the hexBinaryBlob is parsed, and the most previous ByteOrderChangeParser changed the byteOrder to littleEndian. So there appears to be a bug where we aren't detecting all the places a ByteOrderChangeParser is needed.



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