Mercurial > repos > IBDev-IBBoard.WarFoundry.API
comparison dtds/warfoundry-core.xsd @ 43:d0812d7de39d
Re #49 - Resolve namespace issues
* Fix up some XPath queries
* Remove one unnecessary namespace
* Check local name of elements, not name (which is qualified)
* Add method to get double value from an attribute including handling INF
* Remove min/max for equipment item as it is now moved to the UnitType's reference to the equipment item
*
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 22 Mar 2009 17:05:01 +0000 |
parents | 3664eee50390 |
children | 76d274df9f28 |
comparison
equal
deleted
inserted
replaced
42:d0d44434b557 | 43:d0812d7de39d |
---|---|
28 <xs:restriction base="xs:double"> | 28 <xs:restriction base="xs:double"> |
29 <xs:minInclusive value="0"/> | 29 <xs:minInclusive value="0"/> |
30 <xs:maxInclusive value="100"/> | 30 <xs:maxInclusive value="100"/> |
31 </xs:restriction> | 31 </xs:restriction> |
32 </xs:simpleType> | 32 </xs:simpleType> |
33 <xs:simpleType name="nonNegativeOrInfiniteIntegerOrRatio"> | |
34 <xs:union memberTypes="xs:nonNegativeInteger infinity ratio"/> | |
35 </xs:simpleType> | |
36 <xs:simpleType name="ratio"> | |
37 <xs:restriction base="xs:double"> | |
38 <xs:minInclusive value="0"/> | |
39 <xs:maxInclusive value="1"/> | |
40 </xs:restriction> | |
41 </xs:simpleType> | |
33 </xs:schema> | 42 </xs:schema> |