Bastien <b...@gnu.org> writes:

> Hi Jambunathan,
>
> Jambunathan K <kjambunat...@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 via email to