emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* odt export bug, I think.
@ 2011-08-16 20:52 Matt Price
  2011-08-17 23:47 ` Jambunathan K
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Price @ 2011-08-16 20:52 UTC (permalink / raw)
  To: Org Mode


[-- Attachment #1.1: Type: text/plain, Size: 848 bytes --]

Hi,

I think I've found an odt export bug.  Certain complex URL's stored within
links can end up being rendered with forbidden characters, e.g. '<' and
'>'.  so, e.g., a link to this URL:

http://www.jstor.org.myaccess.library.utoronto.ca/sici?origin=sfx%253Asfx&sici=1363-3554%25281995%252939%253C182%253E1.0.CO%253B2-L&

was rendered in content.xml like this:
xlink:href="
http://www.jstor.org/sici?origin=sfx:sfx&amp;sici=1363-3554(1995)39<182>
1.0.CO;2-L&amp;"

resulting in a syntax error when libreoffice tries to load it.  I've
attached a minimal test file that reproduces the bug.

This is happening under a recent git snapshot of org-mode, using an emacs
snapshot from 2011-04.  Not sure if there are other xml-related packages
whose versions I should be tracking.

Thanks as always, and let me know what I can do to help with this.

Matt

[-- Attachment #1.2: Type: text/html, Size: 1241 bytes --]

[-- Attachment #2: test.odt --]
[-- Type: application/vnd.oasis.opendocument.text, Size: 8346 bytes --]

[-- Attachment #3: test.org --]
[-- Type: application/octet-stream, Size: 268 bytes --]

- Massey, Doreen. “[[http://www.jstor.org/sici?origin=sfx%g3Asfx&sici=1363-3554%281995%2939%3C182%3E1.0.CO%3B2-L&][Places and Their Pasts.]] History Workshop Journal 39 (Spring 1995): 182-192
- Novick, Robert "The Defense of the West," ch. 10 of /That Noble Dream/ 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-18  0:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-16 20:52 odt export bug, I think Matt Price
2011-08-17 23:47 ` Jambunathan K
2011-08-18  0:44   ` Matt Price

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).