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] Default namespace for attributes?

[ Lists Home | Date Index | Thread Index ]

This is an often confusing part of the spec.  You may find James Clark's 
alternative explanation helpful:

http://www.jclark.com/xml/xmlns.htm

Ian

Mukul Gandhi wrote:
> The XML Namespaces Recommendation says that the default namespace
> applies only to elements, and not to attribues
> (http://www.w3.org/TR/REC-xml-names/#defaulting).
> 
> i.e. an unprefixed attribute name will always be in the null namespace.
> 
> I am curious to know why this is so?
> 
> Regards,
> Mukul
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
> 

-- 
Ian Graham
H: 416.769.2422 / W: 416.513.5656 / E: <ian . graham AT utoronto . ca>
<< Don't send ZIP files, or your mail will be discarded by my spam filter >>




 

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

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