[Bug 3690] The set of all possible modes is not clearly defined

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

           Summary: The set of all possible modes is not clearly defined
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.0
        AssignedTo: mike@saxonica.com
        ReportedBy: colin@colina.demon.co.uk
         QAContact: public-qt-comments@w3.org


Section 2.3 says that an optional initial mode must be supplied, but it does
not specify what is the possible sets of values that this take.

This is relevant when the initial template candidates include one with a mode
of #all.

Does #all match all theoretically valid modes (i.e. the local name is a valid
NCName, and the namespace URI, if present, is a lexically valid URI), or does
it match only those nodes that are present in the (compiled) stylesheet?

I had assumed the latter, but a test case assumes the former.

I have read over the spec again, to see if my assumption can be dis-proven, but
I cannot see that. Nor can I see it the other way, so I think the spec. is
ambiguous.

Received on Sunday, 10 September 2006 07:23:25 UTC