Closed drex04 closed 1 year ago
small nitpick, but the spec actually requires one to allow the whole digit family range for that writing system to be allowed:
The corresponding output format is a decimal number, using this digit family, with at least as many digits as there are mandatory-digit-signs in the format token. Thus, a format token 1 generates the sequence 0 1 2 ... 10 11 12 ..., and a format token 01 (or equivalently, 00 or 99) generates the sequence 00 01 02 ... 09 10 11 12 ... 99 100 101. A format token of ١ (Arabic-Indic digit one) generates the sequence ١ then ٢ then ٣ ...
Note that my favourite reference implementation also does not do this correctly, so I'm fine with the current state.
A rebase should fix the bundle size stuff by the way
Total files change +1.99KB +1.3%
Final result: :white_check_mark:
View report in BundleMon website ➡️
Extends the format-integer XPath function to be able to handle numbering styles from Arabic, Hebrew, and Persian.