|
Posted by Trevor Orton on November 13, 2004, 1:48 am
Please log in for more thread options
Hello, I'm having a slight problem using the W3C html validator and I've
reviewed the FAQ's with no luck so hopefully someone here would be kind
enough to point me in the right direction.
I recently validated my site's css and the bulk of the html pages via the
W3C validator but was forced to use the file upload option because the
'Validate by URL' option returns the following error:
>>Sorry, I am unable to validate this document because its content type is
http://www.ortonage.com, which is not currently supported by this service.
The Content-Type field is sent by your web server (or web browser if you use
the file upload interface) and depends on its configuration. Commonly, web
servers will have a mapping of filename extensions (such as ".html") to MIME
Content-Type values (such as text/html).
I'd now like to determine why I'm receiving the error. The web site is
http://www.ortonage.com. So far, I've verified that the server mime types
are configured correctly on the web server (MS IIS). I know I'm probably
going to get beat up because I'm using MS IIS but it has met my needs so
far. :) I've also verified the doctype is correct <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"> and that the meta tag <META
HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> is
correct. I'm now at a loss on where to look next.
The site uses a URL rewriter so even though the URL appears as static to the
client it gets modified by the server to a dynamic URL before processing and
responding to the client. I'm wondering if the server is not including the
correct content-type in the header information because the ".htm" is
stripped from the URL during processing and before the response is actually
returned to the client side. If that is the case, any ideas on how to
rectify the problem? I also have the meta tag equivalent in each web page
so I thought that it might guarantee the content-type is set correctly.
Works fine for Netscape and IE browsers. I've only seen this problem on W3C
so far.
Any suggestions would be very much appreciated.
Thanks.
Trevor Orton (www.ortonage.com)
|
|
Posted by Leonard Blaisdell on November 12, 2004, 11:57 pm
Please log in for more thread options
> Any suggestions would be very much appreciated.
<http://www.htmlhelp.com/tools/validator/> says everything is OK. The W3C
validator can't parse it. I'll leave it to others to tell you why.
You asked only for a solution to one problem. I have to tell you that from
a design point of view, you have two.
leo
--
<http://web0.greatbasin.net/~leo/>
|
|
Posted by Trevor Orton on November 13, 2004, 3:49 pm
Please log in for more thread options > <http://www.htmlhelp.com/tools/validator/> says everything is OK. The W3C
> validator can't parse it. I'll leave it to others to tell you why.
> You asked only for a solution to one problem. I have to tell you that from
> a design point of view, you have two.
>
> leo
Hi Leo. Yes, I had already ran the same validator but it did not complain,
nor did W3C when I uploaded the page source individually.
Please comment on what you feel are design issues (even if you don't want to
get into why or how to fix them). The site was my first attempt with css and
compliant html so I'm not surprised you feel there are other problems. It
seems to be rendering correctly under recent versions of IE and NS and I
plan to do some testing with additional browsers in the future when time
permits.
Thanks for your time.
Trevor
|
|
Posted by Leonard Blaisdell on November 15, 2004, 5:42 pm
Please log in for more thread options
> Please comment on what you feel are design issues (even if you don't want to
> get into why or how to fix them). The site was my first attempt with css and
> compliant html so I'm not surprised you feel there are other problems.
First, two newsgroups that handle site design specifically:
alt.html.critique
comp.infosystems.www.authoring.site-design
I find the first reference to be more active.
Second, I use the ancient resolution of 640x480. Your design causes an
enormous sideways scroll. You have large areas of white space toward the
bottom. There are other design issues.
Try the following link to think about creating sites for "all" resolutions.
<http://www.allmyfaqs.com/faq.pl?AnySizeDesign> And try the alt.html.critique newsgroup for candid appraisal of your design.
> Thanks for your time.
I'm throwing you to the sharks ;-)
leo
--
<http://web0.greatbasin.net/~leo/>
|
|
Posted by Steve Pugh on November 13, 2004, 7:32 am
Please log in for more thread options On Sat, 13 Nov 2004 00:48:06 -0500, "Trevor Orton"
>I recently validated my site's css and the bulk of the html pages via the
>W3C validator but was forced to use the file upload option because the
>'Validate by URL' option returns the following error:
>>>Sorry, I am unable to validate this document because its content type is
>http://www.ortonage.com, which is not currently supported by this service.
>The Content-Type field is sent by your web server (or web browser if you use
>the file upload interface) and depends on its configuration. Commonly, web
>servers will have a mapping of filename extensions (such as ".html") to MIME
>Content-Type values (such as text/html).
>
>I'd now like to determine why I'm receiving the error. The web site is
>http://www.ortonage.com. So far, I've verified that the server mime types
>are configured correctly on the web server (MS IIS).
No they're not.
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Sat, 13 Nov 2004 06:32:48 GMT
Set-Cookie: u=1704538305; expires=Tuesday, 11-Nov-14 06-32-48 GMT;
path=/;
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Sat, 13 Nov 2004 06:32:48 GMT
See? No Content-Type header at all.
Steve
|
| Similar Threads | Posted | W3C Validator error? is valid for doctype HTML 4.01 Strict | April 21, 2005, 12:46 pm |
| W3C validator error isn't really an error? | September 13, 2005, 1:21 am |
| error(?) "302 Found" on Validator XHTML W3C | August 5, 2005, 6:19 am |
| XHTML validator giving an error for onMouseOver | August 5, 2005, 2:24 pm |
| XHTML Validation Error while using w3 validator service | July 13, 2007, 2:11 pm |
| [Validator] error validating HTML4.01 PHP maden page | July 10, 2005, 10:13 am |
| Document seems invalid, but validates as HTML 4.01 strict | September 4, 2008, 3:01 pm |
| error in c program for cgi ng.html | February 10, 2006, 10:22 am |
| Error when validating HTML pages | May 2, 2005, 7:28 pm |
| Re: is invalid html 4 strict? | June 21, 2008, 1:43 pm |
|