@@ -16,10 +16,10 @@ slashes, like a URI?
1616This rule applies to all slash '/' characters between the ** scheme** 's colon
1717separator and the ** type** component, e.g., ':/', '://', ':///' et al.
1818
19- In its canonical form, a PURL must not use any ':/' ** scheme**
19+ In its canonical form, a PURL shall not use any ':/' ** scheme**
2020suffix and may only use ':' as a ** scheme** suffix. This means that:
2121
22- - PURL parsers must accept URLs such as 'pkg://' and must ignore and
22+ - PURL parsers shall accept URLs such as 'pkg://' and shall ignore and
2323remove all such '/' characters.
2424
2525- PURL builders should not create invalid URLs with one or more slash '/'
@@ -38,7 +38,7 @@ in canonical form, while the second -- with a '//' between 'pkg:' and the
3838encoded? If yes, how?
3939
4040** ANSWER** : The "Rules for each PURL component" section provides that the
41- ** scheme** MUST be followed by an unencoded colon ':'.
41+ ** scheme** shall be followed by an unencoded colon ':'.
4242
4343In this case, the colon ':' between ** scheme** and ** type** is being used as
4444a separator, and consequently should be used as-is, never encoded and never
@@ -52,12 +52,9 @@ this error to help with malformed PURLs, but that is not a requirement.
5252** type** contains a character like a slash '/' or a colon ':'?
5353
5454** ANSWER** : The "Rules for each PURL component" section provides that the
55- package ** type** that list allowed characters:
55+ package ** type** that list allowed characters shall be composed only of ASCII letters and numbers, period '.', and dash '-'
5656
57- MUST be composed only of ASCII letters and numbers, period '.', and
58- dash '-'
59-
60- As a result, a PURL spec implementation must return an error when
57+ As a result, a PURL spec implementation shall return an error when
6158encountering a ** type** that contains a prohibited character.
6259
6360## Version
0 commit comments