Definition Type: SimpleType
Name: QName
Namespace: http://www.w3.org/1999/XSL/Transform
Containing Schema: schema-for-xslt20.xsd
Documentation:
A QName. This schema does not use the built-in type xs:QName, but rather defines its own QName type. Although xs:QName would define the correct validation on these attributes, a schema processor would expand unprefixed QNames incorrectly when constructing the PSVI, because (as defined in XML Schema errata) an unprefixed xs:QName is assumed to be in the default namespace, which is not the correct assumption for XSLT. The data type is defined as a restriction of the built-in type Name, restricted so that it can only contain one colon which must not be the first or last character.
Collapse XSD Schema Diagram:
XSD Diagram of QName in schema schema-for-xslt20_xsd (XSL Transformations)
Collapse XSD Schema Code:
<xs:simpleType name="QName">
    <xs:annotation>
        <xs:documentation>
      A QName.
      This schema does not use the built-in type xs:QName, but rather defines its own
      QName type. Although xs:QName would define the correct validation on these attributes,
      a schema processor would expand unprefixed QNames incorrectly when constructing the PSVI,
      because (as defined in XML Schema errata) an unprefixed xs:QName is assumed to be in
      the default namespace, which is not the correct assumption for XSLT.
      The data type is defined as a restriction of the built-in type Name, restricted
      so that it can only contain one colon which must not be the first or last character.
    </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:Name">
        <xs:pattern value="([^:]+:)?[^:]+" />
    </xs:restriction>
</xs:simpleType>
Collapse Facets:
Facet Value
Pattern ([^:]+:)?[^:]+
Collapse Derivation Tree:
Collapse References:
xsl:name, xsl:name, xsl:name, xsl:name, xsl:name, xsl:name, xsl:name, xsl:name, xsl:name, xsl:name, xsl:name, xsl:QNamesxsl:type, xsl:type, xsl:type, xsl:type, xsl:type, xsl:type, xsl:type,