W3C home > Mailing lists > Public > www-validator@w3.org > May 2005

Re: Error Message Feedback: "valid 1.1"

From: Henri Sivonen <hsivonen@iki.fi>
Date: Sat, 28 May 2005 14:38:24 +0300
Message-Id: <53ce249f4bb0ec9a9c775a66a3259854@iki.fi>
Cc: www-validator@w3.org
To: Chris Lilley <chris@w3.org>

On May 27, 2005, at 19:31, Chris Lilley wrote:

> Okay. I suggest that it should use a lookup table of namespaces (to
> detect that its SVG) and then, having determined that it is SVG, it
> could usefully get more info from baseProfile (Tiny, Basic or Full) and
> version (1.0, 1.1, 1.2).

What if the DTD does not match?

<!DOCTYPE svg "BogoDTD" "http://example.com/bogo.dtd">
<svg version     = "1.1"
        baseProfile = "tiny"
        xmlns       = "http://www.w3.org/2000/svg">

The basic problem is of course that DTD validation does not answer the 
question "Does document D conform to grammar G?" but answers the 
question "Does document D conform the grammar it happens to declare?" 
(RELAX NG validation would answer the first question.)

Henri Sivonen
Received on Saturday, 28 May 2005 11:38:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:45 UTC