Uncle Dave ponders the meaning of namespaces

Date view Thread view Subject view Author view

From: Dave Winer (dave@userland.com)
Date: Thu Aug 10 2000 - 22:51:10 PDT


As long as we're trashing cherished beliefs tonight..

On the CMS mail list hosted by Cameron Barrett and Phil Suh, which btw is an
excellent list, mostly users of CMSes, all pros..

There was a thread about using XML to specify user interfaces, and a
designer, James Spahr, who has been a Frontier user for many years, said
that the XML he uses in Manila is self-documenting. Hmmm, I said to myself.

An interesting point of view and something I had missed. "Plain-tagged" XML
looks just like HTML. I found myself wondering why the designers of
namespaces didn't use an attribute to specify the namespace. Then it would
look familiar to people who have experience in HTML.

Instead of:

<mynamespace:mytag/>

It would have been

<mytag namespace="mynamespace"/>

You could put more attributes there. This might be the only indisputable
place to use an attribute, but of course a True Believe would say you have
to do it this way:

<mytag>
   <namespace>mynamespace</namespace>
   </mytag>

So that the namespace could become something much cooler 25 years from now.

Which is probably why they went with the colonular notation.

Anyway, more pissing in the wind from Uncle Dave.

Dave


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Aug 10 2000 - 23:00:19 PDT