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 2959 - op-subtract-dateTimes-yielding-DTD-10
Summary: op-subtract-dateTimes-yielding-DTD-10
Status: CLOSED FIXED
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: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-02 10:44 UTC by Marc Van Cappellen
Modified: 2006-05-17 22:14 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 Carmelo Montanez 2006-03-06 20:39:24 UTC
Mark:

You are correct.  There is an fn:string missing.  Sumbitted new version of test.  Please close the bug if in agreement and able to verify.

Thanks,
Carmelo
Comment 2 Marc Van Cappellen 2006-05-17 22:14:44 UTC
verified and looks ok