[Bug 27370] Add explanation for generating references to defined Keywords that can be used as URNs

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27370

--- Comment #2 from Bob Lund <b.lund@cablelabs.com> ---
(In reply to Silvia Pfeiffer from comment #1)
> The discussion concluded that we should actually have a more generic
> solution for pointing to any defined keyword in the HTML spec, not just the
> @kind values, see
> http://lists.w3.org/Archives/Public/www-tag/2014Jun/0047.html .

So, something along the following lines?

A Uniform Resource Identifier (URI) that points to an HTML defined keyword,
created using the Definition element (<dfn>), should be of the form
http://www.w3.org/TR/html/#ID_value where ID_value is the value of the <dfn>
‘id’ attribute. For example, a URI for the audio and video track ‘kind’
attribute value “alternative” would be
http://www.w3.org/TR/html/#value-track-kind-alternate. A URI for the text track
‘kind’ attribute value “captions” would be
http://www.w3.org/TR/html/#attr-track-kind-keyword-captions.

> 
> In fact, this solution already exists, but is merely undocumented.
> 
> For example, the "URNs" for the track kinds are:
> 
> http://www.w3.org/TR/html/#attr-track-kind-subtitles
> http://www.w3.org/TR/html/#attr-track-kind-captions
> http://www.w3.org/TR/html/#attr-track-kind-descriptions
> http://www.w3.org/TR/html/#attr-track-kind-chapters
> http://www.w3.org/TR/html/#attr-track-kind-metadata
> 
> These can be made to persist across different HTML versions, as explained by
> Robin in:
> http://lists.w3.org/Archives/Public/www-tag/2014Jun/0038.html
> and
> http://lists.w3.org/Archives/Public/www-tag/2014Jun/0045.html
> 
> Works for other keywords, too, e.g.
> http://www.w3.org/TR/html/embedded-content-0.html#attr-media-preload-none .

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 1 December 2014 20:14:45 UTC