Project

Profile

Help

Bug #6053

closed

PydmNode object gets deleted before reuse

Added by O'Neil Delpratt 11 months ago. Updated 10 months ago.

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

100%

Estimated time:
Found in version:
12.2
Fixed in version:
12.3
Platforms:

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 11 months 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 10 months ago

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

Updated by O'Neil Delpratt 10 months 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