← Back to team overview

mlhim-specs-dev team mailing list archive

[Branch ~mlhim-specs-dev/mlhim-specs/main] Rev 321: Assigned all DvTemporalType elements as min zero and max one.

 

------------------------------------------------------------
revno: 321
committer: timothywayne-cook <tim@xxxxxxxxx>
branch nick: mlhim-specs
timestamp: Sat 2013-02-09 18:47:34 -0200
message:
  Assigned all DvTemporalType elements as min zero and max one.
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-02-09 20:13:38 +0000
+++ schemas/2_4_1/mlhim2.xsd	2013-02-09 20:47:34 +0000
@@ -634,14 +634,14 @@
             </xs:annotation>
             <xs:complexType>
               <xs:choice>
-                <xs:element name="date" type="mlhim2:DvDateType"/>
-                <xs:element name="time" type="mlhim2:DvTimeType"/>
-                <xs:element name="datetime" type="mlhim2:DvDateTimeType"/>
-                <xs:element name="day" type="mlhim2:DvDayType"/>
-                <xs:element name="month" type="mlhim2:DvMonthType"/>
-                <xs:element name="year" type="mlhim2:DvYearType"/>
-                <xs:element name="year-month" type="mlhim2:DvYearMonthType"/>
-                <xs:element name="month-day" type="mlhim2:DvMonthDayType"/>
+                <xs:element maxOccurs="1" minOccurs="0" name="date" type="mlhim2:DvDateType"/>
+                <xs:element maxOccurs="1" minOccurs="0" name="time" type="mlhim2:DvTimeType"/>
+                <xs:element maxOccurs="1" minOccurs="0" name="datetime" type="mlhim2:DvDateTimeType"/>
+                <xs:element maxOccurs="1" minOccurs="0" name="day" type="mlhim2:DvDayType"/>
+                <xs:element maxOccurs="1" minOccurs="0" name="month" type="mlhim2:DvMonthType"/>
+                <xs:element maxOccurs="1" minOccurs="0" name="year" type="mlhim2:DvYearType"/>
+                <xs:element maxOccurs="1" minOccurs="0" name="year-month" type="mlhim2:DvYearMonthType"/>
+                <xs:element maxOccurs="1" minOccurs="0" name="month-day" type="mlhim2:DvMonthDayType"/>
               </xs:choice>
             </xs:complexType>                  
           </xs:element>