XML,xml,xML或“xml”的大小写版本的任何变体都可以用作xml中的元素或属性名称吗?
如果不是为什么不呢?
EDIT1
我指的是命名元素或属性.不是doctype
EDIT2
我并不是说这对于元素或属性来说是一个好名字,我找不到一个确定的答案.
解决方法
虽然大多数工具可能无法阻止它,但这可能是一种不好的做法.根据
http://www.w3.org/TR/xml/#NT-Name
Names beginning with the string “xml”,or with any string which would match ((‘X’|’x’) (‘M’|’m’) (‘L’|’l’)),are reserved for standardization in this or future versions of this specification.
即它现在可能有用……