[英]XHTML5 namespace… Is a final standard or need a W3C update?
The new 2014's XHTML recomendation say about namespaces , 2014年的新XHTML推荐说关于名称空间 ,
The HTML namespace is: http://www.w3.org/1999/xhtml
HTML命名空间为: http : //www.w3.org/1999/xhtml
So, a good practice is to add in the root tag of an XHTML5 file the attribute xmlns
, 因此,一个好的做法是在XHTML5文件的根标记中添加
xmlns
属性,
<html xmlns="http://www.w3.org/1999/xhtml">...</html>
but, let's see http://www.w3.org/1999/xhtml , it is updated? 但是,让我们看看http://www.w3.org/1999/xhtml ,它是否已更新?
NO: the last update was 2013-01-16 and about XHTML it say that is "Working drafts", so, perhaps, no final decision about ... 否:上一次更新是2013年1月16日,关于XHTML的信息是“工作草案”,因此,也许没有关于...的最终决定。
QUESTION: we can trust in this namespace declaration? 问题: 我们可以信任这个名称空间声明吗? Or we must wait a complete and safe standardization about it?
还是我们必须等待对其进行完整而安全的标准化?
For backward compatibility, the same http://www.w3.org/1999/xhtml
namespace has been used for all versions of HTML since 2000, including XHTML 5. 为了向后兼容,自2000年以来,相同的
http://www.w3.org/1999/xhtml
命名空间已用于所有版本的HTML,包括XHTML 5。
W3C HTML5 28 October 2014 Recommendation (not draft, meaning the specification process is complete) says : W3C HTML5 2014年10月28日建议书 (不是草案,意味着规范过程已完成) 说 :
The HTML namespace is: http://www.w3.org/1999/xhtml
HTML命名空间为: http : //www.w3.org/1999/xhtml
WHATWG's HTML: Living Standard — Last Updated 29 January 2015 also says : WHATWG的HTML:生活标准-2015年1月29日最后一次更新 还说 :
The HTML namespace is: http://www.w3.org/1999/xhtml
HTML命名空间为: http : //www.w3.org/1999/xhtml
It is safe to trust the stability of the http://www.w3.org/1999/xhtml
namespace name. 可以放心
http://www.w3.org/1999/xhtml
命名空间名称的稳定性。
The presence of a stale "Working drafts" label at the documentation page listed at http://www.w3.org/1999/xhtml/ does not change the actual recommendation status of HTML5. http://www.w3.org/1999/xhtml/上列出的文档页面上存在陈旧的“工作草稿”标签,并没有改变HTML5的实际推荐状态。 You should also know that a namespace URI is a lexical naming construct which does not even have to be retrievable.
您还应该知道,名称空间URI是词法命名结构,甚至不必检索即可。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.