Closed
Description
As noted elsewhere (e.g., #399 (comment) ), it's not good to almost align with an external specification. name
is already close to XML Name
and even mentions it, and that gap should just be fully closed.
Doing so would have the following consequences:
unquoted
would simplify to either1*name-char
(matching XMLNmtoken
) or1*unquoted-char
(if expanding to e.g. include+
for parity with-
).- The function sigil would need to change from
:
to something that does not overlap withunquoted
or other syntax (such as}
for closing the expression,|
for quoting,$
for variables, and any sigil indicating spannable open/close) and doesn't mislead developers—starting with!"#$%&'()*+,/;<=>?@[\]^`{|}~
for the first concern, I think that leaves something like*=@^~
in which@
is particularly attractive to me (e.g.,{$count @number}
) but a reasonable case could be made for any of the others.- ...or alternatively (but very unlikely), the function sigil could be
|
as in Jinja and literal quoting would use something else (e.g.,{~0.40~ |number style=percent}
)
- ...or alternatively (but very unlikely), the function sigil could be
Related issues: