Project

Profile

Help

Bug #110

closed

Ant transform task performance

Added by Anonymous over 15 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Ant Transform Task
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

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

Description

SourceForge user: mhkay

The Ant Transform task (like the standard trax task on which it is based) reuses the same Transformer when performing multiple transformations using the same stylesheet. The effect of this is that source documents are retained in memory from one transformation to the next. Given the typical usage pattern of Ant, it is probably better to release source documents between transformations (if the same source document is needed again it will then be reloaded).

Note that the Ant Transform task is now released separately from the rest of the Saxon product, so this will not be fixed until a new release is available.

An update to the source code to fix this problem (not yet tested) is attached to this bug report.


Files

AntTransform.java (9.56 KB) AntTransform.java Anonymous, 2008-09-08 20:24
Actions #1

Updated by Anonymous over 13 years ago

SourceForge user: mhkay

The Ant Transform task is no longer being maintained. It is no longer needed; Saxon transformations can now be run using the standard xslt task.

Please register to edit this issue

Also available in: Atom PDF