W3C home > Mailing lists > Public > www-validator@w3.org > September 2004

Problem with Validator

From: <robert_schopp@us.ibm.com>
Date: Wed, 1 Sep 2004 16:37:41 -0400
To: www-validator@w3.org
Message-ID: <OFE7F100BF.4C9CF19D-ON85256F02.006901E5-85256F02.007162A8@lotus.com>
Hello All - I installed the W3C HTML Validator v0.6.7 on a RedHat 9 system 
using the tarball downloads.  When I validate a small html file, the first 
two (of many) errors are

Line 2, column 38: URL not supported by this version
Line 2, column 38: DTD did not contain element declaration for document 
type name

Is it not getting past the DOCTYPE declaration?   Here are the contents of 
the html file:

 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
 2: "http://www.w3.org/TR/html4/loose.dtd"> 
 4: <html><head><meta http-equiv="Content-Type" 
 5: <title>ddAPI: DomDoc C++ API Documentation</title>
 6: <link href="doxygen.css" rel="stylesheet" type="text/css">
 7: </head><body>
 8: <!-- Generated by Doxygen 1.3.7 -->
 9: <div class="qindex"><a class="qindexHL" 
href="index.html">Main&nbsp;Page</a> | <a class="qindex" 
href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" 
href="annotated.html">Class&nbsp;List</a> | <a class="qindex" 
href="files.html">File&nbsp;List</a> | <a class="qindex" 
href="functions.html">Class&nbsp;Members</a> | <a class="qindex" 
href="globals.html">File&nbsp;Members</a> | <a class="qindex" 
10: <h1>DomDoc C++ API Documentation </h1>
11: <p>
12: <h3 align="center">1 </h3>This is the completely documented C++ API 
for Domino.Doc. <hr size="1"><address style="align: 
right;"><small>Generated on Mon Aug 30 22:40:07 2004 for ddAPI by
13: <a href="http://www.doxygen.org/index.html">
14: <img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 
1.3.7 </small></address>
15: </body>
16: </html>

When I remove the URL from the doctype declaration so that it looks like 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
the first error listed now becomes:

Line 1, column 62: cannot generate system identifier for public text 
"-//W3C//DTD HTML 4.01 Transitional//EN"
....PE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

It seems to not recognize the doctype declaration.

The SGML Library path in validator.conf is pointing to the correct 
/sgml-lib directory, and the loose.dtd file is in the proper subdirectory.

BTW, this file validates fine when uploaded to the W3C public validation 


Received on Wednesday, 1 September 2004 20:47:11 UTC

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