← Back to team overview

mlhim-specs-dev team mailing list archive

[Branch ~cdd-dev/cdd/trunk] Rev 224: Set minOccurs and maxOccurs to 1 in xs:element.

 

------------------------------------------------------------
revno: 224
committer: Eduardo C. P. Ribeiro <eduardo.cesar@xxxxxxx>
branch nick: cdd
timestamp: Sun 2012-08-26 12:52:35 -0300
message:
  Set minOccurs and maxOccurs to 1 in xs:element.
modified:
  src/cdd_version.py
  src/cdg_main.py


--
lp:cdd
https://code.launchpad.net/~cdd-dev/cdd/trunk

Your team MLHIM Specifications Developers is subscribed to branch lp:cdd.
To unsubscribe from this branch go to https://code.launchpad.net/~cdd-dev/cdd/trunk/+edit-subscription
=== modified file 'src/cdd_version.py'
--- src/cdd_version.py	2012-08-26 13:17:32 +0000
+++ src/cdd_version.py	2012-08-26 15:52:35 +0000
@@ -1,2 +1,2 @@
-REVNO = 222
+REVNO = 223
 VERSION = '2.3.0 Rev. %d' % (int(REVNO) + 1)

=== modified file 'src/cdg_main.py'
--- src/cdg_main.py	2012-08-26 13:17:32 +0000
+++ src/cdg_main.py	2012-08-26 15:52:35 +0000
@@ -500,12 +500,12 @@
 
   <xs:include schemaLocation="http://www.mlhim.org/xmls/mlhim2/2_3_0/mlhim2.xsd"/>
 
-  <xs:element name="{ccd_id}" type="mlhim2:{UUID_complex}"/>
+  <xs:element name="{ccd_id}" minOccurs="1" maxOccurs="1" type="mlhim2:{UUID_complex}"/>
   <xs:complexType name="{UUID_complex}">
     <xs:complexContent>
     <xs:restriction base="mlhim2:CCDType">
 	<xs:sequence>
-	  <xs:element name="definition"  minOccurs="1"  maxOccurs="1" type="mlhim2:{UUID_definition}"/>
+	  <xs:element name="definition" minOccurs="1" maxOccurs="1" type="mlhim2:{UUID_definition}"/>
 	</xs:sequence>
     </xs:restriction>
     </xs:complexContent>