W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2006

[Bug 3532] fn-collection tests

From: <bugzilla@wiggum.w3.org>
Date: Tue, 25 Jul 2006 16:27:41 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1G5Pkz-0005fm-FZ@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3532





------- Comment #7 from andrew.eisenberg@us.ibm.com  2006-07-25 16:27 -------
(In reply to comment #5)

I'm sorry that you are finding this to be such a bother. We've tried to
document this in our Guideline for Running the XML Query Test Suite (and in the
catalog schema), but perhaps we weren't clear enough.

We started with the desire to allow input documents to be provided either by
external variables or my invocations of the fn:doc function. In most test cases
we allow the writer of the test harness to make this decision. Test cases in
which only fn:doc is allowed are identifed with context="doc". The external
variable name (or names) used in the query is specified in the test-case
element. It is usually $input-context, but not always. When the fn:doc
transformation is done, it is the test harness that chooses the URI.

When we added tests for fn:collection, we decided to use the same mechanism,
specifying context='collection' or context='default collection'. Again, this
allows the test harness to choose the URI.
Received on Tuesday, 25 July 2006 16:27:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:29 UTC