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