限定命名空间可以与默认命名空间相同吗?
有人可以指出 w3 规范中允许或拒绝这一点的具体点吗 - 我尝试通过http://www.w3.org/TR/REC-xml-names/阅读但找不到相关信息。
那么以下内容有效吗?
<root xmlns="http://abc">
<address xmlns:ns1="http://abc">
<!-- using qualified namespace which resolves to same value as default name space -->
<ns1:addressLine1>my address</ns1:addressLine1>
</address>
<!-- this next address element is from the same schema as the above -->
<address>
<addressLine1>my address</addressLine1>
</address>
</root>