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

Too many bits in xs:string

    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • Back End
    • None

    Description

      Hello everyone,

      i have the following schema:

      <xs:complexType name="statusReportDetails">
      		<xs:sequence>
      			<xs:element name="state" type="abc:stateenum" dfdl:length="4" />
      			<xs:element name="indicators" type="abc:indicators"  dfdl:length="16" />
      			<xs:element name="v" type="v" dfdl:length="10" />
      			<xs:element name="driverId" type="xs:string" dfdl:lengthKind="explicit" dfdl:length="128" dfdl:alignment="8" />
      		</xs:sequence>
      	</xs:complexType>
      
      

      And the related bitstream:

      
      0101 -> Enum
      0000110000000001 -> indicators
      0001100100 -> v
      0000110001001100010011000100110001001100100011001000110010001100100011001100110011001100110011001100110100001101000011010000110100 -> driverId
      
      

      The driverId has 130 bits and not the 128. bits which is defined in the schema.
      My question is where comes the first two bits ? I know it is an configuration mistake or something like that.

      I hope someone can help me.

      Thank you.
      Alex

      Attachments

        Issue Links

          Activity

            People

              kuba72 Baumann Kurt
              adeutschmann Alexander Deutschmann
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h