Windows XP SP2的验证问题 [英] Validation problem with Windows XP SP2

查看:56
本文介绍了Windows XP SP2的验证问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎由于XP SP2的MIME类型限制,当使用

Internet Explorer 6 SP2来验证文档时,它会吐出这个错误:

-----------------------------------

抱歉,我无法验证本文档因为其内容类型为

text / plain,此服务目前不支持。


Content-Type字段由您的网站发送服务器(或Web浏览器,如果您使用文件上传界面,请使用文件上传界面)并取决于其配置。

通常,Web服务器将具有文件扩展名的映射(例如

为.html)到MIME内容类型值(例如text / html)。


您收到此消息可能意味着您的服务器是没有

配置正确,你的文件没有正确的文件名

扩展名,或者你试图验证我们做的文件类型

还不支持。在后一种情况下,您应该告诉我们您需要

我们来支持该内容类型(请包括所有相关详细信息,

,包括定义标准文档的标准文档的URL内容类型)

使用反馈页面上的说明。

----------------------- -----------

我已经让我的朋友测试了,他正在使用Windows XP SP2作为

。他报告了同样的问题。同时,使用Mozilla Firefox和

Opera不会导致任何问题。


你们也遇到过这个问题吗?它是一个主要阻止者...

另外,另一方面,我希望PHP文件也可以很快得到验证。

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.

推荐答案

Reuben Chew写道:
Reuben Chew wrote:
你们也遇到过这个问题吗?它是一个主要的拦截器...


它是IE中的一个错误,而不是验证器。

另外,另一方面,我希望PHP文件可以也很快得到验证。
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文件不是标记。它们是带有编程指令的标记与它们混合在一起

。验证它们是没有意义的,只有它们的输出是相同的。


-

David Dorward< http:/ /blog.dorward.me.uk/> < http://dorward.me.uk/>

Home是〜/ .bashrc的位置



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


David Dorward写道:
David Dorward wrote:
Reuben Chew写道:

Reuben Chew wrote:

你们也遇到过这个问题吗?它是一个主要阻止者...
Do you guys experience this problem as well? It''s a major blocker...



它是IE中的一个错误,而不是验证器。


Its a bug in IE, not the validator.

此外,打开另外请注意,我希望PHP文件也可以很快得到验证。
Also, on another note, I hope PHP files can be validated soon as well.



PHP文件不是标记。它们是带有编程指令的标记,与它们混合在一起。验证它们是没有意义的,只有它们的输出是相关的。


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.



好​​的,但验证器是否有可能被纠正以允许IE?


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


Reuben Chew写道:
Reuben Chew wrote:
似乎由于XP SP2的MIME类型限制,使用时使用了Internet Explorer 6 SP2验证文件,


url?

它会吐出这个错误:
抱歉,我无法验证此文档,因为其内容类型
是text / plain,此服务目前不支持。


这似乎合乎逻辑。纯文本无法进行验证。但是,对于为什么IE6会发送MIME类型的text / plain,我有点困惑。

然后,我不知道文件上传验证怎么样作品。您可能需要从服务器获得更快乐的验证。

Content-Type字段由您的Web服务器(或Web浏览器,如果您使用文件上传)发送接口)


啊,这可能解释了它。您是否正在从浏览器上传文件到验证器



我希望很快就可以验证PHP文件。
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.



您可以验证PHP脚本的*输出*,如果输出是

text / html或某些xhtml变体。


- -

Brian(删除.invalid给我发电子邮件)
http://www.tsmchughs.com/


这篇关于Windows XP SP2的验证问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