This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29395 - [QT3] Test K2-DataFunc-6 expects validation but this is not visible in the metadata
Summary: [QT3] Test K2-DataFunc-6 expects validation but this is not visible in the me...
Status: RESOLVED WORKSFORME
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-27 17:25 UTC by Abel Braaksma
Modified: 2016-02-01 18:30 UTC (History)
0 users

See Also:


Attachments

Description Abel Braaksma 2016-01-27 17:25:36 UTC
This test runs /*/data() against types input, and expects an error, however, when you use a non-validating processor it will result in returning the string value of the nodes.

Suggesting to either allow non-error outcome, or to add a dependency.
Comment 1 O'Neil Delpratt 2016-02-01 11:10:18 UTC
I think the decision was made that if an environment requires a schema then there is an implicit assumption that the test case requires a processor that is schema aware. There are many tests that make this assumption.
Comment 2 Abel Braaksma 2016-02-01 18:30:58 UTC
Ok, so I should update to filter when using non-validating XPath by qt:environment/qt:schema. If present, it assumes a validating processor.

I'll close then with no action.