在XHTML5验证中摆脱“Bad value X-XRDS-XHTML element meta上属性http-equiv的位置”。 [英] Get rid of “Bad value X-XRDS-Location for attribute http-equiv on XHTML element meta.” in XHTML5 validation
本文介绍了在XHTML5验证中摆脱“Bad value X-XRDS-XHTML element meta上属性http-equiv的位置”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在一个XHTML 5页面上提供了我想要的application / xhtml + xml得到验证,但验证器给我麻烦在它的验证结果:
第17行,第89列:错误值X-XRDS-属性http的位置-equiv on XHTML元素
有问题的行是:
< meta http-equiv =X-XRDS-Locationcontent =http://shlomif.livejournal.com/data/yadis/>
我该如何解决这个问题?是否从XHTML 5规范中删除了任意http-equiv值?
解决方案
请使用 http-equiv
值
如果您认为 X-XRDS-Location
是一个有用的值,那么您必须注册它。
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
The line in question is:
<meta http-equiv="X-XRDS-Location" content="http://shlomif.livejournal.com/data/yadis" />
How can I fix this problem? Was an arbitrary "http-equiv" value removed from the XHTML 5 specification?
解决方案
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".
If you think X-XRDS-Location
would be a useful value, you’d have to register it.
这篇关于在XHTML5验证中摆脱“Bad value X-XRDS-XHTML element meta上属性http-equiv的位置”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文