W3C home > Mailing lists > Public > semantic-web@w3.org > October 2010

Re: rdfa vs. links

From: Lin Clark <lin.w.clark@gmail.com>
Date: Sun, 24 Oct 2010 22:27:42 +0100
Message-ID: <AANLkTi=Cmqc2w-dw7VEJBQhUrYHZ5QDpmrzMENb8i+o7@mail.gmail.com>
To: Stephen Williams <sdw@lig.net>
Cc: William Waites <ww@styx.org>, semantic-web@w3.org
>
> With RDFa, when a user cuts and pastes visible HTML content, they also get
> the RDFa that is exactly associated with that content.  There is a demo of a
> Javascript page that can receive the paste and display the RDFa nicely.
>

I'm a proponent of RDFa, but I actually see this particular behavior as a
bug, not a feature. Because the RDFa is hidden, you can easily copy text
from the Web and paste it somewhere where the hidden tags will make
incorrect assertions.

For instance, when I copy and paste a co-worker's name into a page on my Web
site, it would copy the foaf:name property. The foaf:name property worked
well on my coworkers Web site, where the foaf:name took the URI defined in
the parent element as it's subject. However, when I place it in an arbitrary
position on my page, it will then take another element for it's subject...
for instance, it might be pasted into a div about me, in which case it would
assert that my coworker's name is also my name.

I'd be interested to hear what other's think about this.

-Lin
Received on Sunday, 24 October 2010 21:28:17 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:45:20 UTC