神秘的XHTML验证错误

时间:2010-07-30 08:33:02

标签: validation xhtml http-compression xhtml-transitional

我正在尝试验证我的新网站的主页,看起来我有一个神秘的麻烦。

如果我使用W3C Validator的复制粘贴页面源函数,我只收到一个警告并且我的页面有效。

但是,如果我使用链接输入来验证我的页面,则会显示以下错误:

A fatal error occurred when attempting to decode response body from http://www.yoursite.com/. Either we do not support the content encoding specified ("gzip"), or an error occurred while decoding it.

错误是:不能枪口内容

我的网站是:

pansiyon rezervasyon portalı

有人会在这个问题上帮助我吗? 我的页面有效吗?

2 个答案:

答案 0 :(得分:1)

问题是验证器服务不支持您的Web服务器发送的gzip编码内容。这不是一个问题。如果您的页面通过复制粘贴源代码进行验证,则表示它是有效的。

答案 1 :(得分:1)

我得到了一些警告,比如通过名称而不是id / class来识别锚点,URI是格式错误的(例如:/ desktopmodules / dnnforge - where / images / uovisitors.gif),以及使用XML的输入id语法。

编辑警告。

Result: 0 errors / 22 warnings

line 23 column 1 - Warning: <input> ID "__EVENTTARGET" uses XML ID syntax
line 24 column 1 - Warning: <input> ID "__EVENTARGUMENT" uses XML ID syntax
line 412 column 2 - Warning: <img> escaping malformed URI reference
line 412 column 312 - Warning: <img> escaping malformed URI reference
line 662 column 348 - Warning: <a> escaping malformed URI reference
line 662 column 514 - Warning: <a> escaping malformed URI reference
line 662 column 698 - Warning: <a> escaping malformed URI reference
line 662 column 882 - Warning: <a> escaping malformed URI reference
line 662 column 1045 - Warning: <a> escaping malformed URI reference
line 662 column 1258 - Warning: <a> escaping malformed URI reference
line 717 column 9 - Warning: <input> ID "__dnnVariable" uses XML ID syntax
line 730 column 38 - Warning: <input> ID "__VIEWSTATE" uses XML ID syntax
line 5 column 1460 - Warning: trimming empty <style>
line 165 column 53 - Warning: <a> cannot copy name attribute to id
line 183 column 74 - Warning: <a> cannot copy name attribute to id
line 211 column 1 - Warning: <a> cannot copy name attribute to id
line 252 column 66 - Warning: <a> cannot copy name attribute to id
line 304 column 77 - Warning: <a> cannot copy name attribute to id
line 329 column 1 - Warning: <a> cannot copy name attribute to id
line 356 column 1 - Warning: <a> cannot copy name attribute to id
line 399 column 1 - Warning: <a> cannot copy name attribute to id
line 423 column 1 - Warning: <a> cannot copy name attribute to id
Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN"
Info: Document content looks like XHTML 1.0 Transitional