source |
<xs:simpleType name="SFInt32">
<xs:annotation>
<xs:appinfo>
<xs:attribute name="defaultValue" type="SFInt32" default="0"/>
<!-- https://stackoverflow.com/questions/9043551/regex-match-integer-only -->
<xs:pattern value="(\s)*[+-]?(0|[1-9][0-9]*)([Ee][+-]?[0-9]+)?(\s)*"/>
SFInt32 specifies one 32-bit signed integer.
</xs:appinfo>
<xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/fieldsDef.html#SFInt32AndMFInt32"/>
</xs:annotation>
<xs:restriction base="xs:integer"/>
</xs:simpleType> |