Re: Remove "rel" from Link

hello james.

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.

cheers,

dret.

-- 
erik wilde | mailto:dret@berkeley.edu  -  tel:+1-510-2061079 |
            | UC Berkeley  -  School of Information (ISchool) |
            | http://dret.net/netdret http://twitter.com/dret |

Received on Monday, 3 November 2014 18:20:11 UTC