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 4185 - Static typing of fn-id-dtd-5 to 21 and 23
Summary: Static typing of fn-id-dtd-5 to 21 and 23
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-10 15:12 UTC by Tim Mills
Modified: 2010-03-16 15:58 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2007-01-10 15:12:28 UTC
The second argument to fn:id is of an exactly-one sequence type.  The actual argument being supplied is statically typed as a zero-or-more sequence type.

(: Name: fn-id-dtd-5 :)
(: Description: Evaluation of fn:id with given IDREF matching a single element.
:)

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

 fn:id("id1", $input-context1/IDS)
Comment 1 Tim Mills 2007-01-10 15:14:07 UTC
Similar problems exist for fn-idref-dtd-5 to 21 and 23
Comment 2 Tim Mills 2007-01-10 17:07:30 UTC
There are similar problems in fn-id-5 to fn-id-21, fn-id-23 and fn-idref-5 to fn-idref-21 and fn-idref-23.
Comment 3 Carmelo Montanez 2007-03-19 15:29:44 UTC
Tim:

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

Thanks,
Carmelo Montanez