[XSLT2] 11.1.4 Namespace Aliasing: #default and attributes

Hello,

the current text in "11.1.4 Namespace Aliasing" of the XSLT 2.0 WD
doesn't state if the value "#default" applies to unprefixed attributes.

One could argue, that a default namespace as declared by xmlns never 
applies to unprefixed attributes, so the value "#default" doesn't change 
the namespace of a literal attribute.

On the other hand, I would expect (and Saxon does this) that "#default"
applies to unprefixed element names, even if there's no xmlns declaration
at all and "#default" therefore denominates the null namespace.

So it seems that element names and attribute names will be treated
differently if they are in the null namespace and the value "#default"
for the stylesheet-prefix attribute is used.

This should be clarified.
Regard,
Oliver Becker


/-------------------------------------------------------------------\
|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: obecker@informatik.hu-berlin.de             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/

Received on Tuesday, 2 September 2003 04:59:07 UTC