W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > August 2007

[RDFa Syntax] @resource and @href

From: Hausenblas, Michael <michael.hausenblas@joanneum.at>
Date: Tue, 14 Aug 2007 08:39:48 +0200
Message-ID: <768DACDC356ED04EA1F1130F97D2985201256229@RZJC2EX.jr1.local>
To: "W3C RDFa task force" <public-rdf-in-xhtml-tf@w3.org>
Cc: "Shane McCarron" <shane@aptest.com>, <mark.birbeck@x-port.net>, "Ben Adida" <ben@adida.net>, "Steven Pemberton" <steven.pemberton@cwi.nl>

I had a quick look at the RDFa Syntax [1] document
and did not actually find any usage of @resource.
(BTW, Shane, I did not find any @resource declarations in 
the DTDs [2] and [3] - did I miss something?)

Further, Ivan recently stated in [4]:

 'I was always in favour of @resource, and @href only
  in the dedicated place, ie, in <a>:-)'

So, to assist people in using @resource and @href 'correctly',
I'd like to propose the following addition to the RDFa Syntax.


'As per TAG finding httpRange-14 [5] the value of @href
 MUST be an information resource, and the value of @resource
 MAY be an information resource. RDFa authors SHALL use a URI
 that identifies a non-information resources for the value
 of @resource.'


As an aside: The two RDFa test cases TC 31 [6] and 
TC 32 [7] already demonstrate this 'good practice':

TC 31

 <p about="#wtw">
  The book <b>Weaving the Web</b> (hardcover) has the ISBN
  <span rel="dc:identifier" 

TC 32

 <p about="#wtw">
  The book <b>Weaving the Web</b> (hardcover) has the ISBN
  <a rel="dc:identifier"


[1] http://www.w3.org/MarkUp/2007/ED-rdfa-syntax-20070812/
[2] http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd
[3] http://www.w3.org/MarkUp/DTD/xhtml-hypertext-1.mod
[5] http://www.w3.org/2001/tag/issues.html#httpRange-14

 Michael Hausenblas, MSc.
 Institute of Information Systems & Information Management
 JOANNEUM RESEARCH Forschungsgesellschaft mbH
 Steyrergasse 17, A-8010 Graz, AUSTRIA

    phone: +43-316-876-1193 (fax:-1191)   
   e-mail: michael.hausenblas@joanneum.at
      web: http://www.joanneum.at/iis/ 

   mobile: +43-660-7621761
      web: http://www.sw-app.org/ 
Received on Tuesday, 14 August 2007 06:38:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:01:51 UTC