Print

Print


Commit in lcdd/schemas/lcdd/1.0 on MAIN
lcdd_display.xsd+20-51.1 -> 1.2
JM: Add enumerations for line_style and drawing_style of vis.

lcdd/schemas/lcdd/1.0
lcdd_display.xsd 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- lcdd_display.xsd	29 Aug 2005 17:26:14 -0000	1.1
+++ lcdd_display.xsd	17 Sep 2006 00:14:59 -0000	1.2
@@ -32,20 +32,35 @@
     <xs:attribute name="visible" type="xs:boolean"/>
     <xs:attribute name="show_daughters" type="xs:boolean"/>
 
-    <xs:attribute name="line_style" type="xs:string">
+    <xs:attribute name="line_style">
       <xs:annotation>
 	<xs:documentation>
-	  valid values = "unbroken", "dashed" or "dotted"
+	  The line style of the volume.
+	  Valid values are unbroken, dashed, and dotted.
 	</xs:documentation>
       </xs:annotation>
+      <xs:simpleType>
+	<xs:restriction base="xs:string">
+	  <xs:enumeration value="unbroken"/>
+	  <xs:enumeration value="dashed"/>
+	  <xs:enumeration value="dotted"/>
+	</xs:restriction>
+      </xs:simpleType>
     </xs:attribute>
 
-    <xs:attribute name="drawing_style" type="xs:string">
+    <xs:attribute name="drawing_style">
       <xs:annotation>
 	<xs:documentation>
-	  valid values = "wireframe" or "solid"
+	  The draw style of the volume.
+	  Valid values are wireframe or solid.
 	</xs:documentation>
-      </xs:annotation>      
+      </xs:annotation>
+      <xs:simpleType>
+	<xs:restriction base="xs:string">
+	  <xs:enumeration value="wireframe"/>
+	  <xs:enumeration value="solid"/>
+	</xs:restriction>
+      </xs:simpleType>
     </xs:attribute>
 
   </xs:complexType>
CVSspam 0.2.8