Closed
Description
Regardless of whether we go with the template syntax or the function syntax, there is an ongoing discussion about what characters are allowed in a name. This issue is here to focus on that topic and pulls in a thread from #446 which starts at this comment.
Note: the MathML full meeting today agreed that we should pull out number
as a specific terminal that uses .
as the decimal separator, so that is not in question . The discussion is focused on concept-or-literal
, reference
, property
, literal
, and name
(depending on the version of the spec).
To maybe summarize some comments:
- being freer with what is allowed means less errors that can be made
- for at least literals, speech engines won't know what to do with non letters/digits (e.g., U+2345 "⍅") so results could be unexpected
- reference names should be like an
xml:id
(without the restriction of them being unique) - Unicode defines a regexp for "identifier names"
- any of the characters allowed (
#
,@
, etc) are characters that can't be used for some future extension of the grammar