summaryrefslogtreecommitdiff
path: root/lib/rexml/parsers/streamparser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/parsers/streamparser.rb')
-rw-r--r--lib/rexml/parsers/streamparser.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/rexml/parsers/streamparser.rb b/lib/rexml/parsers/streamparser.rb
index 357cc186e6..996d613e15 100644
--- a/lib/rexml/parsers/streamparser.rb
+++ b/lib/rexml/parsers/streamparser.rb
@@ -31,9 +31,8 @@ module REXML
@listener.instruction( *event[1,2] )
when :start_doctype
@listener.doctype( *event[1..-1] )
- when :notationdecl, :entitydecl, :elementdecl
- @listener.notationdecl( event[1..-1] )
- when :comment, :attlistdecl, :elementdecl, :cdata, :xmldecl
+ when :comment, :attlistdecl, :notationdecl, :elementdecl,
+ :entitydecl, :cdata, :xmldecl, :attlistdecl
@listener.send( event[0].to_s, *event[1..-1] )
end
end