W3C home > Mailing lists > Public > www-validator@w3.org > July 2011

Re: Link checker: SVG, sources

From: Ville Skyttä <ville.skytta@iki.fi>
Date: Mon, 25 Jul 2011 20:01:21 +0300
Message-ID: <4E2DA161.4040802@iki.fi>
To: www-validator@w3.org
On 07/25/2011 11:54 AM, "Martin J. Dürst" wrote:

> I just tried the link checker recursively on an IRI test for SVG at 
> http://www.sw.it.aoyama.ac.jp/2005/yone/iritest/0.10/SVG/. It seems that 
> the link checker doesn't deal with SVG. Can you confirm?

Confirmed.  The link checker currently parses only text/html,
application/xhtml+xml, application/vnd.wap.xhtml+xml, text/css, and
text/html-sandboxed documents.

> Is there some effort underway to fix this?

Not really that I know of.  But I have some very rough local perl code
on which I've last hacked over a year ago whose goal is to modularize
link extraction from different types of documents, but there's no XML
support in it yet either.

> How would I contribute?

The first thing would be to add XML (with at least xml:base) parsing and
basic link extraction support, then document type such as specific
functionality.

The current link checker code is not that well prepared/documented for
adding support for new document types.  The commit which added initial
CSS (standalone and embedded in HTML) support to it can give some ideas
though: http://dvcs.w3.org/hg/link-checker/rev/bb26d957084a
Received on Monday, 25 July 2011 17:01:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:48 GMT