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 2562 - some default_namespace queries don't pass static typing
Summary: some default_namespace queries don't pass static typing
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Ravindranath (Ravi) Chennoju
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-02 22:47 UTC by Marc Van Cappellen
Modified: 2005-12-06 07:14 UTC (History)
0 users

See Also:


Attachments

Description Marc Van Cappellen 2005-12-02 22:47:33 UTC
A number of the default_namespace queries don't pass static typing (according 
to the Formal Semantics rules).

We believe it would help to declare the types of the parameters and function 
result in a number of queries. Also note that all other relevant queries in the 
DefaultNamespaceprolog do include the appropriate type declarations.

- default_namespace-007.xq
Change the function signature as follows:
declare function foo($a as xs:integer)

- default_namespace-008.xq
Change the function signature as follows:
declare function fact($n as xs:integer) as xs:integer

- default_namespace-009.xq
Change the function signature as follows:
declare function fact($n as xs:integer) as xs:integer

- default_namespace-011.xq
Change the function signatures as follows:
declare function fn1 ($n as xs:integer) as xs:integer
declare function fn2 ($n as xs:integer)  as xs:integer

Thanks,
Marc
Comment 1 Ravindranath (Ravi) Chennoju 2005-12-06 00:14:05 UTC
Fixed the test cases.
Comment 2 Marc Van Cappellen 2005-12-06 07:14:39 UTC
closed