[Bug 28997] Tests incorrectly assume fn schema has been imported

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28997

--- Comment #3 from Michael Kay <mike@saxonica.com> ---
The environment/schema element in the XSLT test catalog has an attribute

role="source-reference"
role="stylesheet-import"

to indicate how the schema is to be used. There doesn't seem to be any
equivalent in QT3. In the absence of that, our test driver behaves as follows:

* for XQuery, a schema in the environment is not automatically imported
* for XPath, a schema in the environment is automatically imported, because
there is no other way of specifying schemas to be imported.

However, (despite the decision on bug 28174) our product automatically imports
the FN namespace. If we change this, as I think we should, then this test will
fail under XQuery but still succeed under XPath.

I don't know how many other XPath tests there are that rely on this "automatic
import" policy. I think the best solution would be to retrofit the "role"
attribute as used in the XSLT test suite.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 4 September 2015 21:48:43 UTC