Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

[WIP]Loose numeric format #338

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions schemas/ParameterSettings.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
<xs:complexType name="BooleanParameterType">
<xs:simpleContent>
<xs:restriction base="ParameterType">
<xs:pattern value="([01][\s]*)+"/>
<xs:pattern value="((0x0|0x1)[\s]*)+"/>
<xs:pattern value="[01]([\s]+[01])*"/>
<xs:pattern value="0x[01]([\s]+0x[01])*"/>
<xs:attribute name="ValueSpace" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="IntegerParameterType">
<xs:simpleContent>
<xs:restriction base="ParameterType">
<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:pattern value="[+-]?\d+(\s+[+-]?\d+)*"/>
<xs:pattern value="0x[0-9a-fA-F]+(\s+(0x[0-9a-fA-F]+))*"/>
<xs:attribute name="ValueSpace" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
Expand All @@ -43,7 +43,7 @@
<xs:complexType name="PointParameterType">
<xs:simpleContent>
<xs:restriction base="ParameterType">
<xs:pattern value="((0|[+-]?0\.[0-9]+|(([+-]?[1-9][0-9]*)(\.[0-9]+)?))([Ee][+-]?[0-9]+)?)(\s+(0|[+-]?0\.[0-9]+|(([+-]?[1-9][0-9]*)(\.[0-9]+)?))([Ee][+-]?[0-9]+)?)*"/>
<xs:pattern value="[+-]?\d+(\.\d+)?([eE][+-]?\d+)?(\s+[+-]?\d+(\.\d+)?([eE][+-]?\d+)?)*"/>
<xs:pattern value="(0x[0-9a-fA-F]+)(\s+(0x[0-9a-fA-F]+))*"/>
</xs:restriction>
</xs:simpleContent>
Expand Down
Loading