Re: xml-namespaces

Paul Abrahams wrote:
>
> |James> But they do.  As far as DTD processing is concerned, a colon is
> |James> just another name character.  The processing model is that first
> |James> you construct an element tree just as with XML 1.0, and second
> |James> you associate each element type and attribute name in the
> |James> element tree with an expanded name.
> 
> I assume that your second part means "you associate each element type
> and attribute name in the element tree with *the ELEMENT or ATTLIST
> declaration of* an expanded name", right?

No.  Each element type and attribute name in the element tree is
associated with an expanded name consisting of a local name and
optionally a URI.  It's got nothing to do with DTD processing; it allows
applications to recognize the name and process it appropriately.
 
> If the information at the URI isn't a set of declarations, then what
> might it be?  Just a list of names, one per line (which is what
> "collection" would imply without further explanation)?  Of what use
> would that be?  And is that what is intended?

There need not be anything at the end of the URI.  It is just a globally
unique identifier.

James

Received on Sunday, 23 August 1998 22:46:43 UTC