Problem validating XHTML documents named .xhtml

Hi,

I have encountered a problem using the W3C HTML Validator service.

In attempting to upload and parse some XHTML documents, I noticed that
uploading files whose extensions are ".xhtml" do not parse correctly. 
I tried a couple of files called ".xhtml" and received the following
error message:

-----
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. 

You should make the first line of your HTML document a DOCTYPE
declaration ... (examples)
-----

However, renaming these files to *.html produces the intended results.

Please find attached a simple example, called "_emptyframe.html", which
parses successfully as XHTML 1.0.  (Validation failed completely when
the file was called "_emptyframe.xhtml".)

Any idea why this is?  Should XHTML files still be named *.html, or is
this a problem with the validator?

Thanks,


=====
Aaron Nielsen                             pfuii@yahoo.com.au

"To affect the quality of the day, that is the highest of
 arts.  Every man is tasked to make his life, even in its
 details, worthy of the contemplation of his most elevated
 and critical hour."                                - H.D.T.

_____________________________________________________________________________
http://clubs.yahoo.com.au - Yahoo! Clubs
- Join a club or build your own!

Received on Monday, 16 October 2000 05:55:23 UTC