← Back to team overview

mlhim-specs-dev team mailing list archive

[Branch ~cdd-dev/cdd/trunk] Rev 183: Removed the old unused part of the generator.

 

------------------------------------------------------------
revno: 183
committer: Eduardo César <xcesar@xxxxxxxxx>
branch nick: cdd
timestamp: Thu 2012-07-19 20:24:38 -0300
message:
  Removed the old unused part of the generator.
modified:
  src/cdg_custom.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/cdg_custom.py'
--- src/cdg_custom.py	2012-07-19 22:28:55 +0000
+++ src/cdg_custom.py	2012-07-19 23:24:38 +0000
@@ -100,37 +100,6 @@
 
   <xs:element name='CCD' type="mlhim2:{ccd_id}"/>
 
-  <xs:complexType name="{ccd_id}">
-    <xs:complexContent>
-    <xs:restriction base="mlhim2:CCDType">
-	<xs:sequence>
-	  <xs:element name="definition"  minOccurs="1"  maxOccurs="1" type="mlhim2:{UUID_definition}"/>
-	</xs:sequence>
-    </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="{UUID_definition}">
-    <xs:complexContent>
-    <xs:restriction base="mlhim2:String">
-	<xs:sequence>
-	  <xs:element name="String_dv"  minOccurs="1"  maxOccurs="1" type="mlhim2:{UUID_DvString}"/>
-   	</xs:sequence>
-    </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="{UUID_DvString}">
-    <xs:complexContent>
-      <xs:restriction base="mlhim2:DvStringType">
-	    <xs:sequence>
-          <xs:element name="DvString_dv" type="xs:string" minOccurs="0"  maxOccurs="1"/>
-    	</xs:sequence>
-      <xs:attribute name="data_name" type="xs:string" fixed="{title}"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
 </xs:schema>
 """.format(ccd_id = self.ccd_id,
            UUID_definition = UUID_definition,