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 4157 - Static typing of fn-nilled-3
Summary: Static typing of fn-nilled-3
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 1.0.2
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-08 16:40 UTC by Tim Mills
Modified: 2010-03-16 15:55 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2007-01-08 16:40:04 UTC
In the query below, the argument below types as a zero-or-more sequence rather than the expected zero-or-one sequence.

(: Name: fn-nilled-3 :)
(: Description: Evaluation of nilled function with argument set to an element no
de. :)

(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)

fn:nilled($input-context1/works/employee[2])
Comment 1 Tim Mills 2007-01-08 16:41:32 UTC
fn-nilled-2 has a similar problem.
Comment 2 Carmelo Montanez 2007-03-09 20:54:17 UTC
Tim:

Thanks for the message.  Removed the static typind dependency.

Carmelo