- From: <bugzilla@jessica.w3.org>
- Date: Mon, 05 Nov 2012 13:37:43 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19858
Priority: P2
Bug ID: 19858
Assignee: oneil@saxonica.com
Summary: [QT3TS] require-all-optional-features-1-ns1 and others
QA Contact: public-qt-comments@w3.org
Severity: normal
Classification: Unclassified
OS: Windows NT
Reporter: tim@cbcl.co.uk
Hardware: PC
Status: NEW
Version: Working drafts
Component: XQuery 3 & XPath 3 Test Suite
Product: XPath / XQuery / XSLT
These tests don't make a great deal of sense for processors which can enable or
disable a feature.
e.g.
<test-case name="require-all-optional-features-1-ns1">
<description>An error must be thrown if the feature is not
supported.</description>
<created by="Ghislain Fourny" on="2012-10-15"/>
<modified by="O'Neil Delpratt, Saxonica" on="2012-10-23" change="assert-eq
changed to assert-empty" />
<modified by="Ghislain Fourny" on="2012-11-01" change="Duplicating tests
depending on feature support." />
<environment ref="dummy-schema"/>
<dependency type="spec" value="XQ30+"/>
<dependency type="feature" value="schemaAware" satisfied="false"/>
<test>
import schema namespace s =
"http://www.w3.org/XQueryTest/RequireProhibitFeature";
declare option require-feature "all-optional-features";
()
</test>
<result>
<!-- The test must be reported to fail if a different error is returned
-->
<error code="XQST0120"/>
</result>
The test driver sees
<dependency type="feature" value="schemaAware" satisfied="false"/>
and prepares a processor with this feature disabled.
Upon execution of the query, we then see
declare option require-feature "all-optional-features";
and enable it as requested.
This also affects the following tests.
require-all-optional-features-1-ns3
require-all-optional-features-1-ns
require-all-optional-features-2-ns2
require-all-optional-features-3-ns3
require-all-optional-features-5-ns
require-higher-order-function-1-ns
require-higher-order-function-10-ns
require-higher-order-function-2-n
require-higher-order-function-3-ns
require-higher-order-function-4-ns
require-higher-order-function-5-ns
require-higher-order-function-6-ns
require-higher-order-function-7-ns
require-higher-order-function-8-ns
require-higher-order-function-9-ns
require-static-typing-1-ns
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 5 November 2012 13:37:44 UTC