Image

namespaces in XML

Tim Bray insists that there is no way one could totally get rid of namespaces in XML. Unfortunately, he did not say why. Looking it up on Google brings arguments that look stupid:

a) Need them in documents referencing several DTDs.
(Why does anyone need even one DTD?! I don't.)

b) Need them to know the meaning of this or that element throughout all the XML sources around the world.

(Wow, you mean I cannot use element names that are local to my specific XML source, and have to look around the whole world to make sure they are different? Should we prefix all John Smiths, for the same reason?)

c) Namespaces are like directories on a hard drive. You won'd be able to identify files unless you specify their location using directories.

(Wow, do we need a hierarchy of namespaces? How about two different computers, should we all the time prefix folder names with computer names? Should we prefix computer names with namespaces too, since these names tend to repeat?)

So... I think the arguments are pretty dumb. Any other arguments?