- From: Shane McCarron <shane@aptest.com>
- Date: Thu, 10 Sep 2009 17:15:25 -0500
- To: Jeni Tennison <jeni@jenitennison.com>
- CC: "public-rdf-in-xhtml-tf.w3.org" <public-rdf-in-xhtml-tf@w3.org>
Jeni, No - that is not what is currently specified (in my opinion), nor what my proposal would do. Specifically, the third <span> should create the triple: <> ex:test3 "Test" . Because the @rel is treated as if it is not present at all. There are no semantics in RDFa for an empty @rel. Jeni Tennison wrote: > 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 >> >> >> >> > -- Shane P. McCarron Phone: +1 763 786-8160 x120 Managing Director Fax: +1 763 786-8180 ApTest Minnesota Inet: shane@aptest.com
Received on Thursday, 10 September 2009 22:16:21 UTC