Re: example spec text for longdesc

On 2011-03-25 13:03, Henri Sivonen wrote:
> On Tue, 2011-03-22 at 07:51 -0500, Laura Carlson wrote:
>> And how difficult would it be for conformance checkers to issue
>> errors if the longdesc URL has certain file suffixes, such as .gif,
>> .jpeg, .png etc.)?
>
> Easy though bogus as far as the theory of URLs go. (In theory, you
> should deference the URL and check the content type, but that would make
> conformance dependent on external resources, which is kinda
> undesirable.)

It's completely bogus in the case of MediaWiki, for example.  Take this 
randomly picked image from the front page of Wikipedia today.  The URL 
ends in .jpg, but it's to the image's summary page, not the image 
itself, and so this could actually be a perfectly acceptable URL for a 
longdesc (if the page actually contained a suitable description).

http://en.wikipedia.org/wiki/File:San_Giacomo_di_Rialto_%28Facade%29.jpg

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/

Received on Friday, 25 March 2011 12:27:05 UTC