W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2008

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

From: <bugzilla@wiggum.w3.org>
Date: Wed, 06 Feb 2008 10:58:05 +0000
To: public-qt-comments@w3.org
Message-Id: <E1JMhyf-0006NY-KI@wiggum.w3.org>


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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:35 UTC