emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: torys.anderson@gmail.com (Tory S. Anderson)
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: Orgmode → ODT: Certain chars break export
Date: Fri, 13 Feb 2015 11:41:35 -0500	[thread overview]
Message-ID: <8761b569xc.fsf@gmail.com> (raw)
In-Reply-To: <87mw4hn6bx.fsf@gmx.us> (rasmus@gmx.us's message of "Fri, 13 Feb 2015 17:07:14 +0100")

There is a helpful wiki page now that you found XML; it even mentions my specific character.[1] The main source seems to be at the w3.org spec.[2]

Rasmus <rasmus@gmx.us> writes:

> torys.anderson@gmail.com (Tory S. Anderson) writes:
>
>> From a user perspective just stripping the characters seems best to
>> me, but finding out what the characters seems obnoxious. 
>
> But maybe there is a valid way to represent such characters in XML?  At
> the very least entities must be replaced before stripping these...
>
>> Neither a quick search nor skimming the ODT doc specification[1][2] seem
>> to give any insight into a set of illegal characters. Does elisp have
>> anything similar to Java's "isWhitespace"[3] that could be used to check
>> character features?
>
> It's an XML thing.  When I tried to open the contents.xml with Firefox it
> also says broken XML.  But I also don't know which are the characters that
> are not supported by XML.
>
> —Rasmus

Footnotes: 
[1]  https://en.wikipedia.org/wiki/Valid_characters_in_XML#XML_1.1

[2]  http://www.w3.org/TR/xml11/#charsets

  reply	other threads:[~2015-02-13 16:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-13 10:45 Orgmode → ODT: Certain chars break export Tory S. Anderson
2015-02-13 11:04 ` Rasmus
2015-02-13 15:18   ` Tory S. Anderson
2015-02-13 16:07     ` Rasmus
2015-02-13 16:41       ` Tory S. Anderson [this message]
2015-02-14  1:18         ` Rasmus
2015-02-14  8:50 ` Vaidheeswaran
2015-02-14 10:43   ` Vaidheeswaran

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=8761b569xc.fsf@gmail.com \
    --to=torys.anderson@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /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).