Project

Profile

Help

Feature #6402

closed

Successive calls to getXslMessages accumulates messages

Added by O'Neil Delpratt 7 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
SaxonC API
Start date:
2024-04-24
Due date:
% Done:

100%

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

Description

Reported by user here https://saxonica.plan.io/boards/4/topics/9646?r=9651#message-9651

User noticed the reuse of PyXsltExecutable, that the messages will accumulate across calls to transform_to_*() unless I do this:

    executable.set_save_xsl_message(False)
    executable.set_save_xsl_message(True)

As a feature request it would be nice to have clear_messages() method.

Actions #1

Updated by O'Neil Delpratt 6 months ago

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

The clearXslMessages() method has been added to the XsltExecutable class. Available for the next maintenance release. Test case added to pytest.

Actions #2

Updated by O'Neil Delpratt 5 months ago

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

Feature added in the Saxon 12.5 Maintenance release.

Actions #3

Updated by Community Admin 5 months ago

  • Fix Committed on Branch 12 added

Please register to edit this issue

Also available in: Atom PDF