[
Lists Home |
Date Index |
Thread Index
]
At 4:41 PM -0400 8/19/02, John Cowan wrote:
>Naah. Namespaces are designed to prevent name collisions and that's it.
>Anything else is all in your head.
>
That's the common refrain, and it may be true historically, but in
practice I don't believe it. The primary use I see for namespaces is
to quickly and easily recognize elements from particular
vocabularies, even in the absence of local name conflicts. Resolving
name conflicts is actually quite rare.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002) |
| http://www.cafeconleche.org/books/xian2/ |
| http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
|