I'm working on merging the serializers of Xalan-J interpretive and XSLTC,
and I can't find a use for TransformSnapshotImpl in the
org.apache.xalan.transformer package.

Is anyone using it?  Does anyone know what its purpose is?

It seems to be saving and restoring the state of the transformation
(including the serializer).  But the save/restore doesn't seem to be
complete so I'm wondering if it is being used.  For example these fields of
the ResultTreeHandler are saved and restored:
      m_eventCount
      m_nsSupport
      m_nsContextPushed
The m_eventCount field is handled, and it comes from QueuedEvents class
that ResultTreeHandler inherits from, but there are plenty of other fields
in QueuedEvents that are not saved and restored, such as:
      m_name
      m_url
      m_elemIsPending
      ...

Any help in understanding what this class is supposed to save and restore,
or why it exists would be appreciated.



Brian Minchau
XSLT Development, IBM Toronto
e-mail:        [EMAIL PROTECTED]

Reply via email to