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 4162 - Static typing of fn-in-scope-prefixes-10 to 16, 19, 20
Summary: Static typing of fn-in-scope-prefixes-10 to 16, 19, 20
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-09 12:18 UTC by Tim Mills
Modified: 2007-03-15 17:08 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2007-01-09 12:18:04 UTC
fn:in-scope-prefixes returns xs:string*, while fn:string-length is expecting xs:string?, resulting in a static type checking error.  For fn-in-scope-prefixes-14, the problem is with the constructor function xs:string expecting xs:string?.


(: Name: fn-in-scope-prefixes-10 :)
(: Description: Evaluation of fn:in-scope-prefixes function for a directly const
ructed element used as argument to fn:string-length.:)

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

fn:string-length(fn:in-scope-prefixes(<anElement>Some content</anElement>))
Comment 1 Carmelo Montanez 2007-03-15 15:24:09 UTC
Hey Tim:

Thanks for the message.  Looks as though these tests were fixed to eliminate
the static typing dependecies some time ago.

Thanks,

Carmelo Montanez