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: Tue, 31 May 2005 10:08:10 +0300
Message-Id: <ad28149a3af56b35cbaabcda74e33b77@iki.fi>
Cc: www-validator@w3.org
To: Chris Lilley <chris@w3.org>

On May 30, 2005, at 18:17, Chris Lilley wrote:
> On Monday, May 30, 2005, 4:07:46 PM, Henri wrote:
> HS> On May 30, 2005, at 16:08, Chris Lilley wrote:
>>> On Saturday, May 28, 2005, 1:38:24 PM, Henri wrote:
>>> HS> 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).
>>>
>>> HS> What if the DTD does not match?
>>>
>>> HS> <!DOCTYPE svg "BogoDTD" "http://example.com/bogo.dtd">
>>> HS> <svg version     = "1.1"
>>> HS>         baseProfile = "tiny"
>>> HS>         xmlns       = "http://www.w3.org/2000/svg">
>>> HS>   <bogo/>
>>> HS> </svg>
>>>
>>> Well then it wouldn't be valid :) as the DTD validator would report.
>
> HS> How do you know bogo.dtd does not make that valid?
>
> You don't, except by trying it.

Right. My point was that it would be misleading to say it is valid SVG 
Tiny 1.1 if the validity was based on the bogo DTD (assuming the DTD 
made it valid) but the name and version on the root element.

> HS> http://hsivonen.iki.fi/validator/?
> HS> schema=http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.2%2Frng%2FTiny
> HS> -1.2%2FTiny-1.2.rng&laxtype=yes
>
> Thanks! What does laxtype=yes do?

It makes the entity resolver not reject some common non-XML types 
(text/plain, text/html and text/xsl). Also, it turns off the 
enforcement of the US-ASCII default for text/* types.

The SVG Tiny 1.2 schema is served as text/plain.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 31 May 2005 07:08:17 GMT

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