summaryrefslogtreecommitdiff
path: root/libs/README
blob: 234ff08980972f770dbb239ee0aa0b7bb2fb1b91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

This folder includes the DOMC library that's used by rtfx for creating an in-memory
XML tree. It was written by Michael B. Allen:

http://www.ioplex.com/~miallen/domc/

Because we want to avoid too dependencies, and because DOMC is small, we build
it here and link it in statically. The 'prepare-libraries.sh' shell script
decompresses the library tars and patches them to work with rtfx.

RTFX used to use Sablotron, but because they don't major on their DOM (all about
XSLT) it's extremely slow when used with large in memory DOMs under certain
conditions. Because of this in some cases it would take 10 minutes to for RTFX
to convert a 3 or 4 meg RTF file.