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

Re: foaf:sha1 property with img src=

From: Dan Brickley <danbri@danbri.org>
Date: Mon, 31 Mar 2008 13:33:27 +0100
Message-ID: <47F0DA17.2000205@danbri.org>
To: Ivan Herman <ivan@w3.org>
Cc: Daniel Renfer <duck@kronkltd.net>, public-rdf-in-xhtml-tf@w3.org

Ivan Herman wrote:
>
>
> Daniel Renfer wrote:
>>
>> I ran into a similar issue when I was trying to convert my FOAF file 
>> into a prose XHTML+RDFa document. My problem was, how can I link to 
>> an image, but also specify the thumbnail version of that image?
>>
>> <#me>
>>     foaf:depiction     <me.jpg>.
>>
>> <me.jpg>
>>     foaf:thumbnail    <me-thumb.jpg>.
>>
>> It seems like the answer would be the same for both of them. It's a 
>> shame I can't just put a span inside of <img/>.
>>
>
> I see Mark has already given an answer. Let me just add this: the fact 
> that <img> cannot have a child element was the source of huge 
> headaches for the Task Force: had it not been the case, a bunch of use 
> cases could have been treated much more easily...
>
Was there any consideration of defining conditional rules: "if used in a 
future version of HTML where <img> has child elements, then [blah 
blah...]" ?

Or perhaps that's too speculative. I've not check HTML5's thinking on 
this...

Dan
Received on Monday, 31 March 2008 12:34:02 UTC

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