зеркало из https://github.com/github/ruby.git
Cross-ported fix for REXML bug #14, StreamParser and doctype events.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
0d04057aad
Коммит
ad68e20351
|
@ -22,8 +22,11 @@ module REXML
|
||||||
@listener.text( normalized )
|
@listener.text( normalized )
|
||||||
when :processing_instruction
|
when :processing_instruction
|
||||||
@listener.instruction( *event[1,2] )
|
@listener.instruction( *event[1,2] )
|
||||||
when :comment, :doctype, :attlistdecl,
|
when :start_doctype
|
||||||
:elementdecl, :entitydecl, :cdata, :notationdecl, :xmldecl
|
@listener.doctype( *event[1..-1] )
|
||||||
|
when :notationdecl, :entitydecl, :elementdecl
|
||||||
|
@listener.notationdecl( event[1..-1] )
|
||||||
|
when :comment, :attlistdecl, :elementdecl, :cdata, :xmldecl
|
||||||
@listener.send( event[0].to_s, *event[1..-1] )
|
@listener.send( event[0].to_s, *event[1..-1] )
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#
|
#
|
||||||
# Main page:: http://www.germane-software.com/software/rexml
|
# Main page:: http://www.germane-software.com/software/rexml
|
||||||
# Author:: Sean Russell <serATgermaneHYPHENsoftwareDOTcom>
|
# Author:: Sean Russell <serATgermaneHYPHENsoftwareDOTcom>
|
||||||
# Version:: 3.0.8
|
# Version:: 3.0.9
|
||||||
# Date:: +2004/137
|
# Date:: +2004/137
|
||||||
#
|
#
|
||||||
# This API documentation can be downloaded from the REXML home page, or can
|
# This API documentation can be downloaded from the REXML home page, or can
|
||||||
|
@ -22,5 +22,5 @@
|
||||||
module REXML
|
module REXML
|
||||||
Copyright = "Copyright © 2001, 2002, 2003, 2004 Sean Russell <ser@germane-software.com>"
|
Copyright = "Copyright © 2001, 2002, 2003, 2004 Sean Russell <ser@germane-software.com>"
|
||||||
Date = "+2004/137"
|
Date = "+2004/137"
|
||||||
Version = "3.0.8"
|
Version = "3.0.9"
|
||||||
end
|
end
|
||||||
|
|
Загрузка…
Ссылка в новой задаче