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 22349 - [XQ3TS] produces-typed-data.xquery
Summary: [XQ3TS] produces-typed-data.xquery
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate 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: 2013-06-13 11:54 UTC by Tim Mills
Modified: 2013-06-21 15:09 UTC (History)
2 users (show)

See Also:


Attachments

Description Tim Mills 2013-06-13 11:54:41 UTC
Neither of the functions defined in this module return function items, in disagreement with their declarations.

declare function my:nine() as function(*)
{
  validate lax { <a xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:integer">9</a> }
};

declare function my:ten() as function(*)
{
  validate lax { <a xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:integer">10</a> }
};
Comment 1 Ghislain Fourny 2013-06-13 12:27:52 UTC
Thanks Tim, this is fixed.
Comment 2 Tim Mills 2013-06-13 14:24:11 UTC
Thanks - that's fixed, however there's another problem in this area.

Test "require-feature-list-1-ns-1" prohibits higher order functions in the catalog, but imports a module (uses.xquery) which uses higher order functions.  This usage isn't permitted by the require-feature in the main module, so causes XQST0129.
Comment 3 Michael Kay 2013-06-21 15:09:10 UTC
The tests for require/prohibit feature have been removed from the test suite as a consequence of the WG dropping this facility.