4 ms·
I believe what you're actually saying is that regardless of whether or not it is technically correct, it would be incorrect (and I agree with you there). My qu
by ComputerGuru 7y ago
I believe what you're actually saying is that regardless of whether or not it is technically correct, it would be incorrect (and I agree with you there).
My question was more "for inputs not defined as being valid by the spec, is the result undefined (a la C++ UB where anything and everything is legal in response) or is it required to reject said input".
The sibling response says extensions are allowed, but that wouldn't come into play if an input is specifically called out as disallowed (vs simply not taken into account whatsoever).
- deleted 7y ago[deleted]
- jchook 7y agoSection 9 of the RFC would indeed technically allow interpreting 01 as you please, but section 6 states: “Numeric values that cannot be represented in the grammar below... are not permitted” Regardless I agree we should not do such things.