-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question is id
in 7.2.2.1.1 the same as TD id
?
#320
Comments
It is the same as the TD id, and you make a good point that we may have to do some encoding if it is a URI. |
Related somewhat to issue #382 and URL-encoding of ids. I expect we can resolve both these issues together. |
@mmccool noted in w3c/i18n-activity/#1524:
URL-encoding is good for the wire, but not good for humans. Generally this is the difference between RFC3986 (URI) and URL/RFC3987 (IRI). The text should be clear about which form is used where. When My concern was: if |
When the ID is used in the path it is URL-encoded to avoid special characters. For example, the above would show up as The current text specifies that URL encoding is to be used. With that, @aphillips, can we consider this resolved? |
That resolves my question, so I think you can mark this issue as addressed. |
Confirmed resolved. Percent-escaping works to resolve this. |
7.2.2.1.1 Creation
https://w3c.github.io/wot-discovery/#exploration-directory-api-things-creation
WOT-Description says that the
id
is of typeanyURI
, but here theid
is inserted as a path element. This suggests that theid
is more of a name token (a URI would have its URI syntactical bits URL-encoded, right?). I'm trying to gauge where non-ASCII can get in here and if so how it will be represented?The text was updated successfully, but these errors were encountered: