Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gexf and Viz Property Problem: XMLStreamException: ParseError ElementPrefixUnbound?viz&viz:position #8

Open
IjonTichyRaumpilot opened this issue Aug 19, 2011 · 0 comments

Comments

@IjonTichyRaumpilot
Copy link

I added a viz position to the gexf File and was wondering why I got an error message ...XMLStreamException: ParseError ... ElementPrefixUnbound?viz&viz:position when I tried to open it in gephi.
I found out that the header was missing the entry
xmlns:viz="http://www.gexf.net/1.1draft/viz" version="1.1"
and this was due to a missing setVisualisation(true)

So I had to add something like this:
Gexf gexf = new GexfImpl();
// Contains Visualisation
gexf.setVisualization(true);

And got a proper gexf File.

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

No branches or pull requests

1 participant