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/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24529

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

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

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

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

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