pld-builder.new: xml/queue.xsd (NEW) - dead last: XML Schema file; ...
mmazur
mmazur at pld-linux.org
Thu Jan 24 05:09:43 CET 2008
Author: mmazur Date: Thu Jan 24 04:09:43 2008 GMT
Module: pld-builder.new Tag: HEAD
---- Log message:
- dead last: XML Schema file; same usage as DTD, just more accurate
---- Files affected:
pld-builder.new/xml:
queue.xsd (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: pld-builder.new/xml/queue.xsd
diff -u /dev/null pld-builder.new/xml/queue.xsd:1.1
--- /dev/null Thu Jan 24 05:09:43 2008
+++ pld-builder.new/xml/queue.xsd Thu Jan 24 05:09:38 2008
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+targetNamespace="http://pld-linux.org"
+xmlns="http://pld-linux.org"
+elementFormDefault="qualified">
+
+<xs:element name="queue">
+<xs:complexType>
+<xs:sequence>
+ <xs:element name="group" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="requester">
+ <xs:complexType mixed="true">
+ <xs:attribute name="email" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="time" type="xs:integer"/>
+ <xs:element name="priority" type="xs:integer"/>
+ <xs:element name="batch" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="src-rpm" type="xs:string"/>
+ <xs:element name="command">
+ <xs:complexType mixed="true">
+ <xs:attribute name="flags" type="xs:string" default=""/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="spec" type="xs:string"/>
+ <xs:element name="branch" type="xs:string"/>
+ <xs:element name="info" type="xs:string" default=""/>
+ <xs:element name="kernel" type="xs:string" minOccurs="0"/>
+ <xs:element name="with" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="without" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="builder" maxOccurs="unbounded">
+ <xs:complexType mixed="true">
+ <xs:attribute name="status" type="xs:string" default=""/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:string"/>
+ <xs:attribute name="depends-on" type="xs:string" default=""/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:string"/>
+ <xs:attribute name="no" type="xs:integer"/>
+ <xs:attribute name="flags" type="xs:string" default=""/>
+ </xs:complexType>
+ </xs:element>
+</xs:sequence>
+</xs:complexType>
+</xs:element>
+
+</xs:schema>
================================================================
More information about the pld-cvs-commit
mailing list