Project

Profile

Help

Bug #6053

closed

PydmNode object gets deleted before reuse

Added by O'Neil Delpratt over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Python API
Start date:
2023-05-26
Due date:
% Done:

100%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
12.2
Fixed in version:
12.3
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

Description

I am finding in some cases the PyXdmNode object gets garbage collected too early.

This happens when the node object is created by PyDocumentBuilder.parse_xml() and PySaxonProcessor.parse_xml()


Related issues

Has duplicate SaxonC - Support #6097: How to create string sequence parameter for XSLT?DuplicateO'Neil Delpratt2023-06-26

Actions
Actions #1

Updated by O'Neil Delpratt over 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Bug fixed and committed to the repository by calling the incrementRefCount() to the created XdmNode object before it gets returned in the parse_xml function.

Actions #2

Updated by O'Neil Delpratt over 1 year ago

  • Has duplicate Support #6097: How to create string sequence parameter for XSLT? added
Actions #3

Updated by O'Neil Delpratt over 1 year ago

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

Bug fix applied in the SaxonC 12.3 maintenance release.

Please register to edit this issue

Also available in: Atom PDF