Project

Profile

Help

Bug #4981

closed

saxon:in-summer-time extension function: can it return empty sequence?

Added by Michael Kay almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Saxon extensions
Sprint/Milestone:
-
Start date:
2021-05-02
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
10, trunk
Fix Committed on Branch:
10, trunk
Fixed in Maintenance Release:
Platforms:

Description

The documentation of this function says " If the information is not available the function either returns false or an empty sequence."

The signature does not allow an empty sequence.

But the implementation, on some paths, attempts to return an empty sequence.

Needs clarification.

Actions #1

Updated by Michael Kay almost 3 years ago

  • Status changed from New to Resolved
  • Applies to branch 10, trunk added
  • Fix Committed on Branch 10, trunk added

I have changed the documentation to match the code: if no information is available for the supplied timezone, the function returns an empty sequence.

Actions #2

Updated by Michael Kay over 2 years ago

  • Subject changed from saxon:in-summer-time extension function to saxon:in-summer-time extension function: can it return empty sequence?
Actions #3

Updated by O'Neil Delpratt over 2 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 10.6 added

Bug fix applied in the Saxon 10.6 maintenance release

Please register to edit this issue

Also available in: Atom PDF