W3C home > Mailing lists > Public > xml-names-issues@w3.org > July to September 1998

Re: URIs for "xml" and "xmlns" prefixes?

From: David Brownell <db@Eng.Sun.COM>
Date: Tue, 25 Aug 1998 19:59:29 -0700
Message-ID: <35E37A11.19250407@eng.sun.com>
To: James Clark <jjc@jclark.com>
CC: xml-names-issues@w3.org
James Clark wrote:
> 
> David Brownell wrote:
> >
> > The namespace spec states that there are two "implicitly declared"
> > namespace prefixes, "xml" and "xmlns".  But it doesn't give their
> > associated URIs, as needed for uniformity within implementations.
> 
> I don't see a need for a URI for "xmlns".  Names with the "xmlns"
> prefix  are never seen by applications.

That's not in the current spec.  How will applications know where the
namespaces are declared, if not through this (IMHO) natural model?
Or you assuming that preserving the declaration structure of source
data is not a goal?

I note that the XSL draft includes a requirement that applications be
able to see the list of namespace prefixes that are "in scope".  (2.4.2)
Looks like some API-like requirements are bubbling up; I don't think they
would naturally belong in this document.


> We know we need a URI for "xml".

Good ...


> The intention on "xmlns" is that's it's a keyword.

That might simplify some things.  Like supporting default namespace
declarations.

But -- just "xmlns", and not "xml"?  So it'd be allowable to say
"xmlns:xml='http://www.example.com'" and thus change the meaning
of an "xml:space" or "xml:lang" attribute?

- Dave
Received on Tuesday, 25 August 1998 23:02:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:43:30 UTC