[Home] [By Thread] [By Date] [Recent Entries]



Greetings,

On Thu, 1 Aug 2002, Richard Tobin wrote:

> There's no point in having a namespaced version of an attribute that
> is only ever used on elements from that namespace [*].

Well, there is, since this is the only way to get an attribute in a
namespace using only the logic of the current spec -- that is, without
the effective extension to the spec that Simon is suggesting as best
practice.

> It's verbose ...

This is XML -- if folk cared about verbosity it, and especially XSLT,
would look very different!  (I'm only partly joking).

In any case, the application's semantics can sweep up no-namespace
attributes, just as XSLT processors are obliged to observe the
no-namespace attributes on `xsl:' namespace elements.

> (b) Always use the unnamespaced version on elements from the same
>     namespace.

...which is this case, I think.

All the best,

Norman


-- 
---------------------------------------------------------------------------
Norman Gray                        http://www.astro.gla.ac.uk/users/norman/
Physics and Astronomy, University of Glasgow, UK     norman@a...


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member