- From: Jeni Tennison <jeni@jenitennison.com>
- Date: Thu, 10 Sep 2009 21:47:27 +0100
- To: Shane McCarron <shane@aptest.com>
- Cc: "public-rdf-in-xhtml-tf.w3.org" <public-rdf-in-xhtml-tf@w3.org>
Can I also clarify, just to round this out, that in this test case from Philip: <p xmlns:ex="http://example.org/"> <span property="ex:test1" href="http://example.org/href">Test</span> <span rel="ex:test2" property="ex:test3" href="http://example.org/href ">Test</span> <span rel="" property="ex:test5" href="http://example.org/ href">Test</span> </p> the triples are: (from the first <span>) <http://example.org/href> ex:test1 "Test" . (from the second <span>) <> ex:test2 <http://example.org/href> . <> ex:test3 "Test" . (from the third <span>) <> ex:test5 <http://example.org/href> . In other words that the empty rel attribute is treated differently from a rel attribute that contains only illegal CURIEs, which is treated the same as a missing rel attribute. Thanks, Jeni On 10 Sep 2009, at 20:36, Shane McCarron wrote: > Laurens, > > In general I agree but see below: > > Laurens Holst wrote: >> Op 8-9-2009 10:28, Shane McCarron schreef: >>> So, for example, >>> >>> <a rel="blah:blah" href="file.html">something</a> >>> >>> Would never generate triple, because the prefix "blah" is not >>> defined, so the system MUST act as if there was no @rel at all. >> >> Hm, so just to be clear: >> >> <a rel="blah:blah foo:bar" href="file.html">something</a> >> >> Would not generate a triple, but: >> >> <a rel="blah:blah foo:bar" href="file.html" xmlns:foo="http://example.org >> ">something</a> >> >> and >> >> <a rel="blah:blah bar" href="file.html">something</a> >> >> Would? > Nearly. rel="bar" is not a defined reserved word, so that wouldn't > raise a triple either. >> >> ~Laurens >> > > -- > Shane P. McCarron Phone: +1 763 786-8160 x120 > Managing Director Fax: +1 763 786-8180 > ApTest Minnesota Inet: shane@aptest.com > > > > -- Jeni Tennison http://www.jenitennison.com
Received on Thursday, 10 September 2009 20:48:02 UTC