Skip to content

Commit

Permalink
Backported some validations
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmadjack committed Jun 19, 2013
1 parent 15a992c commit cbb2836
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions GameSaveInfo20.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<xs:simpleType name="safestring">
<xs:restriction base="xs:string">
<xs:pattern value="[-_A-Za-z0-9]*"/>
<xs:pattern value="[-_A-Za-z0-9]+"/>
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
Expand Down Expand Up @@ -242,7 +242,7 @@
</xs:simpleType>
</xs:attribute>

<xs:attribute name="type" type="xs:string" use="optional"/>
<xs:attribute name="type" type="safestring" use="optional"/>
<xs:attribute name="disc" type="xs:integer" use="optional"/>
<xs:attribute name="append" type="path" use="optional"/>
</xs:attributeGroup>
Expand Down
4 changes: 2 additions & 2 deletions GameSaveInfo202.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<xs:simpleType name="safestring">
<xs:restriction base="xs:string">
<xs:pattern value="[-_A-Za-z0-9]*"/>
<xs:pattern value="[-_A-Za-z0-9]+"/>
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
Expand Down Expand Up @@ -242,7 +242,7 @@
</xs:simpleType>
</xs:attribute>

<xs:attribute name="type" type="xs:string" use="optional"/>
<xs:attribute name="type" type="safestring" use="optional"/>
<xs:attribute name="disc" type="xs:integer" use="optional"/>
<xs:attribute name="append" type="path" use="optional"/>
</xs:attributeGroup>
Expand Down

0 comments on commit cbb2836

Please sign in to comment.