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 4086 - Static typing of Constr-compelem-constrmod-3, Constr-compelem-constrmod-4
Summary: Static typing of Constr-compelem-constrmod-3, Constr-compelem-constrmod-4
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: 2006-12-15 16:22 UTC by Tim Mills
Modified: 2010-03-16 15:54 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2006-12-15 16:22:11 UTC
In:

(element elem {xs:decimal($input-context//decimal[1])}) cast as xs:integer

xs:decimal is expecting zero-or-one, but $input-context//decimal[1] is typed as a sequence.
Comment 1 Carmelo Montanez 2007-03-19 20:59:48 UTC
Hey Tim:

Thanks for the comment.  Fixed the test by making "$input-context//decimal[1]"
work with a sequence.

Thanks,
Carmelo