|
Yes, URNs do reduce some of the problems associated with using HTTP URLs to identify namespaces, although as you point out they are still rather complex.
Your example of the Silicon Valley Groundhogs is interesting, but not an argument for namespaces. If you have an established relationship with the groundhogs people then receiving an XML document (either by email or a HTTP POST) with a root element of <svg> will not surprise you.
If within that document there is an embedded image:
<groundhog>
<name>Grumpy Groundhog</name>
<picture>
<svg>...</svg>
</picture>
</groundhog>
that should not surprise you either, as the context is sufficient to tell that it is an image.
Ambiguity is only possible if there were two XML image formats with a root element of <svg>, or two transformation languages that used <xsl:transform>.
This case is much less likely, and there are more gentle ways to disambiguate it than mandating namespace URIs everywhere.
|