Revert r9859 as this killed the stream.

This isn't an easy fix, we need to stop using expat in namespace aware
mode.
This commit is contained in:
js 2008-06-29 01:40:49 +00:00
parent 23cdc3fd6f
commit 408d3b4ff6
1 changed files with 1 additions and 7 deletions

View File

@ -132,13 +132,7 @@ class Dispatcher(PlugIn):
_pendingException = self._pendingExceptions.pop() _pendingException = self._pendingExceptions.pop()
raise _pendingException[0], _pendingException[1], _pendingException[2] raise _pendingException[0], _pendingException[1], _pendingException[2]
try: try:
try: self.Stream.Parse(data)
self.Stream.Parse(data)
except ExpatError, (e):
if e[0][:14] == 'unbound prefix':
pass
else:
raise
# end stream:stream tag received # end stream:stream tag received
if self.Stream and self.Stream.has_received_endtag(): if self.Stream and self.Stream.has_received_endtag():
self._owner.Connection.disconnect() self._owner.Connection.disconnect()