port needs to be 1 inclusive because positiveInteger

This commit is contained in:
brent s. 2020-06-14 03:46:05 -04:00
parent 2219fbe4c0
commit a663b5802f
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
<xs:complexType name="e_repomir_tstmp_file">
<xs:simpleContent>
<xs:extension base="t_unix_filepath">
<xs:attribute name="timeFormat" type="xs:string" use="optional"/>
<xs:attribute name="timeFormat" type="xs:string" use="optional" default="UNIX_EPOCH"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>

View File

@ -119,7 +119,7 @@
<xs:simpleType name="t_net_port">
<xs:restriction base="xs:positiveInteger">
<xs:minExclusive value="0"/>
<xs:minInclusive value="1"/>
<xs:maxInclusive value="65535"/>
</xs:restriction>
</xs:simpleType>