Project

Profile

Help

Bug #849

closed

ErrorCode not set on division by two different durations

Added by Anonymous over 17 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
XQuery conformance
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Legacy ID:
sf-1570060
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

SourceForge user: dsohsten

Running W3C Suite Test I found that the error code for

K-DayTimeDurationDivide-11 test was not set.

Searching the code I stumbled on MonthDurationValue

and SecondsDurationValue at net.sf.saxon.value package.

Both, SecondsDurationValue(revision 5:lines 345 and

  1. and MonthDurationValue (revision 5:lines 181 and

  2. just throw a new DynamicError without setting the

ErrorCode.

I sent a patch only for divide method, the

convertToJava method I really don't know wich error

code to return.

[]s

Diego.


Files

semi-patch.zip (9.56 KB) semi-patch.zip Anonymous, 2006-10-03 15:46

Please register to edit this issue

Also available in: Atom PDF