[Bug 2467] [XSLT] Parentless node as initial context node

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2467

           Summary: [XSLT] Parentless node as initial context node
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.0
        AssignedTo: mike@saxonica.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


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

Received on Friday, 4 November 2005 17:14:33 UTC