File tree Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -107,22 +107,36 @@ PrefixedDocumentIdentifier ::
107107- Sha256HexDocumentIdentifier
108108- OtherPrefixedDocumentIdentifier
109109
110- Sha256HexDocumentIdentifier :: ` sha256: ` Sha256Checksum
111-
112- Sha256Checksum :: LowerCaseHexDigit+
110+ Sha256HexDocumentIdentifier :: ` sha256: ` LowerCaseHexDigit+
113111
114112LowerCaseHexDigit :: one of
115113
116114- ` 0 ` ` 1 ` ` 2 ` ` 3 ` ` 4 ` ` 5 ` ` 6 ` ` 7 ` ` 8 ` ` 9 `
117115- ` a ` ` b ` ` c ` ` d ` ` e ` ` f `
118116
119- OtherPrefixedDocumentIdentifier :: ` x- ` IdentifierCharacter+ ` : ` IdentifierCharacter+
117+ OtherPrefixedDocumentIdentifier :: ` x- ` UnreservedCharacter+ ` : ` UnreservedCharacter+
118+
119+ CustomDocumentIdentifier :: UnreservedCharacter+
120+
121+ UnreservedCharacter ::
120122
121- CustomDocumentIdentifier :: SourceCharacter+
123+ - Letter
124+ - Digit
125+ - ` - `
126+ - ` . `
127+ - ` _ `
128+ - ` ~ `
122129
123- IdentifierCharacter :: SourceCharacter but not ` : `
130+ Letter :: one of
124131
125- SourceCharacter :: Any Unicode scalar value
132+ - ` A ` ` B ` ` C ` ` D ` ` E ` ` F ` ` G ` ` H ` ` I ` ` J ` ` K ` ` L ` ` M `
133+ - ` N ` ` O ` ` P ` ` Q ` ` R ` ` S ` ` T ` ` U ` ` V ` ` W ` ` X ` ` Y ` ` Z `
134+ - ` a ` ` b ` ` c ` ` d ` ` e ` ` f ` ` g ` ` h ` ` i ` ` j ` ` k ` ` l ` ` m `
135+ - ` n ` ` o ` ` p ` ` q ` ` r ` ` s ` ` t ` ` u ` ` v ` ` w ` ` x ` ` y ` ` z `
136+
137+ Digit :: one of
138+
139+ - ` 0 ` ` 1 ` ` 2 ` ` 3 ` ` 4 ` ` 5 ` ` 6 ` ` 7 ` ` 8 ` ` 9 `
126140
127141## Persisting a Document
128142
You can’t perform that action at this time.
0 commit comments