Definition Type: SimpleType
Name: namespaceRefType
Namespace: http://www.xml-cml.org/schema
Containing Schema: schema.xsd
Documentation:
An XML QName with required prefix. A string referencing a dictionary, units, convention or other metadata. The purpose is to allow authors to extend the vocabulary through their own namespaces without altering the schema. The prefix is mandatory. This convention is only used within CML and related languages; it is NOT a generic URI.
Collapse XSD Schema Diagram:
XSD Diagram of namespaceRefType in schema schema_xsd (Chemical Markup Language (CML))
Collapse XSD Schema Code:
<xsd:simpleType name="namespaceRefType" id="st.namespaceRefType">
    <xsd:annotation>
        <xsd:documentation>
            <h:div class="summary" xmlns:h="http://www.w3.org/1999/xhtml">An XML QName with required prefix.</h:div>
            <h:div class="description" xmlns:h="http://www.w3.org/1999/xhtml">
                <h:p>A string referencing a dictionary, units, convention or other metadata.</h:p>
                <h:p>The purpose is to allow authors to extend the vocabulary through 
                their own namespaces without altering the schema. 
                The prefix is mandatory. This convention is only used within 
                CML and related languages; it is NOT a generic URI. </h:p>
            </h:div>
            <h:div class="example" href="namespaceRefType1.xml" xmlns:h="http://www.w3.org/1999/xhtml" />
        </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
        <xsd:annotation>
            <xsd:documentation>
                <h:div class="description" xmlns:h="http://www.w3.org/1999/xhtml">
                    <h:p>The namespace prefix must start with an alpha character
                     and can only contain alphanumeric and '_'. The suffix can 
                     have characters from the XML ID specification 
                     (alphanumeric, '_', '.' and '-'</h:p>
                </h:div>
            </xsd:documentation>
        </xsd:annotation>
        <xsd:pattern value="[A-Za-z][A-Za-z0-9_]*:[A-Za-z][A-Za-z0-9_\.\-]*" />
    </xsd:restriction>
</xsd:simpleType>
Collapse Facets:
Facet Value
Pattern [A-Za-z][A-Za-z0-9_]*:[A-Za-z][A-Za-z0-9_\.\-]*
Collapse Derivation Tree:
Collapse References:
nsA:dictRef, nsA:form, nsA:parentSI, nsA:unitsType