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

Re: Agenda Topic / Issue: Clarify the meaning of "ignore" with respect to attributes that have no legal value

From: Mark Birbeck <mark.birbeck@webbackplane.com>
Date: Thu, 10 Sep 2009 23:45:46 +0100
Message-ID: <640dd5060909101545w63e46feex6d7d4308c8d6c6a2@mail.gmail.com>
To: Jeni Tennison <jeni@jenitennison.com>
Cc: Shane McCarron <shane@aptest.com>, "public-rdf-in-xhtml-tf.w3.org" <public-rdf-in-xhtml-tf@w3.org>
Hi Jeni,

The triple generated by the first span would be:

  <> ex:test1 "Test" .

and by the third:

  <> ex:test5 "Test" .

Regards,

Mark

On Thu, Sep 10, 2009 at 9:47 PM, Jeni Tennison<jeni@jenitennison.com> 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
>>
>>
>>
>>
>
> --
> Jeni Tennison
> http://www.jenitennison.com
>
>
>



-- 
Mark Birbeck, webBackplane

mark.birbeck@webBackplane.com

http://webBackplane.com/mark-birbeck

webBackplane is a trading name of Backplane Ltd. (company number
05972288, registered office: 2nd Floor, 69/85 Tabernacle Street,
London, EC2A 4RR)
Received on Thursday, 10 September 2009 22:46:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 10 September 2009 22:46:29 GMT