view dtds/warfoundry-core.xsd @ 34:b28be912adab

Re #32 - Migrate to schema * Remove use of Categories (now just has a single category) * Fix infinite loop of trying to load files by adding a "is loading" flag * Fix invalid setting of MinSize to MaxNumber when we're testing if MinSize > MaxSize
author IBBoard <dev@ibboard.co.uk>
date Sun, 15 Mar 2009 16:07:52 +0000
parents 92cf25b0493b
children 548cfc776f54
line wrap: on
line source

<?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:simpleType name="infiniteOrNonNegativeDecimal">
  <xs:restriction base="xs:double">
    <xs:minInclusive value="-1"/>
  </xs:restriction>
</xs:simpleType>
<xs:simpleType name="infiniteOrNonNegativeInteger">
  <xs:restriction base="xs:integer">
    <xs:minInclusive value="-1"/>
  </xs:restriction>
</xs:simpleType>
<xs:simpleType name="nonNegativeDecimal">
  <xs:restriction base="xs:double">
    <xs:minInclusive value="0"/>
  </xs:restriction>
</xs:simpleType>
<xs:simpleType name="percentage">
  <xs:restriction base="xs:double">
    <xs:minInclusive value="0"/>
    <xs:maxInclusive value="100"/>
  </xs:restriction>
</xs:simpleType>
</xs:schema>