Project

Profile

Help

Feature #6402

closed

Successive calls to getXslMessages accumulates messages

Added by O'Neil Delpratt 3 months ago. Updated 14 days 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.

Please register to edit this issue

Also available in: Atom PDF