igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Question regarding graphml format reading


From: Robin Müller-Bady
Subject: Re: [igraph] Question regarding graphml format reading
Date: Thu, 12 Mar 2015 08:14:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0

Hi Tamás,

thank you very much for your assistance, that worked well!

Best regards,
Robin

On 03/11/2015 10:13 PM, Tamas Nepusz wrote:
Hi Robin,

Newer versions of igraph give a more meaningful error mesage:

InternalError: Error at ../../src/foreign-graphml.c:595: Cannot parse GraphML
file, unknown attribute type, Parse error

This happens because your GraphML file lists some attributes as type "integer".
According to the GraphML XSD file, there is no such GraphML attribute type,
only "int":

http://graphml.graphdrawing.org/xmlns/1.1/graphml-attributes.xsd

Replacing "integer" with "int" in the input file seems to fix this.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]