mlhim-specs-dev team mailing list archive
-
mlhim-specs-dev team
-
Mailing list archive
-
Message #00603
[Branch ~cdd-dev/cdd/trunk] Rev 184: Added some structures to the definition of CDD, in the generator.
------------------------------------------------------------
revno: 184
committer: Eduardo César <xcesar@xxxxxxxxx>
branch nick: cdd
timestamp: Thu 2012-07-19 21:08:18 -0300
message:
Added some structures to the definition of CDD, in 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 23:24:38 +0000
+++ src/cdg_custom.py 2012-07-20 00:08:18 +0000
@@ -99,6 +99,15 @@
<xs:include schemaLocation="http://www.mlhim.org/xmls/mlhim2/2_3_0/mlhim2.xsd"/>
<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:schema>
""".format(ccd_id = self.ccd_id,