W3C home > Mailing lists > Public > www-ql@w3.org > July to September 2004

Re: XQuery Usecase "PART" incorrect?

From: Jonathan Robie <jonathan.robie@datadirect.com>
Date: Wed, 22 Sep 2004 12:15:35 -0400
Message-ID: <4151A527.9030202@datadirect.com>
To: "Probst, Martin" <martin.probst@sap.com>
CC: www-ql@w3.org

Hi Martin,

The default namespace for functions is the F&O namespace, so the prefix 
is not needed unless this default is set to something else.

Jonathan

Probst, Martin wrote:

> Hello, I've stumbled across a little incorrectness in the use cases
> (I believe). This is from the source of PARTS Q1, line #15: for $p in
> doc("partlist.xml")//part[empty(@partof)] ^^^^^ Whereas in the main
> XQuery Specification "empty" stands in the list of reserved function
> names. So the built-in function "empty" may (or at least should) not
> be called without using a proper prefix like in the functions and
> operators spec: "fn:empty()". It's a minor thing but should be
> corrected in the use cases as it might not be too obvious to users.
> 
> mfg Martin Probst
> 
> (DGBD)
Received on Wednesday, 22 September 2004 16:16:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:17:16 UTC