[xsl] Bug in Schema for XSLT 2.0?

Subject: [xsl] Bug in Schema for XSLT 2.0?
From: Peter Gerstbach <peter@xxxxxxxxxxxx>
Date: Tue, 15 Feb 2005 11:55:10 +0100

I think I found a bug in the non-normative Schema for XSLT 2.0 at

This snippet is from there:

<xs:complexType name="text-element-base-type">
    <xs:restriction base="xsl:versioned-element-type">
        <xs:restriction base="xs:string"/>
      <xs:anyAttribute namespace="##other" processContents="lax"/>

It is a complexType with a simpleContent, but the specified
"versioned-element-type" does not have simple content.
But changing the second line (<xs:simpleContent>) to complexContent does not
resolve the problem, because as I know, you cannot have a simpleType definition
inside a restriction. Am I right?
For me it is also not really clear, what this simpleType inside the restriction
should mean.


Current Thread