From 9828f0b6ad7d1a2fad8563ea3353194046ddc797 Mon Sep 17 00:00:00 2001
From: Tinny Ng <tng@apache.org>
Date: Mon, 30 Sep 2002 15:12:07 +0000
Subject: [PATCH] [Bug 13109] DOMRange::toString eventually cycles forever.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174259 13f79535-47bb-0310-9956-ffa450edef68
---
 src/xercesc/dom/impl/DOMRangeImpl.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/xercesc/dom/impl/DOMRangeImpl.cpp b/src/xercesc/dom/impl/DOMRangeImpl.cpp
index fb8e3f160..1cc4147ca 100644
--- a/src/xercesc/dom/impl/DOMRangeImpl.cpp
+++ b/src/xercesc/dom/impl/DOMRangeImpl.cpp
@@ -1025,8 +1025,6 @@ DOMNode* DOMRangeImpl::nextNode(const DOMNode* node, bool visitChildren) const
             return result;
         } else {
             parent = parent->getParentNode();
-            if (parent == fEndContainer) return parent;
-
         }
 
     }
-- 
GitLab