Skip to content

Commit 380cc47

Browse files
authored
Fix comment about name (#801)
Fixes #720 The `name` production matches NCName except that we exclude U+FFFD. This updates the comment in the ABNF.
1 parent efe8790 commit 380cc47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/message.abnf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ reserved-body-part = reserved-char / escaped-char / quoted
7272

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

0 commit comments

Comments
 (0)