1019 XQFO: Unknown option parameters#1059
Conversation
|
Thinking about this further, I'm unconvinced. If someone uses (a) queries that currently run successfully would now fail. (b) an implementation is forced to look at all options supplied, not only those it cares about. (c) portability even across different versions/variants of the same product would become more difficult. While I agree that the change would ensure that misspellings are caught, I'm not sure that it's a net win. |
I definitely would:
…provided that the current result is what a user believes it is.
…which shouldn’t be a big deal (we do it anyway), and can possibly be simplified even more when options are defined via records. |
|
If the proposed change seems to strict, we could change MUST to SHOULD or MAY (and thus make it completely implementation-defined):
|
|
As motivated by @ndw (thanks), I’ve rewritten the rules to clarify that only those unknown options that are in no namespace must be rejected. @michaelhkay pointed out that we could use plausibility checks. I guess the general rules are described in 2.4.6 Implausible Expressions. I’ve sticked with the existing presentation, as I’m not sure how this would need to be incorporated into the text. |
|
Looks good to me. I'm tempted to mark this as "merge without discussion" but in any event, I hope the discussion can be brief this time around :-) |
|
The CG agreed to merge this PR at meeting 071 |
Issue: #1019