W3C home > Mailing lists > Public > site-comments@w3.org > February 2012

Re: apparent inconsistency on w3c-site

From: Ian Jacobs <ij@w3.org>
Date: Fri, 10 Feb 2012 09:52:51 -0600
Cc: <site-comments@w3.org>
Message-Id: <3CFB60C2-DDDA-45E9-A17F-D93D53544F63@w3.org>
To: dominik lenné <dlenne@web.de>

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.


<TITLE>A simple frameset document</TITLE>
<FRAMESET cols="20%, 80%">
  <FRAMESET rows="100, 200">
      <FRAME src="contents_of_frame1.html">
      <FRAME src="contents_of_frame2.gif">
  <FRAME src="contents_of_frame3.html">
      <P>This frameset document contains:
         <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>
Ian Jacobs (ij@w3.org)    http://www.w3.org/People/Jacobs/
Tel:                                      +1 718 260 9447
Received on Friday, 10 February 2012 15:52:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:34 GMT