From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins < jamshark70@gmail.com> Subject: Re: DTD prohibited Date: Tue, 3 Jun 2014 00:34:58 +0000 (UTC) Message-ID: References: <6613507.WMGd5MBtyv@linux-j9m3.site> <87vbsjczqg.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wrcij-00082m-La for emacs-orgmode@gnu.org; Mon, 02 Jun 2014 20:36:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wrcif-0004y8-8w for emacs-orgmode@gnu.org; Mon, 02 Jun 2014 20:36:53 -0400 Received: from plane.gmane.org ([80.91.229.3]:40275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wrcif-0004xt-1X for emacs-orgmode@gnu.org; Mon, 02 Jun 2014 20:36:49 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WrchZ-00017Y-7a for emacs-orgmode@gnu.org; Tue, 03 Jun 2014 02:35:41 +0200 Received: from 204.2.136.219.broad.gz.gd.dynamic.163data.com.cn ([204.2.136.219.broad.gz.gd.dynamic.163data.com.cn]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jun 2014 02:35:41 +0200 Received: from jamshark70 by 204.2.136.219.broad.gz.gd.dynamic.163data.com.cn with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jun 2014 02:35:41 +0200 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: emacs-orgmode@gnu.org Bastien gnu.org> writes: > > Hi Alexander, > > AW t-online.de> writes: > > > Now, Word no longer can open the html-documents produced by orgmode. The error > > message is (translated from German): "DTD prohibited". > > You may want to customize `org-html-doctype' but you probably need to > digg further to know what DTD is prohibited exactly. Apparently, all of them: http://en.m.wikipedia.org/wiki/Document_Type_Definition Under "Security": ~~ An XML DTD can be used to create a denial of service (DoS) attack by defining nested entities that expand exponentially, or by sending the XML parser to an external resource that never returns.[10] For this reason, .NET Framework provides a property that allows prohibiting or skipping DTD parsing, [10] and recent versions of Microsoft Office applications (Microsoft Office 2010 and higher) refuse to open XML files that contain DTD declarations. ~~ So, if org ODT export now depends on a DTD, then we'd have to say that we don't support exported files that open in MS Word. hjh