[Bug 5452] [FS] Static type of namespace axis

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

           Summary: [FS] Static type of namespace axis
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Formal Semantics
        AssignedTo: jmdyck@ibiblio.org
        ReportedBy: oliver@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


Section 8.2.2.1.6 of formal semantics says:
The type for the namespace axis is always empty.

However this does not match up with the definition of the namespace axis in
section 3.2.1 of the XPath 2.0 specification.  Since formal semantics assumes
compatibility mode is set to false then "support for the namespace axis is
implementation-defined" and either:

a) the namespace axis is supported, in which case it does not always return
empty, and a namespace type should be added.

b) the namespace axis is not supported, in which case an implementation "must
raise a static error [err:XPST0010] if it is used", and so arguably the type
should be none.

Received on Wednesday, 6 February 2008 10:58:12 UTC