Jambunathan K <kjambunat...@gmail.com> 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. --