W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2002

XQuery 1.0 Overriding prolog default namespaces

From: Priscilla Walmsley <priscilla@walmsley.com>
Date: Tue, 5 Nov 2002 11:31:19 -0500 (EST)
To: <public-qt-comments@w3.org>
Message-ID: <00b001c284e8$be1ebdc0$339afea9@WALMSLEYPH>




Hi,

The XQuery 1.0 WD (section 4.1) says that namespace declarations that
appear in element constructors are added to the in-scope namespaces.
It's clear what this means for namespace declarations with prefixes.  

It's not so clear (at least to me!) what this means for default
namespace declarations.   The definition of "in-scope namespaces"
appears to specifically be referring to resolving prefixes, and it is
listed as a separate component of the expression context from the
"Default namespace for element and type names" and the "Default
namespace for function names".

So, my question is, do default namespace declarations in element
constructors override these two default namespaces (declared in the
prolog)?  Both of them, or just the element/type one?  

I think the rec could use some clarification.  

Thanks,
Priscilla

-----------------------------------------------------
Priscilla Walmsley             priscilla@walmsley.com
http://www.priscilla.walmsley.com
----------------------------------------------------- 
Received on Tuesday, 5 November 2002 12:02:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:13:58 GMT