Skip to content

Commit bd2e756

Browse files
committed
feat: Bump XML schemas to latest fix version for 1.2-1.4 - see:
CycloneDX/specification#122 Signed-off-by: Paul Horton <[email protected]>
1 parent bd6a088 commit bd2e756

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

cyclonedx/schema/bom-1.2.xsd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ limitations under the License.
2222
targetNamespace="http://cyclonedx.org/schema/bom/1.2"
2323
vc:minVersion="1.0"
2424
vc:maxVersion="1.1"
25-
version="1.2">
25+
version="1.2.1">
2626

2727
<xs:import namespace="http://cyclonedx.org/schema/spdx" schemaLocation="spdx.xsd"/>
2828

@@ -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

@@ -1415,4 +1415,4 @@ limitations under the License.
14151415
<xs:field xpath="@bom-ref"/>
14161416
</xs:unique>
14171417
</xs:element>
1418-
</xs:schema>
1418+
</xs:schema>

cyclonedx/schema/bom-1.3.xsd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ limitations under the License.
2222
targetNamespace="http://cyclonedx.org/schema/bom/1.3"
2323
vc:minVersion="1.0"
2424
vc:maxVersion="1.1"
25-
version="1.3">
25+
version="1.3.1">
2626

2727
<xs:import namespace="http://cyclonedx.org/schema/spdx" schemaLocation="spdx.xsd"/>
2828

@@ -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

@@ -1628,4 +1628,4 @@ limitations under the License.
16281628
<xs:field xpath="@bom-ref"/>
16291629
</xs:unique>
16301630
</xs:element>
1631-
</xs:schema>
1631+
</xs:schema>

cyclonedx/schema/bom-1.4.xsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ limitations under the License.
2222
targetNamespace="http://cyclonedx.org/schema/bom/1.4"
2323
vc:minVersion="1.0"
2424
vc:maxVersion="1.1"
25-
version="1.4">
25+
version="1.4.1">
2626

2727
<xs:import namespace="http://cyclonedx.org/schema/spdx" schemaLocation="spdx.xsd"/>
2828

@@ -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)