-
-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Labels
resolve-candidateThis issue appears to have been answered or resolved, and may be closed soon.This issue appears to have been answered or resolved, and may be closed soon.syntaxIssues related with syntax or ABNFIssues related with syntax or ABNF
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:
unquotedwould 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 withunquotedor 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:
Metadata
Metadata
Assignees
Labels
resolve-candidateThis issue appears to have been answered or resolved, and may be closed soon.This issue appears to have been answered or resolved, and may be closed soon.syntaxIssues related with syntax or ABNFIssues related with syntax or ABNF