commit | d5a5302bfed31bba08186f01043e565d8b946602 | [log] [tgz] |
---|---|---|
author | Henry Zongaro <zongaro@apache.org> | Fri Jun 08 10:25:38 2007 +0000 |
committer | Henry Zongaro <zongaro@apache.org> | Fri Jun 08 10:25:38 2007 +0000 |
tree | 3cc2c37ddd6b933026d63c93d02d25fcc0259c69 | |
parent | 52a91599cfd3f6860fbe2d97d1a9e3cc2921ff88 [diff] |
Fix for XALANJ-2384. The code generated for the topLevel and transform methods of a translet was generated using DTM.ROOT_NODE (i.e., zero) as the value of the root node for the initial context. However, that is not a valid node handle. The proper way of getting the handle of root of the initial input document is through DOM.getIterator().next(). Patch was reviewed by Christine Li (jycli () ca ! ibm ! com)