From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vaidheeswaran C Subject: Re: Missing org-mode manual page: Validating OpenDocument XML Date: Wed, 04 Mar 2015 01:56:13 +0530 Message-ID: <54F618E5.10109@gmail.com> References: <54F5CF1A.20500@gmail.com> Reply-To: vaidheeswaran.chinnaraju@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YStMR-0003bN-Ef for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 15:24:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YStMN-0002eO-6v for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 15:24:11 -0500 Received: from mail-pa0-x229.google.com ([2607:f8b0:400e:c03::229]:44985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YStMM-0002dx-Ud for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 15:24:07 -0500 Received: by padet14 with SMTP id et14so3009209pad.11 for ; Tue, 03 Mar 2015 12:24:05 -0800 (PST) In-Reply-To: <54F5CF1A.20500@gmail.com> 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: "Monroe, Will" Cc: orgmode On Tuesday 03 March 2015 08:41 PM, Monroe, Will wrote: > Hello, > > I'm trying to troubleshoot a corrupt ODT file that I've exported from org-mode. > The org-mode manual provides some guidance for this process on the "Validating > OpenDocument XML" page (see > http://orgmode.org/manual/Validating-OpenDocument-XML.html#Validating-OpenDocument-XML). > > > It mentions validation of an ODT document against the "OpenDocument RELAX NG > Compact Syntax (RNC) schema". I have obtained the xml and RNC files from the > org-mode Github site but I'm unsure how to use them. The org-mode manual page > mentions general help in the Introduction (see > http://orgmode.org/nxml-mode/Introduction.html#Introduction) but I get a 404 > error when I attempt to load the page. > > Does anyone know where I can read this guide? You can avoid the cross-manual link errors, by using the manuals at gnu.org site: https://www.gnu.org/software/emacs/manual/html_node/org/Validating-OpenDocument-XML.html For verification, this is roughly what you need to do: 1. Copy over schema file. 2. Reload Emacs. 3. C-x C-f file.odt 4. Press ENTER on content.xml 5. C-c C-n (M-x rng-next-error) Or You can try an online validator: http://odf-validator.rhcloud.com/ Based on my own experience, your *.org file is NOT in utf-8 and uses non-English characters (whatever they are called). Just switch the file to utf-8 encoding and you will be all set.