Opened 15 years ago

Last modified 15 years ago

#1078 defect closed fixed (fixed)

twisted.xish.xmlstream parse error

Reported by: tofu Owned by:
Priority: high Milestone:
Component: Keywords: words
Cc: ralphm, tofu Branch:


Change History (4)

comment:1 Changed 15 years ago by tofu

This may be my python/twisted setup, but in xmlstream when invalid xml gets
parsed in dataRecieved, I get a xml.parsers.expat.ExpatError exception instead
of the domish.ParserError. This does not dispatch STREAM_ERROR_EVENT.

comment:2 Changed 15 years ago by ralphm

Hmm, I suppose the same thing goes for using domish with twisted.web.sux. I also
notice that it is not correctly implemented. Instead of just shutting down the
connection, a stream error should be returned to the peer first.

comment:3 Changed 15 years ago by ralphm

Fixed in r14128.

comment:4 Changed 9 years ago by <automation>

Owner: ralphm deleted
Note: See TracTickets for help on using tickets.