Skip to content

Commit

Permalink
fixed too strict title validation
Browse files Browse the repository at this point in the history
  • Loading branch information
smeyer-ilias committed Oct 20, 2023
1 parent 60d66fd commit 2c961c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions xml/ilias_exp_main_manifest.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
<xs:element minOccurs="1" maxOccurs="unbounded" ref="ExportSet"/>
</xs:sequence>
<xs:attribute name="MainEntity" type="lowercaseNameString" use="required"/>
<!-- nameString is to strict
<xs:attribute name="Title" type="nameString" use="required"/>
-->
<xs:attribute name="Title" type="xs:string" use="required"/>
<xs:attribute name="InstallationId" type="xs:nonNegativeInteger" use="required"/>
<xs:attribute name="InstallationUrl" type="xs:anyURI" use="required"/>
</xs:complexType>
Expand Down
2 changes: 1 addition & 1 deletion xml/ilias_exp_manifest_9_0.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

<xs:simpleType name="nameString">
<xs:restriction base="xs:string">
<xs:pattern value="([A-Z]|[a-z]|\s)+"/>
<!-- <xs:pattern value="([A-Z]|[a-z]|\s)+"/> -->
</xs:restriction>
</xs:simpleType>

Expand Down

0 comments on commit 2c961c1

Please sign in to comment.