use walking visitor to prevent SOE on big html files

This commit is contained in:
Dennis Ushakov
2015-05-20 16:43:03 +03:00
parent 5684569b0c
commit c367d6f4e1
@@ -160,7 +160,7 @@ public class XmlRefCountHolder {
return myUsedNamespaces.contains(ns);
}
private static class IdGatheringRecursiveVisitor extends XmlRecursiveElementVisitor {
private static class IdGatheringRecursiveVisitor extends XmlRecursiveElementWalkingVisitor {
private final XmlRefCountHolder myHolder;
private IdGatheringRecursiveVisitor(@NotNull XmlRefCountHolder holder) {