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 4165 - Static typing of fn-namespace-uri-14, 15
Summary: Static typing of fn-namespace-uri-14, 15
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:38 UTC by Tim Mills
Modified: 2010-03-16 15:57 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2007-01-09 12:38:53 UTC
fn:namespace-uri expects node()?, but the argument is typed as a zero-or-more sequence.

(: Name: fn-namespace-uri-14:)
(: Description: Evaluation of the fn:namespace-uri function argument set to an e
lement node with no namespace queried from a file.:)
(: Use the fn:count function to avoid empty file. :)

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

fn:count(fn:namespace-uri($input-context1/works/employee[1]))
Comment 1 Carmelo Montanez 2007-03-09 21:31:47 UTC
Tim:

Thanks for the messange.  Fixed the tests by removing the static typing dependencies.

Thanks,
Carmelo