]> AND Private Git Repository - blast.git/blobdiff - implementation.xsd
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
changed sources to stimulis
[blast.git] / implementation.xsd
index c8385148e3ef1b53be83f50239a81884c519f98a..d69fe735c9d6c2aaab2015f05155c6bbac7247c7 100644 (file)
@@ -15,6 +15,8 @@
     <xs:attribute name="value" type="xs:string" />
     <xs:attribute name="pattern" type="xs:string"/>
     <xs:attribute name="counter" type="xs:string"/>
+    <xs:attribute name="comp_list" type="xs:string"/>
+    
 
     <!-- déclaration des groupes d'éléments -->
 
     <xs:group name="commentsElmtGroup">
        <xs:sequence>
          <xs:element ref="author"/>
-         <xs:element ref="date"/>        
-         <xs:element ref="related_files"/>
-         <xs:element ref="description"/>
-         <xs:element ref="notes"/>       
+         <xs:element ref="log"/>         
+         <xs:element name="notes" type="xs:string"/>
        </xs:sequence>
     </xs:group>
 
        </xs:complexType>
     </xs:element>
 
-    <xs:element name="date">
-       <xs:complexType>
-         <xs:attribute ref="creation" />
-       </xs:complexType>
+    <xs:element name="log">
+      <xs:complexType>
+       <xs:sequence>
+         <xs:element ref="modification" minOccurs="0" maxOccurs="unbounded" />
+       </xs:sequence>
+       <xs:attribute ref="creation" />
+      </xs:complexType>
     </xs:element>
 
-    <xs:element name="related_files">
-       <xs:complexType>
-         <xs:attribute ref="list" />
-       </xs:complexType>
+    <xs:element name="modification">
+      <xs:complexType>
+       <xs:simpleContent>
+         <xs:extension base="xs:string">
+         <xs:attribute name="id" type="xs:nonNegativeInteger" />
+         <xs:attribute name="date" type="xs:date" />
+         </xs:extension>
+       </xs:simpleContent>
+      </xs:complexType>
     </xs:element>
     
-    <xs:element name="description" type="xs:string" />
-
-    <xs:element name="notes" type="xs:string" />
-
     <xs:element name="libraries">
       <xs:complexType>
        <xs:sequence>
          <xs:attribute ref="use" />
        </xs:complexType>
     </xs:element>
-        
-    <xs:element name="architecture" type="xs:string" />
+
+    <xs:element name="architecture">
+      <xs:complexType>
+       <xs:simpleContent>
+         <xs:extension base="xs:string">
+           <xs:attribute ref="comp_list" />
+         </xs:extension>
+       </xs:simpleContent>
+      </xs:complexType>
+    </xs:element> 
 
     <xs:element name="patterns">
        <xs:complexType>