[Bug 3532] fn-collection tests

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