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

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

Open
komeda-shinji opened this issue Oct 30, 2017 · 0 comments
Open

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

komeda-shinji opened this issue Oct 30, 2017 · 0 comments

Comments

@komeda-shinji
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant