473,409 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,409 software developers and data experts.

Validation problem with Windows XP SP2

It seems that due to XP SP2's MIME type restrictions, when using
Internet Explorer 6 SP2 to validate documents, it will spit out this error:
-----------------------------------
Sorry, I am unable to validate this document because its content type is
text/plain, 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).

That you recieved 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. In the latter case you should let us know that you need
us to support that content type (please include all relevant details,
including the URL to the standards document defining the content type)
using the instructions on the Feedback Page.
----------------------------------
I have asked my friend to test out, and he is using Windows XP SP2 as
well. He reports the same problem. Meanwhile, using Mozilla Firefox and
Opera doesn't result in any problem.

Do you guys experience this problem as well? It's a major blocker...
Also, on another note, I hope PHP files can be validated soon as well.
Jul 20 '05 #1
13 7223
Reuben Chew wrote:
Do you guys experience this problem as well? It's a major blocker...
Its a bug in IE, not the validator.
Also, on another note, I hope PHP files can be validated soon as well.


PHP files are not markup. They are markup with programing instructions mixed
in with them. Validation of them would be pointless, only their output is
relevent.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 20 '05 #2
David Dorward wrote:
Reuben Chew wrote:

Do you guys experience this problem as well? It's a major blocker...

Its a bug in IE, not the validator.

Also, on another note, I hope PHP files can be validated soon as well.

PHP files are not markup. They are markup with programing instructions mixed
in with them. Validation of them would be pointless, only their output is
relevent.

Ok, but is it possible for the Validator to be rectified to allow IE?
Jul 20 '05 #3
Reuben Chew wrote:
It seems that due to XP SP2's MIME type restrictions, when using
Internet Explorer 6 SP2 to validate documents,
url?
it will spit out this error:
Sorry, I am unable to validate this document because its content type
is text/plain, which is not currently supported by this service.
That seems logical. There is no validation possible with plain text. But
I'm a bit confused as to why IE6 would send a MIME type of text/plain.
Then again, I'm not sure how file upload validation works. You might be
happier validation from the server.
The Content-Type field is sent by your web server (or web browser if
you use the file upload interface)
Ah, that might explain it. Are you uploading a file to the validator
from your browser?
I hope PHP files can be validated soon as well.


You can validate the *output* of a PHP script if that output is
text/html or some variant of xhtml.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #4
On Sat, 14 Aug 2004 23:18:02 +0800, Reuben Chew
<fu********@pacific.net.sg> wrote:
David Dorward wrote:
Reuben Chew wrote:

Do you guys experience this problem as well? It's a major blocker...

Its a bug in IE, not the validator.
Also, on another note, I hope PHP files can be validated soon as well.

PHP files are not markup. They are markup with programing instructions
mixed
in with them. Validation of them would be pointless, only their output
is
relevent.

Ok, but is it possible for the Validator to be rectified to allow IE?

I'd simply use http://validator.w3.org/ to validate. Just bookmark it, and
pop the URL in. You can also uplload a file from the ole 'puter.
Jul 20 '05 #5
On Sat, 14 Aug 2004 12:53:55 -0400, Neal <ne*****@yahoo.com> wrote:
On Sat, 14 Aug 2004 23:18:02 +0800, Reuben Chew
<fu********@pacific.net.sg> wrote:
David Dorward wrote:
Reuben Chew wrote:
Do you guys experience this problem as well? It's a major blocker...
Its a bug in IE, not the validator.

Ok, but is it possible for the Validator to be rectified to allow IE?

I'd simply use http://validator.w3.org/ to validate. Just bookmark it,
and pop the URL in. You can also uplload a file from the ole 'puter.


Apologies, upon re-reading the OP I might have mis-replied. Seems you are
using a validator, and accessing it through IE on XP, and the browser is
screwing things up. (Awfully surprising, isn't it, that MS would design
the browser to screw up attempts to validate?)

