[XSLT 2.0] Error in published schema for XSLT 2.0

I am trawling the internal WG lists to ensure that all open issues are
visible on the public list: this is designed to give visibility of
likely changes, and it enables the WG to manage its agenda from a single
list.

This issue was originally raised at
 http://lists.w3.org/Archives/Member/w3c-xsl-wg/2003Dec/0005.html
(member-only link)

Here is a copy, updated to reflect subsequent correspondence:

There is an error in the published schema for XSLT. The element
declaration for xsl:text is a complex type with simple content, but it
is
derived by extension from a complex type with complex content. 

Presumably we should fix this by restricting xsl:versioned-element-type
to
constrain it to have simple content, and then to extend it to allow the
disable-output-escaping attribute. The current definition is:

<xs:element name="text" substitutionGroup="xsl:instruction">
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xsl:versioned-element-type">
        <xs:attribute name="disable-output-escaping"
type="xsl:yes-or-no"
default="no"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

Note that a separate proposal to combine xsl:text and xsl:value-of,
making them synonyms, would automatically fix this problem.

Michael Kay 

Received on Friday, 6 February 2004 04:52:19 UTC