-
Notifications
You must be signed in to change notification settings - Fork 5
Description
A confusion point has been identified for the bundledAs section:
folder
A folder in the bundle this resource belongs to. This member MUST be present if filename is given, and MAY be present alone. The path SHOULD be prefixed with / and SHOULD end with /, for instance /folder2/ or /. The folder SHOULD be a directory in the zip archive.
This item is interpreted in JSON-LD as a URI reference, and so should be URI escaped just like uri, e.g. "/folder/with%20spaces".
On the other hand (and perhaps confusing), filename is just the value of the filename within the folder, and should NOT be URI escaped. This is not clearly indicated, although it does say:
The filename should not contain the characters /, : or , but MAY contain spaces and international characters.