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.

<PROPOSAL>

'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.'

</END_OF_PROPOSAL>

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" 
        resource="urn:ISBN:0752820907">0752820907</span>.
 </p>

TC 32
=====

 <p about="#wtw">
  The book <b>Weaving the Web</b> (hardcover) has the ISBN
  <a rel="dc:identifier"
     resource="urn:ISBN:0752820907" 
 
href="http://www.amazon.com/Weaving-Web-Tim-Berners-Lee/dp/0752820907">0
752820907</a>.
 </p>

Cheers,
	Michael

[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
[4]
http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2007Aug/0121.
html
[5] http://www.w3.org/2001/tag/issues.html#httpRange-14
[6]
http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/Test0031
[7]
http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/Test0032

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

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

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:09 GMT