UED77
12-07-2004, 9:26 PM
I'm very frustrated by W3C's HTML Validator (http://validator.w3.org/) currently.
Just two days ago, I validated my homepage's main page, and it passed as valid XHTML 1.1. A day later (yesterday), it didn't anymore, and I basically spent all yesterday trying to figure out what was up with it...
Anyways, my current problems are the following:
I have a primitive website, and its address is http://uedworld.webhop.net/. It's a redirect, but it correctly recognizes that and acts accordingly.
The second-tier page, christened "main.html (http://uedworld.webhop.net/main.html)", validates as HTML 4.01 Strict. The first-tier page "index.html (http://uedworld.webhop.net/index.html)" has the same DTD declaration, different content of course, but same structure, and it still doesn't validate.
If I let the validator determine by the DTD declaration what the format of the page is, it gives me an error saying "Line 1 Column 0: end of document in prolog".
When I select "HTML 4.01 Strict" as document type, it gives me a warning saying I used a manual DTD override, as well as giving me the error message
Line 1, column 50: no document element
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
(error at underline)
And I just can't discern what's wrong with it! Can somebody proficient in these matters please help me?
Thank you,
UED77
Just two days ago, I validated my homepage's main page, and it passed as valid XHTML 1.1. A day later (yesterday), it didn't anymore, and I basically spent all yesterday trying to figure out what was up with it...
Anyways, my current problems are the following:
I have a primitive website, and its address is http://uedworld.webhop.net/. It's a redirect, but it correctly recognizes that and acts accordingly.
The second-tier page, christened "main.html (http://uedworld.webhop.net/main.html)", validates as HTML 4.01 Strict. The first-tier page "index.html (http://uedworld.webhop.net/index.html)" has the same DTD declaration, different content of course, but same structure, and it still doesn't validate.
If I let the validator determine by the DTD declaration what the format of the page is, it gives me an error saying "Line 1 Column 0: end of document in prolog".
When I select "HTML 4.01 Strict" as document type, it gives me a warning saying I used a manual DTD override, as well as giving me the error message
Line 1, column 50: no document element
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
(error at underline)
And I just can't discern what's wrong with it! Can somebody proficient in these matters please help me?
Thank you,
UED77