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

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
QName.

(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