W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2014

[Bug 24529] Missing explicit default values for uses of xsl:context-item/@use

From: <bugzilla@jessica.w3.org>
Date: Wed, 05 Feb 2014 20:47:46 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-24529-523-bIWpmGUOr1@http.www.w3.org/Bugs/Public/>

--- Comment #1 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
Just to illustrate:

   <xsl:context-item as="document-node()" />

<xsl:template match="*">
   <xsl:context-item as="element(foo)" />

<xsl:template name="bar">
   <xsl:context-item as="xs:string" />

The defaults for these context items are different in respect to the omitted
@use attribute. Is it allowed to omit it and if it can be omitted, is the
default the assumed default (resp. required, required, optional)?

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 5 February 2014 20:47:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:45 UTC