Why is an XML attribute without XMLNS prefix not equal to a prefixed attribute with same local name?
问题 When the default namespace and a prefixed namespace resolves to the same namespace URI, why is an attribute with no prefix not equal to a prefixed attribute, when both have the same local name? The "Namespaces in XML" specification just says it's so, but it's very short on why. Anyone knows why it's like this? Excerpt from section "6.3 Uniqueness of Attributes" at http://www.w3.org/TR/xml-names11/#uniqAttrs : For example, each of the bad empty-element tags is illegal in the following: <!--