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

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

           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
functions.



thanks,
Joanne Tong

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