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 29592 - [QT3TS] Array and Map tests
Summary: [QT3TS] Array and Map tests
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: 2016-04-25 09:57 UTC by Tim Mills
Modified: 2016-05-17 14:39 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2016-04-25 09:57:41 UTC
Tests such as ArrayTest-003 require a reference to the "array" environment, otherwise any use of the "array" prefix should raise an error.

A similar problem exists with the map tests.
Comment 1 O'Neil Delpratt 2016-05-17 13:34:22 UTC
Confirmed fix
Comment 2 Tim Mills 2016-05-17 14:33:33 UTC
I'm stil working through these.

Note that I think there is an error in Catalog005.

Cases "typeswitch-117" and "typeswitch-118" now refer to two environments, which trigger a failure at:

        for $tc in $xq-testcases [concat(/*/@name, '~', fots:environment/@ref) = $nsenvs or fots:environment[fots:namespace]]
Comment 3 Tim Mills 2016-05-17 14:39:45 UTC
I've just seen the comment

  <xs:choice minOccurs="0" maxOccurs="unbounded">
                  <xs:element ref="environment"/> <!-- must only appear once -->
                  <xs:element ref="module"/>
                  <xs:element ref="dependency"/>
                </xs:choice>  

so I'll fix this up.