[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCS/attribute prefix misconception



>><xcs:format xcs:mimeType="" xcs:contentType="" xcs:location=""/>
>
>No, no, a hundred times no.  Unprefixed attributes are *not* in any
namespace.  They are *not* in 
>either the default namespace nor in the namespace of the element in whose
start tag they appear.  
>The *only* way an attribute gets into a namespace is to have a prefix on
its name.  Period.  This 
>is a very common misunderstanding about namespaces.

Uhmm, I guess you're right. The Namespaces spec fooled me again. Thanks for
the correction. My point however remains (actually, my error serves as a
good example): if you use namespaces, make really clear to developers what
you expect for the namespaces of attributes and how to use them.

Bye
Teun Duynstee