Still another try

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"
"DTD/xhtml1-strict.dtd">
<?xml-stylesheet href="http://www.w3.org/StyleSheets/TR/W3C-REC.css"
type="text/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" 
	
"http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd">

Which produced:

Uh oh! I got the following unknown error:
/usr/local/bin/nsgmls:http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtm
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
http://www.braverman.org/ 

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