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

Re: well-known namespace prefixes

From: Don Chamberlin <chamberl@almaden.ibm.com>
Date: Mon, 13 Sep 2004 12:51:58 -0400
To: "Howard Katz" <howardk@fatdog.com>
Cc: public-qt-comments@w3.org
Message-ID: <OFFC74E0C0.EAD85334-ON88256F0E.005C693A-88256F0E.005C98F7@us.ibm.com>
Hello Howard,
I've fixed Section 2 (Basics) of the XQuery document to clarify that the 
namespace prefixes xs, xsi, etc. are predeclared prefixes in the 
languages, not just "used in the document." These prefixes are also listed 
as predeclared in Section 4.11 (Namespace Declaration).
Thanks for your comment,
--Don Chamberlin

"Howard Katz" <howardk@fatdog.com> 
Sent by: public-qt-comments-request@w3.org
07/27/2004 04:44 PM


well-known namespace prefixes

I don't know if this is making a mountain out of a molehill, but I find 
description of the five predefined namespace prefixes in the main XQuery 
document [1] a bit confusing. In particular, the wording "This document 
the following predefined namespace prefixes" is potentially misleading -- 
least it was for me the first time I encountered it -- in that the phrase
"This document uses ..." seems to imply that the prefixes are being used 
the specification document for pedagogic purposes only, while in fact the
prefix-uri associations are normative (ie, they're "well-known" and can be
used in queries w/out requiring the user to declare them in the prolog

I haven't found any other clear, unambigous statement in any of the XQuery
documents that these five default associations are normative (tho there's 
least one related mention in the F&O document [2] for three of them);
possibly this is a good place to do so. Rather than saying "This document
uses ...", how about a less amibiguous statement such as, "The following
predefined namespace prefixes are "well-known" and can be used in queries
without declaring them explicitly in the prolog" or some such.

Lastly, just out of curiosity, are these default associations considered
examples of "statically known namespaces" in the static context [3]?


[1] http://www.w3.org/TR/xquery/#id-basics

[2] http://www.w3.org/TR/xpath-functions/#namespace-prefixes (note that
"defalt" is misspelled in the text)

[3] http://www.w3.org/TR/xquery/#dt-static-namespaces
Received on Monday, 13 September 2004 16:52:42 UTC

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