Bug #849
closedErrorCode not set on division by two different durations
0%
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
-
and MonthDurationValue (revision 5:lines 181 and
-
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
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