src/Pure/PIDE/protocol.scala
changeset 51987 7d8e0e3c553b
parent 51818 517f232e867d
child 52111 1fd184eaa310
--- a/src/Pure/PIDE/protocol.scala	Tue May 14 16:54:47 2013 +0200
+++ b/src/Pure/PIDE/protocol.scala	Tue May 14 19:30:21 2013 +0200
@@ -21,8 +21,7 @@
       }
       catch {
         case ERROR(_) => None
-        case _: XML.XML_Atom => None
-        case _: XML.XML_Body => None
+        case _: XML.Error => None
       }
   }
 
@@ -35,8 +34,7 @@
       }
       catch {
         case ERROR(_) => None
-        case _: XML.XML_Atom => None
-        case _: XML.XML_Body => None
+        case _: XML.Error => None
       }
   }