emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Friedrich Delgado Friedrichs <friedel@nomaden.org>
To: emacs-orgmode@gnu.org
Subject: org-freemind export can't be read by freemind
Date: Tue, 16 Feb 2010 17:45:45 +0100	[thread overview]
Message-ID: <20100216164545.GA25639@orion.pre-sense.de> (raw)

Hi!

The following file

,----[ test.org ]
  * Title
  *** Node 1
  *** Node 2
`----

produces the following freemind output:

,----[ test.org.mm ]
  <?xml version="1.0" encoding="utf-8"?>
  <map version="0.9.0">
  <!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net -->
  <node text="Title">
  <node text="Node 1">
  </node>
  <node text="Node 2">
  </node>
  </node>
  </node>
  </map>
`----

And opening it with 0.9.0~rc6+dfsg-2 on debian produces an error:

,----[ error in freemind node ]
  Error while parsing file:freemind.main.XMLParseException: XML Parse
  Exception during parsing of a map element at line 10: Expected: map
`----

With freemind 0.8 available from debian I get a backtrace on the
console and an empty graph.

Looks like org-freemind.el is closing one node too many. If I remove
one "</node>", it works, however it's more complicated if I use a
complicated file, as several closing nodes may be duplicated across
the whole file.


-- 
Friedrich Delgado Friedrichs
friedel@nomaden.org

                 reply	other threads:[~2010-02-16 16:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100216164545.GA25639@orion.pre-sense.de \
    --to=friedel@nomaden.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).