xtce:Flag

The pattern of bits used to look for frame synchronization.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
flagBitType restriction of string ones optional
flagSizeInBits positiveInteger 6 optional

Source

<element name="Flag">
  <annotation>
    <documentation xml:lang="en">The pattern of bits used to look for frame synchronization.</documentation>
  </annotation>
  <complexType>
    <attribute name="flagSizeInBits" type="positiveInteger" default="6"/>
    <attribute name="flagBitType" default="ones">
      <simpleType>
        <restriction base="string">
          <enumeration value="zeros"/>
          <enumeration value="ones"/>
        </restriction>
      </simpleType>
    </attribute>
  </complexType>
</element>

Sample