[reportlab-users] new pyRXP

Robin Becker reportlab-users@reportlab.com
Thu, 10 Apr 2003 12:56:05 +0100


Attn Stuart Bishop.

Stuart I have been trying the test_xmltestsuite script and also have
tested your specific failing thing.

For the 001.xml crasher I get the following

>>> import pyRXPU
>>> pyRXPU.Parser()(open('001.xml','r').read())
Traceback (most recent call last):
  File "<interactive input>", line 1, in ?
Error: Error: EOE in comment in entity "e" defined at line 2 char 1 of
 file:///C:/Python/reportlab/rl_addons/pyRXP/test/sb/001.ent
 in unnamed entity at line 3 char 4 of file:///C:/Python/reportlab/rl_ad
dons/pyRXP/test/sb/001.ent
EOE in commentParse Failed!
>>> 

with the testsuite I get 
Ran 373 tests in 1.092s

FAILED (failures=9, errors=1)

I don't understand some of the failures though. It seems as though we
need different parser settings to check different cases ie I don't seem
to be able to use constant values for ReturnProcessingInstructions &
ReturnComments

I certainly don't see any crashes though. I'm using Python 2.2 under
win32.
-- 
Robin Becker