Skip to content

Commit 55b27be

Browse files
committed
Be more restrictive in XML schema version check
1 parent 53f744a commit 55b27be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osmp.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<xs:complexType>
88
<xs:attribute name="version" use="required">
99
<xs:simpleType>
10-
<xs:restriction base="xs:string"><xs:pattern value="[1-3][.][0-9][.][0-9]+"></xs:pattern></xs:restriction>
10+
<xs:restriction base="xs:string"><xs:pattern value="[13][.][0-9][.][0-9]+"></xs:pattern></xs:restriction>
1111
</xs:simpleType>
1212
</xs:attribute>
1313
<xs:attribute name="osi-version" type="xs:string" use="optional"/>

0 commit comments

Comments
 (0)