W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2012

[Bug 20450] New: [XQ3.0] Option declarations in the XQuery namespace

From: <bugzilla@jessica.w3.org>
Date: Wed, 19 Dec 2012 15:35:40 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-20450-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 20450
           Summary: [XQ3.0] Option declarations in the XQuery namespace
    Classification: Unclassified
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3.0
          Assignee: jonathan.robie@gmail.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

Test K-OptionDeclarationProlog-1b reads:

declare option myopt "option value"; true()

and expects success. My implementation raises an error. The specification is

It's clear that the option is in the XQuery namespace. 

1. The spec says "Each implementation recognizes an implementation-defined set
of namespace URIs used in option names." I think it should require that this
implementation-defined set always contains the XQuery namespace.

2. The spec says that if an option is not recognized, it is
implementation-defined what happens. Either:

(2a) we really mean this, in which case the result of the test is
implementation-defined, or

(2b) we want to define a different rule for the XQuery namespace, namely that
the implementation must recognize exactly that set of options which are defined
in the specification; in which case the expected result of the test should be
an error.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 19 December 2012 15:35:41 UTC

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