My opinion, not a direct answer to the question: IE shouldn't be a design
browser. Mozilla or Opera are superior to IE for this purpose, as they are
far more W3C-conformant. I use IE only to check and ensure good rendering
after the page is designed and validated. So my solution would be to
validate using the conforming browser, and only check in IE (while the
other browser is open to verify you aren't harming the appropriate
rendering).
Jul 20 '05 #6
Neal wrote:
You can also uplload a file from the ole 'puter.


You seem to have missed the point of this thread. IE claims that the file is
text/plain instead of text/html when the file is uploaded. As the validator
is a markup validator and not a plain text validator, it rejects the file.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 20 '05 #7
Brian wrote:
Reuben Chew wrote:
It seems that due to XP SP2's MIME type restrictions, when using
Internet Explorer 6 SP2 to validate documents,

url?
it will spit out this error:
Sorry, I am unable to validate this document because its content type
is text/plain, which is not currently supported by this service.

That seems logical. There is no validation possible with plain text. But
I'm a bit confused as to why IE6 would send a MIME type of text/plain.
Then again, I'm not sure how file upload validation works. You might be
happier validation from the server.
The Content-Type field is sent by your web server (or web browser if
you use the file upload interface)

Ah, that might explain it. Are you uploading a file to the validator
from your browser?
I hope PHP files can be validated soon as well.

You can validate the *output* of a PHP script if that output is
text/html or some variant of xhtml.

Ok, when I had XP SP1, validation of webpages with Internet Explorer
worked like a breeze, text/html and stuff, even for PHP pages. But it
seems that in SP2 HTML gets detected as text/plain and PHP as
application/octet-stream. I like using file upload because I like to
validate my pages before uploading them.

I could use Mozilla Firefox or Opera to validate them, but they refuse
to validate files with the PHP extension, even though W3C's validator
ignores the php tags.
Jul 20 '05 #8
Reuben Chew wrote:
David Dorward wrote:
Reuben Chew wrote:
Do you guys experience this problem as well? It's a major blocker...

Its a bug in IE, not the validator.

Ok, but is it possible for the Validator to be rectified to allow IE?


Please re-read what Mr. Dorward wrote. The bug is in IE, *not* the
validator. You need to tell Microsoft to fix IE, because that's where the
bug is.

--
Shawn K. Quinn
Jul 20 '05 #9
Neal wrote:
On Sat, 14 Aug 2004 12:53:55 -0400, Neal <ne*****@yahoo.com> wrote:
On Sat, 14 Aug 2004 23:18:02 +0800, Reuben Chew
<fu********@pacific.net.sg> wrote:
David Dorward wrote:

Reuben Chew wrote:

> Do you guys experience this problem as well? It's a major blocker...

Its a bug in IE, not the validator.

Ok, but is it possible for the Validator to be rectified to allow IE?
I'd simply use http://validator.w3.org/ to validate. Just bookmark it,
and pop the URL in. You can also uplload a file from the ole 'puter.

Apologies, upon re-reading the OP I might have mis-replied. Seems you
are using a validator, and accessing it through IE on XP, and the
browser is screwing things up. (Awfully surprising, isn't it, that MS
would design the browser to screw up attempts to validate?)


Not in the least! M$ has never been able to make a version of IE that
is accurate to the standards, bug free, and secure. (Applies to all of
their software!) Why should anyone be surprised now?

I'm sticking with 2000 where I have to use Windows and then only using
Mozilla! And doing the major work with Linux! And I even avoid
checking my web pages with IE. If it can't handle valid code then
people need to scrap it!

My opinion, not a direct answer to the question: IE shouldn't be a
design browser. Mozilla or Opera are superior to IE for this purpose, as
they are far more W3C-conformant. I use IE only to check and ensure good
rendering after the page is designed and validated. So my solution would
be to validate using the conforming browser, and only check in IE (while
the other browser is open to verify you aren't harming the appropriate
rendering).

Jul 20 '05 #10
John Bowling wrote:

M$ has never been able to make a version of IE that is accurate to
the standards, bug free, and secure.
Far be it from me to come to the defense of the Redmond Empire, but this
statement is a little overdone. *No* organization has made a browser
that is "standards, bug free, and secure". (Try floating a <label> in
early versions of Moz or Netscape 6.) I do think Firefox is much more
secure than MSIE, and much closer to following various protocols and
recommendations, too. But let's not overstate the case.
And I even avoid checking my web pages with IE. If it can't handle
valid code then people need to scrap it!


