org.omg.space.xtce.schema.doc.SpaceSystemV1.2-27Feb2014-mods_StringDataEncodingType.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xtcetools Show documentation
Show all versions of xtcetools Show documentation
This project contains software to support the Object Management Group (OMG) Space Domain Task Force (SDTF) maintained XML Telemetry and Command Exchange (XTCE) specification.
SpaceSystemV1.2-27Feb2014-mods - StringDataEncodingType
complexType
StringDataEncodingType
diagram
namespace
http://www.omg.org/space/xtce
type
extension of xtce:DataEncodingType
properties
base xtce:DataEncodingType
children
xtce:ErrorDetectCorrect xtce:ByteOrderList xtce:SizeInBits
used by
elements BaseDataType/StringDataEncoding BaseTimeDataType/Encoding/StringDataEncoding
attributes
Name Type Use Default Fixed Annotation bitOrder derived by: string mostSignificantBitFirst encoding derived by: string UTF-8
annotation
documentation For common encodings of string data
source
<complexType name="StringDataEncodingType">
<annotation>
<documentation xml:lang="en">For common encodings of string data</documentation>
</annotation>
<complexContent>
<extension base="xtce:DataEncodingType">
<sequence>
<element name="SizeInBits">
<complexType>
<choice>
<element name="Fixed" type="xtce:IntegerValueType"/>
<element name="TerminationChar" type="hexBinary">
<annotation>
<documentation xml:lang="en">Like C strings, they are terminated with a special string, usually a null character.</documentation>
</annotation>
</element>
<element name="LeadingSize">
<annotation>
<documentation xml:lang="en">Like PASCAL strings, the size of the string is given as an integer at the start of the string. SizeTag must be an unsigned Integer</documentation>
</annotation>
<complexType>
<attribute name="sizeInBitsOfSizeTag" type="positiveInteger" default="16"/>
</complexType>
</element>
</choice>
</complexType>
</element>
</sequence>
<attribute name="encoding" default="UTF-8">
<simpleType>
<restriction base="string">
<enumeration value="UTF-8"/>
<enumeration value="UTF-16"/>
</restriction>
</simpleType>
</attribute>
</extension>
</complexContent>
</complexType>
attribute
StringDataEncodingType/@encoding
type
restriction of string
properties
default UTF-8
facets
Kind Value Annotation enumeration UTF-8 enumeration UTF-16
source
<attribute name="encoding" default="UTF-8">
<simpleType>
<restriction base="string">
<enumeration value="UTF-8"/>
<enumeration value="UTF-16"/>
</restriction>
</simpleType>
</attribute>
element
StringDataEncodingType/SizeInBits
diagram
namespace
http://www.omg.org/space/xtce
properties
content complex
children
xtce:Fixed xtce:TerminationChar xtce:LeadingSize
source
<element name="SizeInBits">
<complexType>
<choice>
<element name="Fixed" type="xtce:IntegerValueType"/>
<element name="TerminationChar" type="hexBinary">
<annotation>
<documentation xml:lang="en">Like C strings, they are terminated with a special string, usually a null character.</documentation>
</annotation>
</element>
<element name="LeadingSize">
<annotation>
<documentation xml:lang="en">Like PASCAL strings, the size of the string is given as an integer at the start of the string. SizeTag must be an unsigned Integer</documentation>
</annotation>
<complexType>
<attribute name="sizeInBitsOfSizeTag" type="positiveInteger" default="16"/>
</complexType>
</element>
</choice>
</complexType>
</element>
element
StringDataEncodingType/SizeInBits/Fixed
diagram
namespace
http://www.omg.org/space/xtce
type
xtce:IntegerValueType
properties
content complex
children
xtce:FixedValue xtce:DynamicValue xtce:DiscreteLookupList
source
<element name="Fixed" type="xtce:IntegerValueType"/>
element
StringDataEncodingType/SizeInBits/TerminationChar
diagram
namespace
http://www.omg.org/space/xtce
type
hexBinary
properties
content simple
annotation
documentation Like C strings, they are terminated with a special string, usually a null character.
source
<element name="TerminationChar" type="hexBinary">
<annotation>
<documentation xml:lang="en">Like C strings, they are terminated with a special string, usually a null character.</documentation>
</annotation>
</element>
element
StringDataEncodingType/SizeInBits/LeadingSize
diagram
namespace
http://www.omg.org/space/xtce
properties
content complex
attributes
Name Type Use Default Fixed Annotation sizeInBitsOfSizeTag positiveInteger 16
annotation
documentation Like PASCAL strings, the size of the string is given as an integer at the start of the string. SizeTag must be an unsigned Integer
source
<element name="LeadingSize">
<annotation>
<documentation xml:lang="en">Like PASCAL strings, the size of the string is given as an integer at the start of the string. SizeTag must be an unsigned Integer</documentation>
</annotation>
<complexType>
<attribute name="sizeInBitsOfSizeTag" type="positiveInteger" default="16"/>
</complexType>
</element>
attribute
StringDataEncodingType/SizeInBits/LeadingSize/@sizeInBitsOfSizeTag
type
positiveInteger
properties
default 16
source
<attribute name="sizeInBitsOfSizeTag" type="positiveInteger" default="16"/>
XML Schema documentation generated by
XMLSpy
Schema Editor
http://www.altova.com/xmlspy