Project

Profile

Help

Bug #4256

closed

No easy way to convert s9api ItemType/SequenceType to the underlying representations

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
s9api API
Sprint/Milestone:
-
Start date:
2019-07-17
Due date:
% Done:

100%

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

Description

There is no convenient way to convert between the s9api ItemType and SequenceType objects and the underlying net.sf.saxon.type.ItemType and net.sf.saxon.value.SequenceType classes, in either direction.

Actions #1

Updated by Michael Kay almost 3 years ago

I've made changes so that (on both 9.9 and the development branch) we now have:

  • Conversion from s9api.SequenceType to value.SequenceType in both directions using methods on s9api.SequenceType

  • Conversion from type.ItemType to s9api.ItemType via a factory method ItemTypeFactory.exposeItemType()

  • Conversion from s9api.ItemType to type.ItemType via a method s9api.ItemType.getUnderlyingItemType().

Actions #2

Updated by Michael Kay almost 3 years ago

  • Status changed from New to Resolved
  • Fix Committed on Branch 9.9, trunk added
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 9.9.1.5 added

Bug fix applied in the Saxon 9.9.1.5 maintenance release.

Please register to edit this issue

Also available in: Atom PDF