Open wschella opened 6 years ago
If it's easy to support language-tagged strings as operands, I would support it. But then I would definitely add some kind of strict-mode, where the spec is strictly followed.
The problem with supporting it is we need to define a comparator: do we compare the literal only? do we compare the literal and then on the language tag? both at the same time?
Since these are all deviant from the spec, I would reverse your proposal, and make the default 'strict-mode' as to respect the principle of least astonishment, and optionally, if user know what they're doing, support comparing of language tagged literals with a specific mode.
See title, (according to this table).
Do we want to follow the spec here?