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 4154 - Static typing of base-uri-28 and base-uri-29
Summary: Static typing of base-uri-28 and base-uri-29
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: Frans Englich
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-08 14:19 UTC by Tim Mills
Modified: 2007-09-14 12:53 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2007-01-08 14:19:05 UTC
These queries take the form:

fn:base-uri((<elem xml:base="fluster/"><a xml:base="now"/></elem>)/a)

According to the static typing rules, element "elem" is typed as:

element elem of type xs:anyType

This means that the argument to fn:base-uri is typed as:

element a of type xs:anyType*

i.e. a zero-or-more sequence, whereas the function expects a zero-or-more sequence.
Comment 1 Frans Englich 2007-09-14 09:34:52 UTC
A fix has been attempted in CVS, XQTS_current.zip is updated.

If the resolution is satisfactory, feel free to change status to CLOSED. Otherwise, reopen this report. If no feedback is returned within two weeks, status will be changed to CLOSED. Thanks for reporting!
Comment 2 Tim Mills 2007-09-14 12:53:22 UTC
Thanks.