diff --git a/core/src/main/java/apoc/export/graphml/XmlGraphMLReader.java b/core/src/main/java/apoc/export/graphml/XmlGraphMLReader.java index c60aeaa0fc..26ef99021e 100644 --- a/core/src/main/java/apoc/export/graphml/XmlGraphMLReader.java +++ b/core/src/main/java/apoc/export/graphml/XmlGraphMLReader.java @@ -287,7 +287,7 @@ public long parseXML(Reader input, TerminationGuard terminationGuard, ReaderType StartElement element = event.asStartElement(); String name = element.getName().getLocalPart(); boolean isNameGexf = readerType.equals(ReaderType.GEXF) && name.equals("gexf"); - if (name.equals("graphml") || name.equals("graph") || isNameGexf) continue; + if (name.equals("graphml") || name.equals("graph")) continue; if (readerType.equals(ReaderType.GEXF) && name.equals("attribute")) { String id = getAttribute(element, ID); String type = getAttribute(element, DATA_TYPE);