OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Re: URIs, concrete (was Re: [xml-dev] Un-ask the question)

[ Lists Home | Date Index | Thread Index ]


W. E. Perry wrote:

> Tim Bray wrote:
> > [...] The
> > document's recommendation to "treat unqualified attributes as being in
> > the namespace of the element that contains them" is just wrong, will lead
> > to poor interoperability, and should not be followed.
>
> But what does it mean, really, for an attribute to be 'in a namespace',
> separate from that attribute appearing (or being declared in an ATTLIST as)
> within the scope of a particular element?

That's the traditional SGML notion of what it means
to be "in a namespace".  In "Namespaces in XML" however,
"X is in namespace Y" is completely equivalent to
"The namespace name of X is Y".


The definition in Section 1 of [XMLNS], "An _XML namespace_
is a collection of names, identified by a URI reference"
is a red herring.  The collection of names thus identified
is simply the set of names which have that URI as the namespace
name.  For instance, in

    <xsl:foo xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; />

the 'xsl:foo' element is every bit as much "in" the XSL namespace
as 'xsl:stylesheet' and 'xsl:for-each' are.


--Joe English

  jenglish@flightlab.com




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS