| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1293 人关注过本帖
标题:W3C 检测发现的一些错误和警告怎么处理
只看楼主 加入收藏
拉C
Rank: 1
来 自:南方
等 级:新手上路
帖 子:55
专家分:1
注 册:2008-7-29
结帖率:72.73%
收藏
 问题点数:0 回复次数:0 
W3C 检测发现的一些错误和警告怎么处理
   17. Warning Line 404, Column 308: cannot generate system identifier for general entity "t"

      …/www.

      

      An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".

      Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters.

      If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.

      Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
  18. Error Line 404, Column 308: general entity "t" not defined and no default entity

      …/www.

      

      This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
  19. Warning Line 404, Column 309: reference not terminated by REFC delimiter

      …/www.

      

      If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
  20. Warning Line 404, Column 309: reference to external entity in attribute value

      …/www.

      

      This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&'.
  21. Error Line 404, Column 309: reference to entity "t" for which no system identifier could be generated

      …/www.

      

      This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
  22. Info Line 404, Column 307: entity was defined here

      …/www.

  23. Warning Line 404, Column 312: cannot generate system identifier for general entity "c"

      …/www.

      

      An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".

      Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters.

      If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.

      Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
  24. Error Line 404, Column 312: general entity "c" not defined and no default entity

      …/www.

      

      This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
  25. Warning Line 404, Column 313: reference not terminated by REFC delimiter

      …/www.

      

      If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
  26. Warning Line 404, Column 313: reference to external entity in attribute value

      …/www.

      

      This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&'.
  27. Error Line 404, Column 313: reference to entity "c" for which no system identifier could be generated

      …/www.

      

      This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
  28. Info Line 404, Column 311: entity was defined here

      …/www.

  29. Warning Line 407, Column 193: cannot generate system identifier for general entity "web_id"

      …tp:// language="JavaScript"></…

      

      An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".

      Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and &aelig; are different characters.

      If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.

      Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
  30. Error Line 407, Column 193: general entity "web_id" not defined and no default entity

      …tp:// language="JavaScript"></…

      

      This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
  31. Warning Line 407, Column 199: reference not terminated by REFC delimiter

       language="JavaScript"></script…

      

      If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
  32. Warning Line 407, Column 199: reference to external entity in attribute value

       language="JavaScript"></script…

      

      This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&amp;'.
  33. Error Line 407, Column 199: reference to entity "web_id" for which no system identifier could be generated

       language="JavaScript"></script…

      

      This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
  34. Info Line 407, Column 192: entity was defined here

      …ttp:// language="JavaScript"><…

  35. Error Line 407, Column 230: required attribute "type" not specified

      …&web_id=2094702" language="JavaScript"></script> | copyright © <a href="http:/…

      

      The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

      Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.


[ 本帖最后由 拉C 于 2011-4-4 13:51 编辑 ]
搜索更多相关主题的帖子: system 
2011-04-04 11:22
快速回复:W3C 检测发现的一些错误和警告怎么处理
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.042097 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved