Do not escape / in XSD regex.

This commit is contained in:
Roman Telezhynskyi 2023-02-16 12:49:26 +02:00
parent 12f4a006fd
commit 7cc560fd31
3 changed files with 3 additions and 3 deletions

View File

@ -836,7 +836,7 @@
</xs:simpleType> </xs:simpleType>
<xs:simpleType name="contentType"> <xs:simpleType name="contentType">
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:pattern value="image\\/[-\w]+(\.[-\w]+)*([+][-\w]+)?"/> <xs:pattern value="image/[-\w]+(\.[-\w]+)*([+][-\w]+)?"/>
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
<xs:simpleType name="colors"> <xs:simpleType name="colors">

View File

@ -845,7 +845,7 @@
</xs:simpleType> </xs:simpleType>
<xs:simpleType name="contentType"> <xs:simpleType name="contentType">
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:pattern value="image\\/[-\w]+(\.[-\w]+)*([+][-\w]+)?"/> <xs:pattern value="image/[-\w]+(\.[-\w]+)*([+][-\w]+)?"/>
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
<xs:simpleType name="colors"> <xs:simpleType name="colors">

View File

@ -855,7 +855,7 @@
</xs:simpleType> </xs:simpleType>
<xs:simpleType name="contentType"> <xs:simpleType name="contentType">
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:pattern value="image\\/[-\w]+(\.[-\w]+)*([+][-\w]+)?"/> <xs:pattern value="image/[-\w]+(\.[-\w]+)*([+][-\w]+)?"/>
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
<xs:simpleType name="colors"> <xs:simpleType name="colors">