W3C home > Mailing lists > Public > xsl-editors@w3.org > April to June 2001

XSLT 1.0 Clarification request: user-defined top-level elements preceding xsl:import

From: Michael Kay <mhkay@iclway.co.uk>
Date: Thu, 31 May 2001 15:17:53 +0100
To: <xsl-editors@w3.org>
Message-ID: <003f01c0e9e8$bae6db70$0b483c3e@PCUKMKA>
A user has complained that some processors allow a user-defined top-level
element to
precede xsl:import, and others do not.

I think this is another case where the spec needs clarification; both
behaviors can be justified by reading the spec different ways.

In particular, it is not clear which of the following two statements is
intended to override the other:

(a) (2.6.1) The xsl:import element children must precede all other element
of an xsl:stylesheet element. [This is supported by the non-normative DTD]

(b) (2.2) An XSLT processor must ignore a top-level element without giving
an error
if it does not recognize the namespace URI.

I am registering this as an issue needing clarification by posting it on

Possibly section 2.6.1 (and the DTD) is intended to apply to the set of
element children that remain after doing the "ignoring" required by section
2.2. But if so, it should say so.

Mike Kay
Received on Thursday, 31 May 2001 11:42:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:21 UTC