W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2003

[XSLT2] 11.1.4 Namespace Aliasing: #default and attributes

From: Oliver Becker <obecker@informatik.hu-berlin.de>
Date: Tue, 2 Sep 2003 10:59:03 +0200 (MEST)
Message-Id: <200309020859.h828x3Ta028097@mail.informatik.hu-berlin.de>
To: public-qt-comments@w3.org

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:49 UTC