Re: apparent inconsistency on w3c-site

Hello Ian,

I wrote erroneously "error" instead of "warning" - message.

The warning message appears with Your example as well.

Yours

Dominik Lenné


----- Original Message ----- From: "Ian Jacobs" <ij@w3.org>
To: "dominik lenné" <dlenne@web.de>
Cc: <site-comments@w3.org>
Sent: Friday, February 10, 2012 4:52 PM
Subject: Re: apparent inconsistency on w3c-site



On 10 Feb 2012, at 2:05 AM, dominik lenné wrote:

> Dear w3c team member,
> 
> I was using code
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"
> "http://www.w3.org/TR/REC-html40/frameset.dtd">
> 
> copied and pasted from Your page
> 
> http://www.w3.org/TR/1998/REC-html40-19980424/present/frames.html
> 
> 
> to declare a frameset and got the following error message from Your validator http://validator.w3.org/:
> 
> Mismatch between Public and System identifiers in the DOCTYPE declaration
> 
> This document uses an inconsistent DOCTYPE declaration. The Public Identifier -//W3C//DTD HTML 4.0 Frameset//EN declares the HTML 4.0 Frameset document type, but the associated System Identifier http://www.w3.org/TR/REC-html40/frameset.dtd does not match this document type.

Hello Dominik,

I just pasted the example you cited into the validator and it worked for me.

Ian

----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"
 "http://www.w3.org/TR/REC-html40/frameset.dtd">
<HTML>
<HEAD>
<TITLE>A simple frameset document</TITLE>
</HEAD>
<FRAMESET cols="20%, 80%">
<FRAMESET rows="100, 200">
    <FRAME src="contents_of_frame1.html">
    <FRAME src="contents_of_frame2.gif">
</FRAMESET>
<FRAME src="contents_of_frame3.html">
<NOFRAMES>
    <P>This frameset document contains:
    <UL>
       <LI><A href="contents_of_frame1.html">Some neat contents</A>
       <LI><IMG src="contents_of_frame2.gif" alt="A neat image">
       <LI><A href="contents_of_frame3.html">Some other neat contents</A>
    </UL>
</NOFRAMES>
</FRAMESET>
</HTML>
---
--
Ian Jacobs (ij@w3.org)    http://www.w3.org/People/Jacobs/
Tel:                                      +1 718 260 9447

Received on Sunday, 19 February 2012 01:55:42 UTC