W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2007

[Bug 4523] Default Unprefixed Namespace Handling is Problematic

From: <bugzilla@wiggum.w3.org>
Date: Tue, 08 May 2007 14:52:11 +0000
To: public-qt-comments@w3.org
Message-Id: <E1HlR2x-00062T-Fe@wiggum.w3.org>


------- Comment #3 from mike@saxonica.com  2007-05-08 14:52 -------
>From a usability point of view, I don't think you can expect people writing
1000-line queries to use the construct


every time they want to refer to an element name in the source document.

I can think of a number of possible solutions:

(a) following XSLT 2.0, introduce a prolog declaration

declare default path namespace "zzzz";

indicating that an unprefixed element name in a Step is considered to be in
namespace "zzzz", regardless of any other default namespace that might be in

(b) introduce syntax that allows one to refer to an element in no namespace as
distinct from an element in the default namespace, for example :foo or ~:foo

(c) introduce some capability to set the namespace context locally without
constructing a new element, for example

with xmlns="" {
Received on Tuesday, 8 May 2007 14:52:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:18 UTC