[reportlab-users] re: Unicode pyRXP and malloc problems in pyRXP

Robin Becker reportlab-users@reportlab.com
Mon, 17 Feb 2003 11:52:59 +0000


In article <987E4B1E-408D-11D7-BABF-000393B63DDC@shangri-
la.dropbear.id.au>, Stuart Bishop <zen@shangri-la.dropbear.id.au> writes
>
>On Saturday, February 15, 2003, at 12:17  AM, Robin Becker wrote:
>
>> Stuart Bishop, if you have working code for Mac uRXP I will try and 
>> test
>> on the PC to see if your malloc issues are OS related.
>
>It would be worth testing the bog standard pyRXP 0.9 with the example
>file I posted first - it is affected as well.
>
I'm sorry to be really stupid, but which of the n tests causes the
malloc failure in pyRXP. I haven't time to redo all the tests.

001.xml certainly works for me in that it errors properly.
C:\Tmp>python
Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyRXP
>>> pyRXP.Parser()(open('001.xml').read())
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
pyRXP.Error: Error: EOE in comment
 in entity "e" defined at line 2 char 1 of file:///C:/Tmp/001.ent
 in unnamed entity at line 3 char 4 of file:///C:/Tmp/001.ent
error return=1
EOE in comment
Parse Failed!

>>>

.....
-- 
Robin Becker