是否可以在XML命名空间中使用冒号?
像这样的东西
<root xmlns:x:y="...." />
答案 0 :(得分:0)
结果可能因您的XMl处理器而异。
来自NT-Names定义:
The Namespaces in XML Recommendation [XML Names] assigns a meaning to names
containing colon characters.
Therefore, authors should not use the colon in XML names except for
namespace purposes, but XML processors must accept the colon as a name character.