Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

error opening file

0 votes

Having saved and closed yEd subsequently on opening the file I receive an error could not import the file. The detail window has messages for invalid XML and unknown source. see extract below:

y.H.B.B.a: SAX error: Character reference "&#11" is an invalid XML character.
    at y.H.B.B._.ā(Unknown Source)
    at y.H.B.A$13.ā(Unknown Source)
    at y.H.B.A.ā(Unknown Source)
    at y.H.B.A.ā(Unknown Source)

Corrupt source file.

in Help by (120 points)
edited by

1 Answer

0 votes

Can you describe what you did to trigger this problem? Uploading your GraphML so we can have a look at it would be a great help, too. (See here for instructions on uploading files.) Please do not upload any sensitive data, though.

The only way to fix the problem is opening the GraphML file in a text editor and replacing all occurances of the bad character sequence "" with something else.

by [yWorks] (160k points)
edited by
Thomas many thanks, it was that simple, I deleted the one occurrence of "&#11" and was then able to open the file normally.
I have no idea what triggered the problem, everything was functioning normally, closed yEd normally. Then couldn't open the file??
I guess you copied some text (that contained some character yEd cannot handle) either into a label or a custom property. From the broken GraphML I would probably be able to determine whether this happened for a label or a property. You would not still have the broken file for inspection or still know the XML snippets surrounding the bad data, would you?
I've uploaded the corrupt file for your inspection, by linking to the original bug-report.
Thank you very much for the file.
Legal Disclosure | Privacy Policy
...