emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: James Harkins < jamshark70@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: DTD prohibited
Date: Tue, 3 Jun 2014 00:34:58 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140603T023138-176@post.gmane.org> (raw)
In-Reply-To: 87vbsjczqg.fsf@bzg.ath.cx

Bastien <bzg <at> gnu.org> writes:

> 
> Hi Alexander,
> 
> AW <alexander.willand <at> 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

  reply	other threads:[~2014-06-03  0:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-02 10:40 DTD prohibited AW
2014-06-02 11:33 ` Bastien
2014-06-03  0:34   ` James Harkins [this message]
2014-06-03 20:14     ` AW
2014-06-04  7:39       ` Eric S Fraga
2014-06-04  9:04         ` Eric Abrahamsen
2014-06-04 16:52           ` AW
2014-06-05 13:54             ` Rick Frankel

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=loom.20140603T023138-176@post.gmane.org \
    --to=jamshark70@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).