W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2006

[Bug 3081] Editorial suggestion for xpath-default-namespace

From: <bugzilla@wiggum.w3.org>
Date: Tue, 04 Apr 2006 18:31:13 +0000
To: public-qt-comments@w3.org
Message-Id: <E1FQqJ7-00088B-VR@wiggum.w3.org>


           Summary: Editorial suggestion for xpath-default-namespace
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: XSLT 2.0
        AssignedTo: mike@saxonica.com
        ReportedBy: joannet@ca.ibm.com
         QAContact: public-qt-comments@w3.org

Questions were raised while writing tests for x-d-n because the text doesn't
seem to be explicit enough.  Questions such as whether AVTs are affected by
x-d-n even though the result of the AVT may not be, and specifically which type
of names are not affected by x-d-n.

I suggest making the following (or similar) changes to section 5.2 (Unprefixed
QNames in Expressions and Patterns) to clarify the text:

For any element in the stylesheet, the effective value of this attribute
determines the value of the default namespace for element and type names in the
static context of any XPath expression contained in an attribute of that
element<new>, including attribute value templates</new>. 

The attribute does not affect other names <new>that are used solely for cross
reference purposes in stylesheet-defined objects</new>, for example function
names, variable names, or names used as arguments to the key or system-property

Joanne Tong
Received on Tuesday, 4 April 2006 18:31:22 UTC

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