Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#601 ErrorCode not set on division by two different durations

v8.8
closed
nobody
5
2012-10-08
2006-10-03
No

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
441) and MonthDurationValue (revision 5:lines 181 and
245) 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.

Discussion

  • patch only for division

     
    Attachments
  • Michael Kay
    Michael Kay
    2006-10-06

    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.