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
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JMhyf-0006NY-KI@wiggum.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:49 GMT