W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2001

XSLT 1.0 - xsl:element and xsl:attribute - clarification of error situation

From: Michael Kay <mhkay@iclway.co.uk>
Date: Fri, 16 Mar 2001 16:08:04 -0000
To: <xsl-editors@w3.org>
Message-ID: <000001c0ae33$69b04a20$71493c3e@oemcomputer>
The specification states that it is an error if the string that results from
evaluating the name attribute of xsl:element or xsl:attribute is not a
QName, and it states that this error is recoverable.

If no namespace attribute is present, the prefix of the QName must refer to
a namespace declaration that is in scope. The specification doesn't state
whether this error is also recoverable. For consistency, it should be
recoverable, and with the same recovery action as when the name is not a

(It doesn't make sense that generating "garbage::name" should be
recoverable, while generating "garbage:name" isn't - this is the current
situation in Saxon).

Mike Kay
Software AG
Received on Friday, 16 March 2001 11:06:31 UTC

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