Problem with W3C Validation - Page 1...

User 124389 Photo


Registered User
16 posts

I have current version of HTML Editor (and would use nothing else). However, it's been several months since I was actively working on HTML so I was surprised today when I edited a simple HTML page and clicked Document>Validate HTML and the W3C site said it couldn't validate the message. Here is explanation I received:

"
Sorry, I am unable to validate this document because its content type is application/octet-stream, which is not currently supported by this service.
"The Content-Type header 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 then randomly checked a number of my previously checked HTML pages and received the error for all of them. I have no idea what the problem is. Any insight will be welcome. (NOTE: When I check the same pages from their URL they check out fine.) Thanks much,
david
User 187934 Photo


Senior Advisor
20,239 posts

Can we have a link to one of the pages your checking?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1948478 Photo


Senior Advisor
1,850 posts

Does the file you are trying to validate have a .php extension?

I also get that error message when I try to locally validate an html file that has a .php extension. I got into the habit of changing the extension to .html when I wanted to validate a local file...

I have now reported the problem to the Coffeecup people as a potential bug. Let's see what they say...

User 187934 Photo


Senior Advisor
20,239 posts

I've never been able to validate a php page. I upload it then copy the source code and bring it back to the editor and save it as a html. Then I validate it.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 124389 Photo


Registered User
16 posts

It's every page, every HTML page I have, pages that have tested OK previously. Here is one at http://davidskirk.org/sample4.html I created it today by just setting preference to HTML4, using the Coffeecup Editor template and adding one line to it. It tests error-free online. I also have http://davidskirk.org/sample5.html that was created by setting preference to HTML5 and using generated template. It shows errors. However, when using the Document>Validate menu, both received the above mentioned error message. Thanks for any insight.
david
User 187934 Photo


Senior Advisor
20,239 posts

I get the title tag is empty as the wc3 error. Which it is.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 124389 Photo


Registered User
16 posts

Well, that's true, but not the issue I'm facing (although validator.w3c.org did give it a clean pass). My point is that all my HTML files, even this simple template with 100% HTML generated by Coffeecup, causes this error when I use the Document>Validate HTML menu selection:.

Sorry, I am unable to validate this document because its content type is application/octet-stream, which is not currently supported by this service.

The Content-Type header 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).

That you received this message can mean that your server is not configured correctly, that your file does not have the correct filename extension, or that you are attempting to validate a file type that we do not support yet.


Any thoughts? I'm not testing via a server, the extension is okay, and the file is UTF-8. I have no idea on the cause. Thanks,
david
User 1948478 Photo


Senior Advisor
1,850 posts

I copied your samples 4 and 5, saved them locally in the Editor and submitted them for validation (Documents > Validate HTML) and did not get the fatal error...

Just in case something has become corrupted, did you try re-installing the Editor?

If re-installing does not help, I think you should submit a support ticket to Coffeecup. (Drop-down menu in upper-right corner of this page: > 'Your Support Room')
User 187934 Photo


Senior Advisor
20,239 posts

It validates with the same title tag missing for me online and locally inside the HTML Editor.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 124389 Photo


Registered User
16 posts

Thanks for testing and confirming. I did uninstall and reinstall and problem remains. I'll submit a support ticket. Do enjoy the day,
david

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.