This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2467 - [XSLT] Parentless node as initial context node
Summary: [XSLT] Parentless node as initial context node
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 2.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-04 17:14 UTC by Michael Kay
Modified: 2005-12-13 11:16 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-11-04 17:14:28 UTC
In 9.5 we say:

For a global variable or the default value of a stylesheet parameter, the
expression or sequence constructor  specifying the variable value is
evaluated with a singleton focus based on the document node of the document
containing the initial context node.


We don't say what happens if the root of the tree containing the initial
context node is not a document node.

I propose changing "the document node of the document containing ..." to
"the root node of the tree containing ...".

Michael Kay
previously raised at
http://lists.w3.org/Archives/Member/w3c-xsl-wg/2005Oct/0041.html
Comment 1 Michael Kay 2005-12-13 11:16:13 UTC
At its meeting on 8 Dec 2005 the XSL WG accepted this comment and the proposed
resolution. The change has been applied to the base document.