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


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] a namespace definitions related question(s)

Pete Cordell wrote:
>> Another questions is: what happens with attributes:
>> <foo:bar xmlns:foo="foobar" foo:a="b" a="c"/>
>> Is there a "collision" between foo:a and a?
> foo:a and a are completely different attributes.  This is really  
> what namespaces enable.
> Conversely, in:
> <foo:bar xmlns:foo="foobar" xmlns:bar="foobar" foo:a="b" bar:a="c"/>
> foo:a and bar:a would be the same attribute and this should be  
> reported as an error.

By a namespace-aware parser. It's not an error for a non-namespace- 
aware parser.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

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

Copyright 1993-2007 XML.org. This site is hosted by OASIS