From 689984ddd3a482b5c0986fdf1889323f096050fa Mon Sep 17 00:00:00 2001 From: Willem van Bergen Date: Fri, 1 Jan 2010 13:44:42 +0100 Subject: Fixed some bugs and fixed some tests in new SAX-based XmlMini backends. [#3636 state:committed] Signed-off-by: Jeremy Kemper --- activesupport/lib/active_support/xml_mini/nokogirisax.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/xml_mini/nokogirisax.rb') diff --git a/activesupport/lib/active_support/xml_mini/nokogirisax.rb b/activesupport/lib/active_support/xml_mini/nokogirisax.rb index 42a44897ba..d538a9110f 100644 --- a/activesupport/lib/active_support/xml_mini/nokogirisax.rb +++ b/activesupport/lib/active_support/xml_mini/nokogirisax.rb @@ -28,7 +28,7 @@ module ActiveSupport end def error(error_message) - raise Nokogiri::XML::SyntaxError, error_message + raise error_message end def start_element(name, attrs = []) -- cgit v1.2.3