Project

Profile

Help

Bug #849

closed

ErrorCode not set on division by two different durations

Added by Anonymous about 18 years ago. Updated over 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
Actions #1

Updated by Anonymous about 18 years ago

SourceForge user: mhkay

Logged In: YES

user_id=251681

Thanks for letting me know about this. However, as requested

on the bug submission page, please don't enter bugs here

until they are confirmed as such: in future, please raise

issues on the help list or forum, or under "support

requests". This is to make life easier for people who are

searching for known bugs, it means they are less likely to

hit spurious entries.

Reporting of error codes is not a conformance issue, though

I like to get it right: I regard it as something to be

improved in the next release rather than as a bug.

Please register to edit this issue

Also available in: Atom PDF