[XML-SIG] Another bug in sgmlop?
"Walter Dörwald"
walter@livinglogic.de
Fri, 28 Jul 2000 18:54:41 +0200
Hello all!
I think I discovered another bug in sgmlop.
-----------------------------------------------------------
import sgmlop
class Handler:
def finish_starttag(self,name,attrs):
print name,attrs
parser = sgmlop.SGMLParser()
parser.register(Handler())
parser.parse('<page title="test" keywords="test" nohome/>')
-----------------------------------------------------------
what this script prints is the following:
page [('test', 'test'), ('test', 'test'), ('nohome', 'nohome')]
Segmentation fault.
(I installed the Fredrik's patch from the 5th July.
Bye,
Walter Dörwald
--
Walter Dörwald · LivingLogic AG · Bayreuth, Germany ·
www.livinglogic.de