From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Opening an odt file - problem solved Date: Thu, 24 May 2012 22:00:18 +0530 Message-ID: <811um9ilt1.fsf@gmail.com> References: <4FB7733E.7060900@chrikro.net> <8162brp44o.fsf@gmail.com> <87boldkjjw.fsf@gnu.org> <8162blim21.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXavy-0004l7-3X for emacs-orgmode@gnu.org; Thu, 24 May 2012 12:30:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXavp-0003WC-Re for emacs-orgmode@gnu.org; Thu, 24 May 2012 12:30:41 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:33336) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXavp-0003VI-IE for emacs-orgmode@gnu.org; Thu, 24 May 2012 12:30:33 -0400 Received: by pbbrp2 with SMTP id rp2so515859pbb.0 for ; Thu, 24 May 2012 09:30:31 -0700 (PDT) In-Reply-To: <8162blim21.fsf@gmail.com> (Jambunathan K.'s message of "Thu, 24 May 2012 21:54:54 +0530") 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: "itmejl@chrikro.net" Cc: eol Jambunathan K writes: > I see that there is a bug in nxml-mode. I file a bug report against > Emacs sometime soon. The bug is: > > When `nxml-auto-insert-xml-declaration-flag' is on, if one opens a ODT > file in archive mode and presses RET on say content.xml, an "extra" XML > declaration is added. (i.e., Emacs tampers with XML file) This > shouldn't happen. So to verify the fix: 1. Unzip ODT file in a shell and then 2. Do M-x find-file-literally RET content.xml RET 3. Verify that none of the XML files have multiple XML declarations. --