摆脱“XHTML 元素元数据上属性 http-equiv 的错误值 X-XRDS-Location".在 XHTML5 验证中 [英] Get rid of “Bad value X-XRDS-Location for attribute http-equiv on XHTML element meta.” in XHTML5 validation
本文介绍了摆脱“XHTML 元素元数据上属性 http-equiv 的错误值 X-XRDS-Location".在 XHTML5 验证中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有 一个 XHTML 5 页面,我想使用 application/xhtml+xml开始验证,但验证器在它的 验证结果:
I have an XHTML 5 page served with application/xhtml+xml which I want to get to validate, but the validator gives me trouble in its validation results:
Line 17, Column 89: Bad value X-XRDS-Location for attribute http-equiv on XHTML element
有问题的行是:
<meta http-equiv="X-XRDS-Location" content="http://shlomif.livejournal.com/data/yadis" />
我该如何解决这个问题?是否从 XHTML 5 规范中删除了任意的http-equiv"值?
How can I fix this problem? Was an arbitrary "http-equiv" value removed from the XHTML 5 specification?
推荐答案
在 (X)HTML5 中,您只能使用 http-equiv
值是
In (X)HTML5, you may only use http-equiv
values that are
- defined in the HTML5 spec, or
- registered in the WHATWG wiki page "PragmaExtensions".
如果您认为 X-XRDS-Location
是一个有用的值,您必须注册.
If you think X-XRDS-Location
would be a useful value, you’d have to register it.
这篇关于摆脱“XHTML 元素元数据上属性 http-equiv 的错误值 X-XRDS-Location".在 XHTML5 验证中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文