This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
I agree, and prefer 2b.
The Working Group agrees that: 1. The implementation-defined set of namespace URIs used in option names always contains the XQuery namespace. 2. 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.
Minor correction, point 2 applies only to the case where the namespace is the XQuery namespace.