complexType ErrorDetectCorrectType
diagram SpaceSystemV1.2-27Feb2014-mods_p195.png
namespace http://www.omg.org/space/xtce
children xtce:Parity xtce:CRC
used by
element DataEncodingType/ErrorDetectCorrect
annotation
documentation
A simple element that provides for simple, but common error checking and detection.
source <complexType name="ErrorDetectCorrectType">
 
<annotation>
   
<documentation xml:lang="en">A simple element that provides for simple, but common error checking and detection.</documentation>
 
</annotation>
 
<choice>
   
<element name="Parity">
     
<annotation>
       
<documentation xml:lang="en">Bit position starts with 'zero'.</documentation>
     
</annotation>
     
<complexType>
       
<attribute name="type" use="required">
         
<simpleType>
           
<restriction base="string">
             
<enumeration value="Even"/>
             
<enumeration value="Odd"/>
           
</restriction>
         
</simpleType>
       
</attribute>
       
<attribute name="bitsFromReference" type="nonNegativeInteger" use="required"/>
       
<attribute name="reference" default="start">
         
<simpleType>
           
<restriction base="string">
             
<enumeration value="start"/>
             
<enumeration value="end"/>
           
</restriction>
         
</simpleType>
       
</attribute>
     
</complexType>
   
</element>
   
<element name="CRC">
     
<annotation>
       
<documentation xml:lang="en">Cyclic Redundancy Check (CRC) definition. Legal values for coefficient's are 0 or 1. Exponents must be integer values.</documentation>
     
</annotation>
     
<complexType>
       
<sequence>
         
<element name="Polynomial" type="xtce:PolynomialType"/>
       
</sequence>
       
<attribute name="bitsFromReference" type="nonNegativeInteger"/>
       
<attribute name="reference" default="start">
         
<simpleType>
           
<restriction base="string">
             
<enumeration value="start"/>
             
<enumeration value="end"/>
           
</restriction>
         
</simpleType>
       
</attribute>
     
</complexType>
   
</element>
 
</choice>
</complexType>

element ErrorDetectCorrectType/Parity
diagram SpaceSystemV1.2-27Feb2014-mods_p196.png
namespace http://www.omg.org/space/xtce
properties
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
type  derived by: string  required      
bitsFromReference  nonNegativeInteger  required      
reference  derived by: string    start    
annotation
documentation
Bit position starts with 'zero'.
source <element name="Parity">
 
<annotation>
   
<documentation xml:lang="en">Bit position starts with 'zero'.</documentation>
 
</annotation>
 
<complexType>
   
<attribute name="type" use="required">
     
<simpleType>
       
<restriction base="string">
         
<enumeration value="Even"/>
         
<enumeration value="Odd"/>
       
</restriction>
     
</simpleType>
   
</attribute>
   
<attribute name="bitsFromReference" type="nonNegativeInteger" use="required"/>
   
<attribute name="reference" default="start">
     
<simpleType>
       
<restriction base="string">
         
<enumeration value="start"/>
         
<enumeration value="end"/>
       
</restriction>
     
</simpleType>
   
</attribute>
 
</complexType>
</element>

attribute ErrorDetectCorrectType/Parity/@type
type restriction of string
properties
use required
facets
Kind Value Annotation
enumeration Even
enumeration Odd
source <attribute name="type" use="required">
 
<simpleType>
   
<restriction base="string">
     
<enumeration value="Even"/>
     
<enumeration value="Odd"/>
   
</restriction>
 
</simpleType>
</attribute>

attribute ErrorDetectCorrectType/Parity/@bitsFromReference
type nonNegativeInteger
properties
use required
source <attribute name="bitsFromReference" type="nonNegativeInteger" use="required"/>

attribute ErrorDetectCorrectType/Parity/@reference
type restriction of string
properties
default start
facets
Kind Value Annotation
enumeration start
enumeration end
source <attribute name="reference" default="start">
 
<simpleType>
   
<restriction base="string">
     
<enumeration value="start"/>
     
<enumeration value="end"/>
   
</restriction>
 
</simpleType>
</attribute>

element ErrorDetectCorrectType/CRC
diagram SpaceSystemV1.2-27Feb2014-mods_p197.png
namespace http://www.omg.org/space/xtce
properties
content complex
children xtce:Polynomial
attributes
Name  Type  Use  Default  Fixed  Annotation
bitsFromReference  nonNegativeInteger        
reference  derived by: string    start    
annotation
documentation
Cyclic Redundancy Check (CRC) definition. Legal values for coefficient's are 0 or 1. Exponents must be integer values.
source <element name="CRC">
 
<annotation>
   
<documentation xml:lang="en">Cyclic Redundancy Check (CRC) definition. Legal values for coefficient's are 0 or 1. Exponents must be integer values.</documentation>
 
</annotation>
 
<complexType>
   
<sequence>
     
<element name="Polynomial" type="xtce:PolynomialType"/>
   
</sequence>
   
<attribute name="bitsFromReference" type="nonNegativeInteger"/>
   
<attribute name="reference" default="start">
     
<simpleType>
       
<restriction base="string">
         
<enumeration value="start"/>
         
<enumeration value="end"/>
       
</restriction>
     
</simpleType>
   
</attribute>
 
</complexType>
</element>

attribute ErrorDetectCorrectType/CRC/@bitsFromReference
type nonNegativeInteger
source <attribute name="bitsFromReference" type="nonNegativeInteger"/>

attribute ErrorDetectCorrectType/CRC/@reference
type restriction of string
properties
default start
facets
Kind Value Annotation
enumeration start
enumeration end
source <attribute name="reference" default="start">
 
<simpleType>
   
<restriction base="string">
     
<enumeration value="start"/>
     
<enumeration value="end"/>
   
</restriction>
 
</simpleType>
</attribute>

element ErrorDetectCorrectType/CRC/Polynomial
diagram SpaceSystemV1.2-27Feb2014-mods_p198.png
namespace http://www.omg.org/space/xtce
type xtce:PolynomialType
properties
content complex
children xtce:Term
source <element name="Polynomial" type="xtce:PolynomialType"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy