summaryrefslogtreecommitdiffstats
path: root/Schemas
diff options
context:
space:
mode:
Diffstat (limited to 'Schemas')
-rw-r--r--Schemas/ParameterSettings.xsd9
1 files changed, 4 insertions, 5 deletions
diff --git a/Schemas/ParameterSettings.xsd b/Schemas/ParameterSettings.xsd
index d0a14fe..1e346b2 100644
--- a/Schemas/ParameterSettings.xsd
+++ b/Schemas/ParameterSettings.xsd
@@ -27,8 +27,8 @@
<xs:complexType name="IntegerParameterType">
<xs:simpleContent>
<xs:restriction base="ParameterType">
- <xs:pattern value="(0|[+-]?[1-9][0-9]*[\s]*)+"/>
- <xs:pattern value="(0x[0-9a-fA-F]+\s*)+"/>
+ <xs:pattern value="(0|([+-]?[1-9][0-9]*))(\s+(0|([+-]?[1-9][0-9]*)))*"/>
+ <xs:pattern value="(0x[0-9a-fA-F]+)(\s+(0x[0-9a-fA-F]+))*"/>
<xs:attribute name="ValueSpace" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
@@ -43,9 +43,8 @@
<xs:complexType name="FixedPointParameterType">
<xs:simpleContent>
<xs:restriction base="ParameterType">
- <xs:pattern value="((0|[+-]?[1-9][0-9]*)\s*)+"/>
- <xs:pattern value="(0\.0|[+-]?([1-9][0-9]*|0)(\.[0-9]+)?\s*)+"/>
- <xs:pattern value="(0x[0-9a-fA-F]+\s*)+"/>
+ <xs:pattern value="((0|[+-]?0\.[0-9]+|(([+-]?[1-9][0-9]*)(\.[0-9]+)?))(e[+-]?[0-9]+)?)(\s+(0|[+-]?0\.[0-9]+|(([+-]?[1-9][0-9]*)(\.[0-9]+)?))(e[+-]?[0-9]+)?)*"/>
+ <xs:pattern value="(0x[0-9a-fA-F]+)(\s+(0x[0-9a-fA-F]+))*"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>