Skip to content

Commit

Permalink
Merge pull request #65 from OpenSimulationInterface/feature/schema-mi…
Browse files Browse the repository at this point in the history
…nor-releases

Make XML schema flexible about patch/minor releases
  • Loading branch information
pmai authored May 12, 2021
2 parents 27366a4 + b6be762 commit 26377e0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion osmp.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
vc:minVersion="1.0" vc:maxVersion="1.1">
<xs:element name="osmp">
<xs:complexType>
<xs:attribute name="version" type="xs:string" use="required" fixed="1.1.0"/>
<xs:attribute name="version" use="required">
<xs:simpleType>
<xs:restriction base="xs:string"><xs:pattern value="1[.][0-9][.][0-9]+"></xs:pattern></xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="osi-version" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
Expand Down

0 comments on commit 26377e0

Please sign in to comment.