Fixing JIRA Issue #1356: http://issues.apache.org/jira/browse/XERCESJ-1356. Nodes may be pinned down by the map used by compareDocumentPosition() which would be otherwise garbage collectible. Now storing the nodes in a WeakHashMap to eliminate this memory leak. Patch thanks to Ludger Bünger.
Fixing JIRA Issue #1356: http://issues.apache.org/jira/browse/XERCESJ-1356. Nodes may be pinned down by the map used by compareDocumentPosition() which would be otherwise garbage collectible. Now storing the nodes in a WeakHashMap to eliminate this memory leak. Patch thanks to Ludger Bünger.

git-svn-id: 39602be06c88ea89c23a8a9fd3d1314146990de6@890173 13f79535-47bb-0310-9956-ffa450edef68

RackerWilliams/xercesj,RackerWilliams/xercesj,RackerWilliams/xercesj