From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [bug] Export to FreeMind (HTML) fails due to ampersant in URL Date: Thu, 05 Feb 2015 10:08:03 +0100 Message-ID: <87k2zw20b0.fsf@nicolasgoaziou.fr> References: <2015-02-04T17-41-08@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJIOx-0005NG-IA for emacs-orgmode@gnu.org; Thu, 05 Feb 2015 04:07:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJIOs-0002IU-If for emacs-orgmode@gnu.org; Thu, 05 Feb 2015 04:07:07 -0500 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:37591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJIOs-0002I4-Bu for emacs-orgmode@gnu.org; Thu, 05 Feb 2015 04:07:02 -0500 In-Reply-To: <2015-02-04T17-41-08@devnull.Karl-Voit.at> (Karl Voit's message of "Wed, 4 Feb 2015 17:46:25 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Karl Voit Cc: Karl Voit , emacs-orgmode@gnu.org Hello, Karl Voit writes: > When I export a simple heading like below, which contains an URL > with an ampersant (&), FreeMind throws an error: > > ,----[ The exported heading ] > | ** Freemind-Tests > | > | - [[https://www.youtube.com/watch?v=qwtVtcQQfqc&feature=player_embedded][Emacs Rocks 11 - swank-js]] > `---- > > ,----[ FreeMind v1.0.1 Error Message ] > | Error while parsing file:freemind.main.XMLParseException: XML Parse Exception > | during parsing of the XML definition at line 1: Unexpected end of data reached > `---- > > ,----[ resulting mm-file ] > | > | > | > | > | > | > | > | > |

Freemind-Tests > |

> | > | > |
> | > | > | > | > | > | > | > | > | > |
> |
> `---- > > When I remove the "&" from the mm-file, FreeMind is able to > import/show the mind-map without any issues. > > This might be related with the HTML exporter since ox-freemind.el is > using ox-html. This looks like valid HTML code to me. Also it exports fine to HTML. Is there any restriction related to this specific to FreeMind? Regards, -- Nicolas Goaziou