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

XQuery Usecase "PART" incorrect?

From: Probst, Martin <martin.probst@sap.com>
Date: Wed, 22 Sep 2004 15:46:23 +0200
Message-ID: <324B119BAD4D8F42AA66C7E44508DACC1A4955@dewdfe20.wdf.sap.corp>
To: www-ql@w3.org

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.

Martin Probst
Received on Wednesday, 22 September 2004 13:47:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:43:43 UTC