W3C home > Mailing lists > Public > public-qa-dev@w3.org > October 2006

Re: openclipart.org SVG validator developing activity

From: Ruud Steltenpool, http://svg.startpagina.nl <svg@steltenpower.com>
Date: Mon, 16 Oct 2006 05:23:25 +0200
Message-ID: <4532FB2D.3080300@steltenpower.com>
To: olivier Thereaux <ot@w3.org>
CC: public-qa-dev@w3.org

olivier Thereaux wrote:
> Hi Ruud,
> 
> On Oct 15, 2006, at 03:21 , Ruud Steltenpool, http://svg.startpagina.nl 
> wrote:
>> See 
>> http://lists.freedesktop.org/archives/clipart/2006-October/006398.html 
>> and other messages on that list
> 
> Thanks for the pointer!
> 
> I skimmed through the thread, and was wondering what was meant in it by 
> "the W3C SVG validator". Was it http://jiggles.w3.org/svgvalidator/, or 
> the markup validator and its support for SVG validation, limited though 
> it is for SVG 1.0 and 1.1 (not to mention the lack of DTD for 1.2...)?
> 
> I think the discussion is interesting, but not quite sure what to make 
> of it, if anything. Your thoughts?
> 
> --olivier

Hi Olivier/list,

A variation of what i've shown here before, but with some more solid 
code in some places and a version switch:

-Use PHP SAX to filter out all 'foreign' namespaces (so only xml, xlink 
and svg namespaces are left over), to get rid of 'pollution' in the 
error report.
-Then based on the version attribute it's fed to either jiggles.w3 or 
validator.w3 (with doctype=SVG+1.1 added).

openclipart.org is doing this primarily to make sure the collection is 
valid, but secondarily maybe to have a one-stop public web-interface for 
SVG (no matter the version) validation service.

I know SVG 1.2 won't have a DTD, and that is probably an improvement 
then. However, SVG's use is growing NOW, lots of 1.0 and 1.1 content is 
already out there and lots more will be added, even long after when 1.2 
is final. Having invalid SVG 1.0/1.1 content also hurts SVG 1.2

A good validator helps to fix SVG content. Knowing the validity of SVG 
content helps to debug SVG tools. But you know that better than me.


Hope you see my point,

Ruud
Received on Monday, 16 October 2006 03:23:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 19 August 2010 18:12:46 GMT