Donate Share

Saxon XSLT and XQuery Processor

Tracker: Bugs

5 Resetting parameters doesn't work - ID: 474923
Last Update: Comment added ( mhkay )

When a transformer is re-used to perform more than one
transformation, resetting parameters (using
setParameter() after the first transformation doesn't
work.

Originally reported by Oliver Becker; subsequently by
Lisa Slater Nicholls.


Michael Kay ( mhkay ) - 2001-10-25 15:54

5

Closed

Fixed

Michael Kay

JAXP Java API

v6.4.4

Public


Comments ( 3 )

Date: 2001-11-15 14:59
Sender: mhkayProject Admin

Logged In: YES
user_id=251681

Fixed in 6.5


Date: 2001-11-12 14:55
Sender: mhkayProject Admin

Logged In: YES
user_id=251681

Yes, it is a bug. setParameter() called twice with the same
value isn't overwriting the previous value, it's adding a
new one, and the first value is used every time. Source
code now fixed.


Date: 2001-11-12 14:35
Sender: mhkayProject Admin

Logged In: YES
user_id=251681

I've had another look at the JAXP spec, and it seems this
isn't a bug at all. If you want to clear parameters after a
transformation, you have to call clearParameters().

Mike Kay


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2001-11-15 14:59 mhkay
resolution_id None 2001-11-15 14:59 mhkay
close_date - 2001-11-15 14:59 mhkay