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 2960 - op-subtract-dateTimes-yielding-DTD-10
Summary: op-subtract-dateTimes-yielding-DTD-10
Status: CLOSED INVALID
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.6
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-02 10:44 UTC by Marc Van Cappellen
Modified: 2006-03-02 12:17 UTC (History)
0 users

See Also:


Attachments

Description Marc Van Cappellen 2006-03-02 10:44:50 UTC
Test op-subtract-dateTimes-yielding-DTD-10.xq is as follows:

fn:string((xs:dateTime("1985-07-05T07:07:07Z") - xs:dateTime("1984-07-
05T08:08:08Z"))) or (xs:dateTime("1985-07-05T09:09:09Z") - xs:dateTime("1984-07-
05T10:10:10Z"))

Is this intentional? As far as I can see EBV is not defined on 
xdt:dayTimeDuration. Keeping op-subtract-dateTimes-yielding-DTD-9.xq in mind it 
seems as if an fn:string around the second operand of the or expression is 
missing?

Thanks,
Marc
Comment 1 Marc Van Cappellen 2006-03-02 12:16:38 UTC
Oops... Apparently I've submitted this twice. Thisis the same as 
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2959.

Changed this this one to INVALID