Skip to content

Commit

Permalink
Fix comment about name (#801)
Browse files Browse the repository at this point in the history
Fixes #720 

The `name` production matches NCName except that we exclude U+FFFD. This updates the comment in the ABNF.
  • Loading branch information
aphillips committed Jun 3, 2024
1 parent efe8790 commit 380cc47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/message.abnf
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ reserved-body-part = reserved-char / escaped-char / quoted

; Names and identifiers
; identifier matches https://www.w3.org/TR/REC-xml-names/#NT-QName
; name matches https://www.w3.org/TR/REC-xml-names/#NT-NCName
; name matches https://www.w3.org/TR/REC-xml-names/#NT-NCName but excludes U+FFFD
identifier = [namespace ":"] name
namespace = name
name = name-start *name-char
Expand Down

0 comments on commit 380cc47

Please sign in to comment.