[elbe-devel] [PATCH v4 1/3] schema: Add a section for source CD-ROMs

Akash Satamkar akash at linutronix.de
Thu Aug 22 12:21:39 CEST 2019


Change the schema to contain an additional main section that shall be
used for all configuration regarding source CD-ROMs.

Move the existing elements to the new section.

Signed-off-by: Akash Satamkar <akash at linutronix.de>
---
 schema/dbsfed.xsd | 86 ++++++++++++++++++++++++++++-------------------
 1 file changed, 52 insertions(+), 34 deletions(-)

diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index c321090b..14789d4e 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -113,6 +113,13 @@
           </documentation>
         </annotation>
       </element>
+      <element name="src-cdrom" type="rfs:src-cdrom" minOccurs="0" maxOccurs="1">
+        <annotation>
+          <documentation>
+            Configurations of the source CDROM
+          </documentation>
+        </annotation>
+      </element>
     </all>
     <attribute name="created" type="dateTime">
       <annotation>
@@ -899,13 +906,6 @@
           </documentation>
         </annotation>
       </element>
-      <element name="src-opts" type="rfs:iso-opts" minOccurs="0" maxOccurs="1">
-	<annotation>
-          <documentation>
-	    Give options for the source cdrom ISO image.
-          </documentation>
-        </annotation>
-      </element>
     </all>
     <attribute ref="xml:base"/>
   </complexType>
@@ -2473,33 +2473,6 @@
     </simpleContent>
   </complexType>
 
-  <complexType name="iso-opts">
-    <annotation>
-      <documentation>
-        ISO image options passed to genisoimage(1) or mkisofs(8).
-      </documentation>
-    </annotation>
-    <all>
-      <element name="abstract" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
-      <element name="app" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
-      <element name="biblio" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
-      <element name="copyright" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
-      <element name="publisher" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
-      <element name="preparer" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
-      <element name="sysid" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
-      <element name="volid" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
-      <element name="volset" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
-    </all>
-    <attribute name="strict" type="boolean" use="optional">
-      <annotation>
-        <documentation>
-          If set to "true", fails in preprocessing stage if an option
-          doesn't respect ISO-9660.  The default is "false".
-        </documentation>
-      </annotation>
-    </attribute>
-  </complexType>
-
   <complexType name="unit-tests">
     <annotation>
       <documentation>
@@ -2546,4 +2519,49 @@
     </choice>
   </group>
 
+  <complexType name="src-cdrom">
+    <annotation>
+      <documentation>
+         Configuration of the src-cdrom
+      </documentation>
+    </annotation>
+    <all>
+      <element name="src-opts" type="rfs:iso-opts" minOccurs="0" maxOccurs="1">
+	<annotation>
+          <documentation>
+	    Give options for the source cdrom ISO image.
+          </documentation>
+        </annotation>
+      </element>
+    </all>
+    <attribute ref="xml:base"/>
+  </complexType>
+
+  <complexType name="iso-opts">
+    <annotation>
+      <documentation>
+        ISO image options passed to genisoimage(1) or mkisofs(8).
+      </documentation>
+    </annotation>
+    <all>
+      <element name="abstract" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
+      <element name="app" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
+      <element name="biblio" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
+      <element name="copyright" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
+      <element name="publisher" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
+      <element name="preparer" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
+      <element name="sysid" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
+      <element name="volid" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
+      <element name="volset" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
+    </all>
+    <attribute name="strict" type="boolean" use="optional">
+      <annotation>
+        <documentation>
+          If set to "true", fails in preprocessing stage if an option
+          doesn't respect ISO-9660.  The default is "false".
+        </documentation>
+      </annotation>
+    </attribute>
+  </complexType>
+
 </schema>
-- 
2.20.1




More information about the elbe-devel mailing list