lcdd/schemas/lcdd/1.0
diff -u -r1.1 -r1.2
--- lcdd_header.xsd 29 Aug 2005 17:26:14 -0000 1.1
+++ lcdd_header.xsd 31 Aug 2005 20:34:09 -0000 1.2
@@ -16,12 +16,12 @@
</xs:annotation>
<xs:all>
- <xs:element name="detector" type="DetectorType" maxOccurs="1" />
- <xs:element name="author" type="AuthorType" maxOccurs="1" />
- <xs:element name="generator" type="GeneratorType" maxOccurs="1" />
- <xs:element name="comment" type="xs:string" maxOccurs="1" />
+ <xs:element name="detector" type="DetectorType" minOccurs="1" maxOccurs="1" />
+ <xs:element name="author" type="AuthorType" minOccurs="0" maxOccurs="1" />
+ <xs:element name="generator" type="GeneratorType" minOccurs="0" maxOccurs="1" />
+ <xs:element name="comment" type="xs:string" minOccurs="0" maxOccurs="1" />
</xs:all>
-
+
</xs:complexType>
<xs:complexType name="DetectorType">
@@ -31,8 +31,8 @@
</xs:documentation>
</xs:annotation>
<xs:attribute name="name" type="xs:string" />
- <xs:attribute name="version" type="xs:string" />
- <xs:attribute name="url" type="xs:string" />
+ <xs:attribute name="version" type="xs:string" default="1.0" />
+ <xs:attribute name="url" type="xs:anyURI" default="http://www.example.com"/>
</xs:complexType>
<xs:complexType name="AuthorType">
@@ -51,12 +51,12 @@
Info on script or compact generator of this file.
</xs:documentation>
</xs:annotation>
- <xs:attribute name="name" type="xs:string" />
- <xs:attribute name="version" type="xs:string" />
- <xs:attribute name="file" type="xs:string" />
- <xs:attribute name="checksum" type="xs:unsignedInt" />
+ <xs:attribute name="name" type="xs:string" default="NONE" />
+ <xs:attribute name="version" type="xs:string" default="1.0" />
+ <xs:attribute name="file" type="xs:string" default="NONE" />
+ <xs:attribute name="checksum" type="xs:unsignedInt" default="0" />
</xs:complexType>
<xs:element name="header" type="HeaderType" />
-
+
</xs:schema>
\ No newline at end of file