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 Friday, 10 February 2012 15:52:53 UTC