[reportlab-users] errors parsing & > in paragraphs

Timothy Smith timothy at open-networks.net
Wed Oct 12 23:20:43 EDT 2005

it appears ther emight be some kind of inconsistency between the windows 
and source release? can anyone verify this by testing it.

my freebsd installation simply chops out the & (also not really 
desirable) but windows actually errors

  File "Z:\Projects\PubWare\trunk\python\BonusPDF.py", line 111, in 
    PaperWork[x][2] = Paragraph(PaperWork[x][2],RegularTextStyle)
  File "C:\Python23\reportlab\platypus\paragraph.py", line 379, in __init__
    self._setup(text, style, bulletText, frags, cleanBlockQuotedText)
  File "C:\Python23\reportlab\platypus\paragraph.py", line 404, in _setup
    raise "xml parser error (%s) in paragraph beginning\n'%s'"\
xml parser error (bogus < or &) in paragraph beginning
'test & test'

i'm still using 1.19 btw, but if someone can verify this is fixed in 
1.20 i might update

More information about the reportlab-users mailing list