aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rss/xmlparser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rss/xmlparser.rb')
-rw-r--r--lib/rss/xmlparser.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/rss/xmlparser.rb b/lib/rss/xmlparser.rb
index 355a428d2d..7be0dc9a11 100644
--- a/lib/rss/xmlparser.rb
+++ b/lib/rss/xmlparser.rb
@@ -17,6 +17,14 @@ rescue LoadError
end
end
+module XML
+ class Parser
+ unless defined?(Error)
+ Error = ::XMLParserError
+ end
+ end
+end
+
module RSS
class REXMLLikeXMLParser < ::XML::Parser