Project

Profile

Help

Bug #110

closed

Ant transform task performance

Added by Anonymous about 16 years ago. Updated over 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

Please register to edit this issue

Also available in: Atom PDF