emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: eol <emacs-orgmode@gnu.org>, "itmejl@chrikro.net" <itmejl@chrikro.net>
Subject: Re: Opening an odt file - problem solved
Date: Thu, 24 May 2012 21:54:54 +0530	[thread overview]
Message-ID: <8162blim21.fsf@gmail.com> (raw)
In-Reply-To: <87boldkjjw.fsf@gnu.org> (Bastien's message of "Thu, 24 May 2012 11:36:03 +0200")

Bastien <bzg@gnu.org> writes:

> Hi Jambunathan,
>
> Jambunathan K <kjambunathan@gmail.com> writes:
>
>>> So if want to be able to open odt files created with orgmode odt
>>> exporter you have to have nxml-auto-insert-xml-declaration-flag set to
>>> nil.
>>
>> Thanks for writing this down.  It seems you aren't insisting on a fix.
>
> I think the fix would be nice to have.
>
> Can you fix it?

OK.  Fixed in both maint and master.  The exported ODT file will not
have multiple XML declrations.

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.

> Thanks,

  reply	other threads:[~2012-05-24 16:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-19 10:17 Opening an odt file - problem solved itmejl
2012-05-19 12:06 ` Achim Gratz
2012-05-20  9:56 ` Jambunathan K
2012-05-24  9:36   ` Bastien
2012-05-24 16:24     ` Jambunathan K [this message]
2012-05-24 16:28       ` Bastien
2012-05-25 13:57         ` Jambunathan K
2012-05-25 21:17           ` Bastien
2012-05-24 16:30       ` Jambunathan K

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=8162blim21.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=itmejl@chrikro.net \
    /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).