Skip to content

Commit bdb908b

Browse files
#122 - Fixing mime type regex in XSD 1.2, 1.3, and 1.4.
Signed-off-by: Steve Springett <[email protected]>
1 parent f1f5de2 commit bdb908b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

schema/bom-1.2.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ limitations under the License.
593593

594594
<xs:simpleType name="mimeType">
595595
<xs:restriction base="xs:token">
596-
<xs:pattern value="^[-+a-z0-9.]+/[-+a-z0-9.]+$"/>
596+
<xs:pattern value="[-+a-z0-9.]+/[-+a-z0-9.]+"/>
597597
</xs:restriction>
598598
</xs:simpleType>
599599

schema/bom-1.3.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ limitations under the License.
598598

599599
<xs:simpleType name="mimeType">
600600
<xs:restriction base="xs:token">
601-
<xs:pattern value="^[-+a-z0-9.]+/[-+a-z0-9.]+$"/>
601+
<xs:pattern value="[-+a-z0-9.]+/[-+a-z0-9.]+"/>
602602
</xs:restriction>
603603
</xs:simpleType>
604604

schema/bom-1.4.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ limitations under the License.
620620

621621
<xs:simpleType name="mimeType">
622622
<xs:restriction base="xs:token">
623-
<xs:pattern value="^[-+a-z0-9.]+/[-+a-z0-9.]+$"/>
623+
<xs:pattern value="[-+a-z0-9.]+/[-+a-z0-9.]+"/>
624624
</xs:restriction>
625625
</xs:simpleType>
626626

0 commit comments

Comments
 (0)