← Back to team overview

mlhim-specs-dev team mailing list archive

[Branch ~mlhim-specs-dev/mlhim-specs/main] Rev 320: Added enumerations for DvQuantifiedType.magnitude-status values.

 

------------------------------------------------------------
revno: 320
committer: timothywayne-cook <tim@xxxxxxxxx>
branch nick: mlhim-specs
timestamp: Sat 2013-02-09 18:13:38 -0200
message:
  Added enumerations for DvQuantifiedType.magnitude-status values.
modified:
  schemas/2_4_1/mlhim2.xsd


--
lp:mlhim-specs
https://code.launchpad.net/~mlhim-specs-dev/mlhim-specs/main

Your team MLHIM Specifications Developers is subscribed to branch lp:mlhim-specs.
To unsubscribe from this branch go to https://code.launchpad.net/~mlhim-specs-dev/mlhim-specs/main/+edit-subscription
=== modified file 'schemas/2_4_1/mlhim2.xsd'
--- schemas/2_4_1/mlhim2.xsd	2013-01-30 11:42:57 +0000
+++ schemas/2_4_1/mlhim2.xsd	2013-02-09 20:13:38 +0000
@@ -100,8 +100,7 @@
   
   <xs:complexType name="DvStringType">
     <xs:annotation>
-      <xs:documentation>The string data type can contain characters, line feeds, carriage returns, and tab characters.
-      </xs:documentation>
+      <xs:documentation>The string data type can contain characters, line feeds, carriage returns, and tab characters.</xs:documentation>
     </xs:annotation>
     <xs:complexContent>
       <xs:extension base="mlhim2:DvAnyType">
@@ -399,7 +398,7 @@
               <xs:documentation>The optional maximum value allowed for magnitude. </xs:documentation>
             </xs:annotation>
           </xs:element>
-          <xs:element maxOccurs="1" minOccurs="0" name="magnitude-status" type="xs:string">
+          <xs:element maxOccurs="1" minOccurs="0" name="magnitude-status">
             <xs:annotation>
               <xs:documentation><!-- Optional status of magnitude with values:
                 •
@@ -417,6 +416,16 @@
                 If not present, meaning is “=”.-->
               </xs:documentation>
             </xs:annotation>
+            <xs:simpleType>
+              <xs:restriction base="xs:string">
+                <xs:enumeration value="="/>
+                <xs:enumeration value="&lt;"/>
+                <xs:enumeration value="&gt;"/>
+                <xs:enumeration value="&lt;="/>
+                <xs:enumeration value="&gt;="/>
+                <xs:enumeration value="~"/>
+              </xs:restriction>  
+            </xs:simpleType>  
           </xs:element>
           <xs:element maxOccurs="1" minOccurs="1" name="error" default="0" type="xs:int">
             <xs:annotation>
@@ -614,7 +623,7 @@
   
   <xs:complexType name="DvTemporalType">
     <xs:annotation>
-      <xs:documentation>Abstract class defining the concept of date and time types. </xs:documentation>
+      <xs:documentation>Class defining the concept of date and time types. </xs:documentation>
     </xs:annotation>
     <xs:complexContent>
       <xs:extension base="mlhim2:DvOrderedType">