If you're doing pages for yourself only, then go for it. It's your
choice. If you're doing them for others, than you made a choice you've
no right to make. You don't decide what software your hosts -- the
visitors who invite your pages into their environment -- use.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #11
On Mon, 16 Aug 2004 09:39:43 -0400, Brian
<us*****@julietremblay.com.invalid> wrote:
If you're doing pages for yourself only, then go for it. It's your
choice. If you're doing them for others, than you made a choice you've
no right to make. You don't decide what software your hosts -- the
visitors who invite your pages into their environment -- use.


Of course someone could make a browser which was far worse than IE, and if
it somehow got popular, we'd all hate it too and wish no one used it.

Though I agree that the militant standpoint of "anyone who uses IE doesn't
deserve to have a good rendering of my content" is foolish, I can
certainly sympathize with the sentiment. It's a major pain in the ass to
provide a correct document and then back-fit it to work in IE, but c'est
la vie and all that.
Jul 20 '05 #12
Brian <us*****@julietremblay.com.invalid> wrote in
news:10*************@corp.supernews.com:
John Bowling wrote:
And I even avoid checking my web pages with IE. If it can't handle
valid code then people need to scrap it!


If you're doing pages for yourself only, then go for it. It's your
choice. If you're doing them for others, than you made a choice
you've no right to make.


He has every right to make that choice.

--
How to make it so visitors can't resize your fonts:
<http://www.rpi.edu/~hughes/www/wise_guy/unresizable_text.html>
Jul 20 '05 #13
Sam Hughes wrote:
Brian wrote:
John Bowling wrote:
And I even avoid checking my web pages with IE. If it can't
handle valid code then people need to scrap it!


If you're doing pages for yourself only, then go for it. It's your
choice. If you're doing them for others, than you made a choice
you've no right to make.


He has every right to make that choice.


On behalf of his client? Well, I suppose. But the client should fire him
in that case. Good web design means working with what's out there. "Be
liberal in what you accept." That goes for browsers, too.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: arc | last post by:
I have a server object that performs zipcode validation based on zipcode entered in the web form. Ideally this should work as follows: Once the zip code is entered in the edit box it should...
2
by: Chris Barrow | last post by:
Hi everyone, Does anyone know if it is possible to append your own javascript function onto the end of a button's onclick method when validation controls are used? Here is an example of the...
2
by: Martyn Fewtrell | last post by:
Dear All I have a Windows 2003 Server with IIS6 where the validation controls on ASP.Net pages no longer work. I believe it to be specific to the server as if I create an ASP.Net page on the...
2
by: Fourge | last post by:
Hi, I have run into a very strange scenario. In developing an ASP.NET application on framework version 1.1, I found that certain client-side validation scripts were not being rendered. The...
2
by: Tim Frawley | last post by:
Source code attached indicates my problem with validation and a button bar save button. Fill the Textbox with some text then tab off the control. The message box will display the text in the...
2
by: Tom | last post by:
How is the best way to avoid validation when closing a window? For instance, I have a Windows Forms window which has a validation event for a text box. However, if one enters invalid data in then...
5
by: Micky | last post by:
VB v7.1.3088 NET v1.1.4322 SP1 My mate has a strange problem regarding the ESC key and validation. When he hits the Cancel button on his form, the form does not validate. This is correct...
2
by: dustbort | last post by:
I recently had a problem where my required field validator stopped working. But, the page still posted back and tried to insert a record into the database without performing server-side validation....
1
by: jaimemartin | last post by:
hello, I want to validate an xml by means of a schema (xsd). To do that first of all I´m using a SchemaFactory. The problem is that if I run the code in Windows all works fine, but If I run it in...
3
by: sck10 | last post by:
Hello, I have a web project (VS 2008 c#). I have a page that opens, but when I try to call an assembly (managed c++) on a submit event, I get the following error on the web server, but not on...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.