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 23745 - [QT3] tests declaring $input-context
Summary: [QT3] tests declaring $input-context
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC All
: 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-11-06 23:54 UTC by Michael Kay
Modified: 2013-11-07 10:51 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2013-11-06 23:54:00 UTC
A number of tests, notably but not exclusively in the series vardeclwithtype-NN and copynamespace-NN, include redundant variable declarations typically of the form

declare variable $input-context external;

where the external variable is neither used nor supplied. A processor is allowed (but not required) to raise an error because no value has been supplied for the variable, but the test cases do not permit an error result.

The redundant variable declarations should be deleted.
Comment 1 Michael Kay 2013-11-07 10:51:50 UTC
Fixed as suggested