Skip to content
This repository was archived by the owner on Mar 20, 2019. It is now read-only.
This repository was archived by the owner on Mar 20, 2019. It is now read-only.

Import Graphml file fails if <key> has <default/> #125

@komeda-shinji

Description

@komeda-shinji

import-graphml cause error:

com.sun.xml.internal.stream.events.EndElementEvent cannot be cast to javax.xml.stream.events.Characters

XmlGraphMLReader.java does not check isCharacters() for processing <default> of <key> tag.

I rewrite <key> tag in input graphml file:

e.g.

  <key attr.name="foo" attr.type="string" for="node" id="d4">
    <default/>
  </key>

as

  <key attr.name="foo" attr.type="string" for="node" id="d4"/>

It works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions