Debian Codegraph @

schemas/cpe/2.3/cpe-naming_2.3.xsd

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cpe="http://cpe.mitre.org/naming/2.0"
3 targetNamespace="http://cpe.mitre.org/naming/2.0" elementFormDefault="qualified" attributeFormDefault="unqualified"
4 version="2.3">
5 <xsd:annotation>
6 <xsd:documentation xml:lang="en"> </xsd:documentation>
7 <xsd:appinfo>
8 <schema>CPE 2.3 Naming</schema>
9 <author>Adam Halbardier</author>
10 <version>2.3</version>
11 <date>2011-07-29</date>
12 </xsd:appinfo>
13 </xsd:annotation>
14
15 <xsd:simpleType name="cpe22Type">
16 <xsd:annotation>
17 <xsd:documentation xml:lang="en">Define the format for acceptable CPE Names. A URN format is used with the
18 id starting with the word cpe followed by :/ and then some number of individual components separated by
19 colons.</xsd:documentation>
20 </xsd:annotation>
21 <xsd:restriction base="xsd:anyURI">
22 <xsd:pattern value="[cC][pP][eE]:/[AHOaho]?(:[A-Za-z0-9\._\-~%]*){0,6}"/>
23 </xsd:restriction>
24 </xsd:simpleType>
25 <xsd:simpleType name="cpe23Type">
26 <xsd:annotation>
27 <xsd:documentation xml:lang="en">Define the format for acceptable CPE Names. A string format is used with
28 the id starting with the word cpe:2.3 followed by : and then some number of individual components
29 separated by colons.</xsd:documentation>
30 </xsd:annotation>
31 <xsd:restriction base="xsd:string">
32 <xsd:pattern
33 value="cpe:2\.3:[aho\*\-](:(((\?*|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!&quot;#$$%&amp;'\(\)\+,/:;&lt;=&gt;@\[\]\^`\{\|}~]))+(\?*|\*?))|[\*\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\*\-]))(:(((\?*|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!&quot;#$$%&amp;'\(\)\+,/:;&lt;=&gt;@\[\]\^`\{\|}~]))+(\?*|\*?))|[\*\-])){4}"
34 />
35 </xsd:restriction>
36 </xsd:simpleType>
37
38 <!-- ================================================== -->
39 <!-- ===== Change History -->
40 <!-- ================================================== -->
41 <!--
42 v2.3 - Initial release
43 -->
44
45 </xsd:schema>