Define the format for acceptable CPE Names. A URN format is used with theid starting with the word cpe followed by :/ and then some number of individual components separated bycolons.
Diagram
Type
restriction of xsd:anyURI
Facets
pattern
[c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9\._\-~%]*){0,6}
Source
<xsd:simpleType name="cpe22Type"><xsd:annotation><xsd:documentation xml:lang="en">Define the format for acceptable CPE Names. A URN format is used with the id starting with the word cpe followed by :/ and then some number of individual components separated by colons.</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:anyURI"><xsd:pattern value="[c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9\._\-~%]*){0,6}"/></xsd:restriction></xsd:simpleType>
Simple Type cpe:cpe23Type
Namespace
http://cpe.mitre.org/naming/2.0
Annotations
Define the format for acceptable CPE Names. A string format is used withthe id starting with the word cpe:2.3 followed by : and then some number of individual componentsseparated by colons.
<xsd:simpleType name="cpe23Type"><xsd:annotation><xsd:documentation xml:lang="en">Define the format for acceptable CPE Names. A string format is used with the id starting with the word cpe:2.3 followed by : and then some number of individual components separated by colons.</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:pattern value="cpe:2\.3:[aho\*\-](:(((\?*|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&'\(\)\+,/:;<=>@\[\]\^`\{\|}~]))+(\?*|\*?))|[\*\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\*\-]))(:(((\?*|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&'\(\)\+,/:;<=>@\[\]\^`\{\|}~]))+(\?*|\*?))|[\*\-])){4}"/></xsd:restriction></xsd:simpleType>