~gagern/xalan/trunk

Viewing all changes in revision 4458.

  • Committer: zongaro
  • Date: 2007-06-08 09:25:38 UTC
  • Revision ID: svn-v4:13f79535-47bb-0310-9956-ffa450edef68:xalan/java/trunk:545471
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)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: