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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20450

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

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