commit | 372dc4edd4927a1ce971b542bc3c78ed407186ef | [log] [tgz] |
---|---|---|
author | Henry Zongaro <zongaro@apache.org> | Mon Jul 11 13:18:28 2005 +0000 |
committer | Henry Zongaro <zongaro@apache.org> | Mon Jul 11 13:18:28 2005 +0000 |
tree | 53d10e77364a05e101f63733ca2a87dc7721dd8f | |
parent | 359cec3ae437d2f530e805fb0951b74d4b65b67e [diff] |
Fix for bug report XALANJ-2140. The AbstractTranslet._keyIndexes field is used to record the sets of keys for a particular transformation by name. This table was not cleared at the end of a transformation, so the keys from one transformation persisted to subsequent transformations. Fixed this by adding a try-finally block in the AbstractTranslet.transform method and setting _keyIndexes to null in the finally block. Reviewed by Brian Minchau (minchau () ca ! ibm ! com).