diff dtds/warfoundry-core.xsd @ 160:41b927998a41

Re #152: Test and fix extensibility of current schemas * Fix use of <xs:any> by defining <core:extension> tag * Remove unnecessary min/maxOccurs=1 attributes
author IBBoard <dev@ibboard.co.uk>
date Sun, 04 Oct 2009 10:49:17 +0000
parents 863518044d38
children 22429737cd77
line wrap: on
line diff
--- a/dtds/warfoundry-core.xsd	Wed Sep 30 19:08:08 2009 +0000
+++ b/dtds/warfoundry-core.xsd	Sun Oct 04 10:49:17 2009 +0000
@@ -1,6 +1,13 @@
 <?xml version="1.0"?>
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ibboard.co.uk/warfoundry/core"
 xmlns="http://ibboard.co.uk/warfoundry/core" elementFormDefault="qualified">
+<xs:element name="extension">
+	<xs:complexType>
+		<xs:sequence>
+			<xs:any minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+	</xs:complexType>
+	</xs:element>
 <xs:simpleType name="positiveOrInfiniteInteger">
 	<xs:union memberTypes="xs:positiveInteger infinity"/>
 </xs:simpleType>