- From: Markus Lanthaler <markus.lanthaler@gmx.net>
- Date: Tue, 4 Nov 2014 21:23:22 +0100
- To: <public-socialweb@w3.org>
On 3 Nov 2014 at 19:19, Erik Wilde wrote:
> On 2014-11-03, 10:12 , James M Snell wrote:
>> "rel" is essentially establishes a qualified relationship. The
>> predicate can be used just as easily. So instead of:
>>
>> {
>> "image": {
>> "@type": "as:Link",
>> "@id": "http://example.org/foo",
>> "rel": "preview"
>> }
>> }
>>
>> We'd have:
>>
>> {
>> "preview": {
>> "@type": "as:Link",
>> "@id": "http://example.org/foo"
>> }
>> }
>
> that might be problematic because we have no control over the namespace
> of the registered link relation names (such as "preview"). this means
> that name clashes are likely to happen (imagine a link relation "object"
> or "image"), and impossible to avoid. i think it would be safer to put
> the relation name in a place where it's clearly identified as such, and
> then we avoid this risk.
I'm quite sure James intended to map "preview" to a URL to make it unambiguous and avoid name clashes.
--
Markus Lanthaler
@markuslanthaler
Received on Tuesday, 4 November 2014 20:23:49 UTC