限定名称空间可以与默认名称空间相同吗?
有人能指出我允许或否认的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>