Skip to content

Commit

Permalink
Let AccuracyType extend PrimaryType
Browse files Browse the repository at this point in the history
  • Loading branch information
misdoro committed May 19, 2011
1 parent b38bd92 commit d30ccf6
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions typesAttributes.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -116,23 +116,27 @@
<xs:annotation>
<xs:documentation>Accuracy of numerical data</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Systematic" type="AccuracyErrorType" minOccurs="0"/>
<xs:choice minOccurs="0">
<xs:element name="Statistical" type="AccuracyErrorType"/>
<xs:complexContent>
<xs:extension base="PrimaryType">
<xs:sequence>
<xs:element name="StatHigh" type="AccuracyErrorType"/>
<xs:element name="StatLow" type="AccuracyErrorType"/>
<xs:element name="Systematic" type="AccuracyErrorType" minOccurs="0"/>
<xs:choice minOccurs="0">
<xs:element name="Statistical" type="AccuracyErrorType"/>
<xs:sequence>
<xs:element name="StatHigh" type="AccuracyErrorType"/>
<xs:element name="StatLow" type="AccuracyErrorType"/>
</xs:sequence>
</xs:choice>
</xs:sequence>
</xs:choice>
</xs:sequence>
<xs:attribute name="calibration" type="AccuracyCalibrationType"/>
<xs:attribute name="quality" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>0 means quality is guaranteed,
any other value means data might be bad for some reason</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="calibration" type="AccuracyCalibrationType"/>
<xs:attribute name="quality" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>0 means quality is guaranteed,
any other value means data might be bad for some reason</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>

<xs:complexType name="AccuracyErrorType">
Expand Down

0 comments on commit d30ccf6

Please sign in to comment.