In LocPathIterator#setCacheNodes, don't replace the current m_cachedNodes if
it is non-null.  This fixes a bug with the NodeIterator/NodeSet
adapters.

In getDTMHandleFromNode, if a DTM has to be created, create
it from the ownerDocument instead of the node argument.  I think
this will avoid a lot of problems with node identity coming from
extensions and the XPath API.


git-svn-id: https://svn.apache.org/repos/asf/xalan/java/branches/Bxalan-j_2_2L@335064 13f79535-47bb-0310-9956-ffa450edef68
3 files changed