W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > August 2011

ISSUE-102 (@prefix limit): Should @prefix be limited to HTML, HEAD and BODY? [LC Comment - RDFa Core 1.1]

From: RDF Web Applications Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Thu, 11 Aug 2011 13:13:23 +0000
To: public-rdfa-wg@w3.org
Message-Id: <E1QrV4d-0004Sj-Vr@lowblow.w3.org>

ISSUE-102 (@prefix limit): Should @prefix be limited to HTML, HEAD and BODY? [LC Comment - RDFa Core 1.1]

http://www.w3.org/2010/02/rdfa/track/issues/102

Raised by: Manu Sporny
On product: LC Comment - RDFa Core 1.1

http://lists.w3.org/Archives/Public/public-rdfa-wg/2011Jul/0044.html

This proposal was raised during the telecon last week[1]. Since document
authors can declare @prefix anywhere in the document, they could
introduce authoring mistakes due to copy-paste. That is, if they do not
pay attention to where the @prefix is declared, they may accidentally
attempt to express triples that do not have a CURIE prefix defined.

While a number of people in the group feel that copy-paste issues are
not really that prevalent, limiting the use of @prefix to just the root
element of the document may decrease the possibility of copy-paste
errors. That is, copying from one place to another place in the document
would not be affected by @prefix declaration.

The down-side to this is that all Web page authors do not have access to
the root element in a document, which is typically set by the content
management system. This would disallow people that know what they're
doing from expressing triples in their sub-sections of the document -
such as blog articles or comment posts.

PROPOSAL: Limit @prefix declaration to the root element in the document.

An issue with this proposal has been raised by Ivan Herman:

http://lists.w3.org/Archives/Public/public-rdfa-wg/2011Apr/0107.html
Received on Thursday, 11 August 2011 13:13:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:19:52 UTC