vijaymoorthy001 / xmind3

Automatically exported from code.google.com/p/xmind3
0 stars 0 forks source link

Parsing XMind file - problem #106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Take a simple 2 tier mind map
2. Save to test.xmind
3. Rename to test.xmind.zip
4. Unzip file - It creates the directory structure with all the xml and jpg 
files
5. Create a new zip file by compressing this unzipped folder, say 
test2.xmind.zip
6. Rename to test2.xmind
7. Try to open with XMind - fails

What is the expected output? What do you see instead?
We are building a plugin into our HR software (www.accsys.co.za) that will 
allow users to export organograms into XMind.  But I am unable to create 
the simplest XMind file ;-(

I thought that by starting at the basic steps of unzipping a XMind file, 
re-zipping it again, I should be able to simply read it in XMind.  
Something gets lost with the unzip-zip process.  Please help!

What version of the product are you using? On what operating system?
XMind 3.0.3

Please provide any additional information below.
Trying to read this file gives the following error. 
Failed to load contents from file 
----------------------------- 
Time: 2009-09-03 07:54:39 
XMind: 3.0.3 
Java Version: 1.6.0_13 
Java Vendor: Sun Microsystems Inc. 
Java Runtime: Java(TM) SE Runtime Environment 
    Version: 1.6.0_13-b03 
Java VM: Java HotSpot(TM) Client VM 
    Version: 11.3-b02 
    Vendor: Sun Microsystems Inc. 
    Info: mixed mode 
Operating System: Windows Vista 6.0 (x86) 
Language: en 
Country: ZA 
----------------------------- 
org.xmind.core.CoreException 
        at org.xmind.core.internal.dom.WorkbookLoader.doLoadXMLFile 
(WorkbookLoader.java:375) 
        at 
org.xmind.core.internal.dom.XMLLoader.loadXMLFile(XMLLoader.java: 
38) 
        at org.xmind.core.internal.dom.WorkbookLoader.loadContents 
(WorkbookLoader.java:176) 
        at org.xmind.core.internal.dom.WorkbookLoader.doLoad 
(WorkbookLoader.java:147) 
        at org.xmind.core.internal.dom.WorkbookLoader.load 
(WorkbookLoader.java:126) 
        at 
org.xmind.core.internal.dom.WorkbookBuilderImpl.loadFromInputSource 
(WorkbookBuilderImpl.java:297) 
        at org.xmind.core.internal.dom.WorkbookBuilderImpl.doLoadFromFile 
(WorkbookBuilderImpl.java:217) 
        at org.xmind.core.internal.AbstractWorkbookBuilder.loadFromFile 
(AbstractWorkbookBuilder.java:117) 
        at 
org.xmind.ui.internal.editor.FileStoreWorkbookAdapter.loadWorkbook 
(FileStoreWorkbookAdapter.java:34) 
        at org.xmind.ui.internal.editor.WorkbookRef.loadWorkbook 
(WorkbookRef.java:322) 
        at org.xmind.ui.internal.editor.MindMapEditor$LoadWorkbookJob.run 
(MindMapEditor.java:1032) 
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) 

Original issue reported on code.google.com by liam.ter...@gmail.com on 8 Sep 2009 at 5:35

GoogleCodeExporter commented 9 years ago
Dear ALL

My apologies for the wild panick :-)

My creating the archive from within the root folder (where the .xml files 
reside),
the parsed .xmind file works.  It is when one goes one level up and create an 
archive
of the folder where the .xml files are, that we are unable to read the file.

We live and learn :-)

Original comment by liam.ter...@gmail.com on 9 Sep 2009 at 5:43