Home Company Services Portfolio Contact us nav spacer

trml2pdf xml parser error tip

by hedley posted on Aug 27, 2008 04:06 PM last modified Aug 27, 2008 04:06 PM

If you encounter "xml parser error (bogus < or &) in paragraph" then a single line needs to be changed.

trml2pdf has no dedicated webpage anymore, and I do not know if it is still maintained. After searching for solutions I decided to just fix it myself. The fix is trivially easy.

On line 383 of trml2pdf.py change

rc += n.data

to

rc += n.toxml()