Print

Print


Commit in lcdd/schemas/lcdd/1.0 on MAIN
limits.xsd+28-31.1 -> 1.2
Revision of limits schema.

lcdd/schemas/lcdd/1.0
limits.xsd 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- limits.xsd	30 Mar 2005 19:06:52 -0000	1.1
+++ limits.xsd	8 Jul 2005 17:35:26 -0000	1.2
@@ -6,6 +6,30 @@
 	   xmlns:xs="http://www.w3.org/2001/XMLSchema"
 	   xmlns:lcdd="http://www.lcsim.org/schemas/lcdd/1.0/">
 
+  <xs:complexType name="LimitParamType">
+    <xs:annotation>
+      <xs:documentation>
+	A single Geant4 user limit parameter.
+      </xs:documentation>
+    </xs:annotation>
+    <xs:attribute name="name" type="xs:string" />
+    <xs:attribute name="particles" type="xs:string" />
+    <xs:attribute name="value" type="xs:double" />
+    <xs:attribute name="unit" type="xs:string" />
+  </xs:complexType>
+
+  <xs:element name="limitp" type="LimitParamType" />
+
+  <xs:complexType name="LimitSetType">
+    <xs:annotation>
+      <xs:documentation>
+	A named set of Geant4 user limit parameters.
+      </xs:documentation>
+    </xs:annotation>
+  </xs:complexType>
+
+  <xs:element name="limitset" type="LimitSetType" />
+
   <xs:complexType name="UserLimitType">
     <xs:annotation>
       <xs:documentation>
@@ -38,9 +62,10 @@
       <xs:documentation>
       </xs:documentation>
     </xs:annotation>
-    <xs:sequence>
-      <xs:element name="limit" minOccurs="0" maxOccurs="unbounded" type="UserLimitType" />
-    </xs:sequence>
+    <xs:all>
+      <xs:element ref="limit" minOccurs="0" maxOccurs="unbounded" />
+      <xs:element ref="limitset" minOccurs="0" maxOccurs="unbounded" />
+    </xs:all>
   </xs:complexType>
 
   <xs:element name="limits" type="UserLimitsType">
CVSspam 0.2.8