Project

Profile

Help

Bug #1702

closed

StringConverter.getStringConverter goes into Infinite recursion

Added by O'Neil Delpratt about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Internals
Sprint/Milestone:
-
Start date:
2013-02-18
Due date:
% Done:

100%

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

Description

In the method getStringConverter for the class StringConverter, it is quite possible that this method may go into infinite recursion when the target type is of type ExternalObjectType.

Fix applied and committed. We have created a sub-class of StringConverter to special case the ExternalObjectType. Here we fail cleanly.

However, there's nothing in the .net API for creating a DotNetExternalObjectType that reflects a .net type. This would be useful for declaring the result type of an integrated extension function. We hope to add this in a future release of SaxonHE .NET

Actions #1

Updated by O'Neil Delpratt about 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #2

Updated by O'Neil Delpratt about 11 years ago

  • Description updated (diff)
  • Status changed from Closed to Resolved
Actions #3

Updated by O'Neil Delpratt about 11 years ago

  • Status changed from Resolved to Closed
  • Fixed in version set to 9.4.0.7

Bug closed. Fixed in Saxon maintenance release 9.4.0.7

Please register to edit this issue

Also available in: Atom PDF