W3C home > Mailing lists > Public > www-validator@w3.org > November 2001

Problem in HTML, or bug in Wc# validator?

From: Robert Orenstein <rlo@perforce.com>
Date: Tue, 13 Nov 2001 01:09:44 -0500 (EST)
Message-Id: <>
To: www-validator@w3.org
Sorry if this is the wrong place to send this, but every reference
I've looked at and everyone I've talked to has said that the following
SHOULD validate:

	 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

			<title>Just a test</title>
		<style type="text/css">
			 #foo {color:#006666}

		<h1 id=foo>Test 1</h1>
		<h2 id=foo>Test 2</h2>

...but the validator gives the following errors:

        Line 15, column 9: 

            <h2 id=foo>Test 2</h2>

        Error: ID "FOO" already defined 

	 Line 14, column 9: 

             <h1 id=foo>Test 1</h1>

        Error: ID "FOO" first defined here 

Any ideas?


Robert Orenstein
Received on Tuesday, 13 November 2001 05:36:50 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 November 2015 11:01:15 UTC