See: http://collector.zope.org/Zope/863
the attached patch file solves this problem by always setting the handle_xml method with default parameters if body does not start with <?xml ..> the patch is against lib/python/Shared/DC/xml/xmllib.py of zope version 2.6.1 best regards, simon -- Simon Eisenmann [ mailto:[EMAIL PROTECTED] ] [ struktur AG | Junghansstra�e 5 | 70469 Stuttgart ] [ T. +49.711.896656.68 | F.+49.711.89665610 ] [ http://www.struktur.de | mailto:[EMAIL PROTECTED] ]
--- xmllib.py.orginal 2002-08-14 23:51:00.000000000 +0200
+++ xmllib.py 2003-03-24 11:26:29.000000000 +0100
@@ -163,6 +163,11 @@
self.lineno = self.lineno + string.count(data, '\n')
i = n
break
+ if self.__at_start:
+ if not xmldecl.match(rawdata):
+ # no <?xml> declaration -> use default
+ self.handle_xml('','')
+
res = interesting.search(rawdata, i)
if res:
j = res.start(0)
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
