W3C home > Mailing lists > Public > www-validator@w3.org > February 2000

Still another try

From: Braverman, David <DBraverman@ingprime.com>
Date: Mon, 7 Feb 2000 16:44:56 -0500
Message-ID: <8494E19A24CDD311A3B700902730AD850CF61C@PB350EXC>
To: "'www-validator@w3.org'" <www-validator@w3.org>
I did this:

1.	Validated http://www.w3.org/TR/xhtml1/ (OK, no errors);

2.	Copied the DTD reference from http://www.w3.org/TR/xhtml1/:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<?xml-stylesheet href="http://www.w3.org/StyleSheets/TR/W3C-REC.css"
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

3.	Pasted the reference into my document;

4.	Validated my document, which produced: 

Fatal error! cannot open "DTD/xhtml1-strict.dtd" (No such file or directory)

I couldn't parse this document, because it makes reference to a
system-specific file instead of simply using a public identifier to specify
the level of HTML being used. 

5.	Changed to a general reference, thus:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 

Which produced:

Uh oh! I got the following unknown error:
l1-strict.dtd:236:27:E: omitted tag minimization parameter can be omitted
only if "OMITTAG NO" is specified on the SGML declaration Please make sure
you specified the DOCTYPE properly! 

7.	Removed the specific reference altogether:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">

to get:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">
Error: cannot generate system identifier for public text "-//W3C//DTD XHTML
1.0 Strict//EN"

8.	Gave up and went back to HTML 4.01 for now.

If I'm doing something wrong, please let me know.

David Braverman
Received on Monday, 7 February 2000 16:45:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:26 UTC