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 1866 - fn:string() in op-subtract-yearMonthDurations-4
Summary: fn:string() in op-subtract-yearMonthDurations-4
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.6.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-19 19:54 UTC by Jonathan Robie
Modified: 2005-09-12 18:28 UTC (History)
0 users

See Also:


Attachments

Description Jonathan Robie 2005-08-19 19:54:11 UTC
MinimalConformance:Expressions:Operators:ArithExpr:DurationArith:YearMonthDurationSubtract:op-subtract-yearMonthDurations-4
placed the fn:string function in the wrong place
in order to avoid a "cannot extract effective
boolean value" error; it should be
fn:not(fn:string(xdt:yearMonthDuration("P11Y04M")
- xdt:yearMonthDuration("P02Y11M"))) instead of
fn:string(fn:not(xdt:yearMonthDuration("P11Y04M")
- xdt:yearMonthDuration("P02Y11M")))
Comment 1 Carmelo Montanez 2005-08-22 14:08:29 UTC
Fixed as per ealier comments.  Agree with the datadirect comments.

Carmelo
Comment 2 Carmelo Montanez 2005-09-12 18:28:03 UTC
tests fixed to use string representation of data types involved.