diff dtds/translation.xsd @ 35:2b5e73cb83a3

Re #21 - Reduce specificity of translations file * Add minOccurs="0" to XSD * Remove check for zero translations returned
author IBBoard <dev@ibboard.co.uk>
date Tue, 19 May 2009 19:35:34 +0000
parents ea058f9ea9d4
children
line wrap: on
line diff
--- a/dtds/translation.xsd	Tue May 19 14:24:00 2009 +0000
+++ b/dtds/translation.xsd	Tue May 19 19:35:34 2009 +0000
@@ -10,7 +10,7 @@
 <xs:element name="translations">
   <xs:complexType>
     <xs:sequence>
-      <xs:element name="translation" maxOccurs="unbounded" type="translationtype"/>
+      <xs:element name="translation" minOccurs="0" maxOccurs="unbounded" type="translationtype"/>
     </xs:sequence>
     <xs:attribute name="lang" type="xs:string" use="required"/>
   </xs:complexType>