Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1732

ByteOrderChangeParser not inserted correctly for bitmap schema


    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • deferred
    • None
    • Front End, General
    • None

      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.

              Unassigned Unassigned
              slawrence Steve Lawrence
              0 Vote for this issue
              1 Start watching this issue