2
我的网站使用这个DTD是正确的。W3C文档类型错误?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html version="XHTML+RDFa 1.0" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb">
但我不断收到W3C网站上的验证错误?
DOCTYPE Override in effect!
The detected DOCTYPE Declaration "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">" has been suppressed and the DOCTYPE for "XHTML + RDFa" inserted instead, but even if no errors are shown below the document will not be Valid until you update it to reflect this new DOCTYPE.
对这里发生了什么以及如何解决这个问题有任何建议?
Thx。
网站W3C验证是从知名的在线搜索引擎优化系统重新driect - 所以他们的链接显然条出DTD并手动输入,导致其失败100%验证。有趣的bug! – ubique 2013-04-29 11:37:44