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 11018 - fn:element-with-id() tests should specify xquery version "1.1" in their prolog
Summary: fn:element-with-id() tests should specify xquery version "1.1" in their prolog
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 1.0.2
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2010-10-13 09:08 UTC by Sorin Nasoi
Modified: 2010-10-14 06:54 UTC (History)
1 user (show)

See Also:


Description Sorin Nasoi 2010-10-13 09:08:13 UTC
As an additional precaution

fn-element-with-id-1 through fn-element-with-id-5 tests

should also specify in prolog that they require xquery version "1.1".
Comment 1 Michael Kay 2010-10-13 09:25:12 UTC
This function can optionally be provided by XQuery 1.0 second-edition processors, and part of the purpose of the test is to test such processors. They would not run the test successfully if the prolog said "version 1.1". Perhaps there is some other way of marking the test as dependent on an optional feature - though unfortunately XQTS isn't particular well-endowed with mechanisms for doing that.