Bugzilla – Bug 21717
Not used: XQST0124
Last modified: 2013-06-04 16:39:08 UTC
Error code XQST0124 is not used anywhere in the current XQ30 specification. It states that "It is a static error if the name of a feature in require-feature or prohibit-feature is not recognized by the implementation." Instead, the description of XQST0123 is referenced once: "It is a static error if the name of a feature in require-feature is not recognized by the implementation." Next, there seems to be no dedicated error code for options in the "http://www.w3.org/2012/xquery" namespace. Maybe one of the two above was supposed to fill this gap?
This is no longer in the internal XQuery 3.0 text. I checked in a query that looks for unused error codes or references to error codes that do not exist, and removed these.
Thanks for the removal. I believe that it still needs to be clarified what is going to happen if an option in the default options namespace ("http://www.w3.org/2012/xquery") is unknown. An example: declare option unknown "x"; () Maybe XQST0124 could be used for that case?
(In reply to comment #2) > Maybe XQST0124 could be used for that case? Sounds good to me.
(In reply to comment #3) > (In reply to comment #2) > > Maybe XQST0124 could be used for that case? > > Sounds good to me. The Working Group agrees. I will change this in the spec.