File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -383,13 +383,16 @@ Implementations MAY define an upper limit on the resolved value
383
383
of a digit size option option consistent with that implementation's practical limits.
384
384
385
385
In most cases, the value of a digit size option will be a string that
386
- encodes the value as a decimal integer.
386
+ encodes the value as a non-negative integer.
387
387
Implementations MAY also accept implementation-defined types as the value.
388
388
When provided as a string, the representation of a digit size option matches the following ABNF:
389
389
>```abnf
390
390
> digit-size-option = "0" / (("1"-"9") [DIGIT])
391
391
>```
392
392
393
+ If the value of a digit size option does not evaluate as a non-negative integer,
394
+ or if the value exceeds any implementation-defined upper limit
395
+ or any option-specific lower limit, a _Bad Option Error_ is emitted.
393
396
394
397
### Number Selection
395
398
You can’t perform that action at this time.
0 commit comments