mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)
* lib/rss/parser.rb: added entity handling type predicate. * lib/rss/rexmlparser.rb: ditto. * lib/rss/xmlparser.rb: ditto. * lib/rss/xmlscanner.rb: ditto. * lib/rss/xmlscanner.rb: more robust entity handling. * test/rss/test_parser.rb: added an entity handling test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e85f8c7829
commit
88dd1e4c99
6 changed files with 78 additions and 19 deletions
|
@ -59,11 +59,13 @@ module RSS
|
|||
|
||||
class XMLParserParser < BaseParser
|
||||
|
||||
private
|
||||
def listener
|
||||
XMLParserListener
|
||||
class << self
|
||||
def listener
|
||||
XMLParserListener
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
private
|
||||
def _parse
|
||||
begin
|
||||
parser = REXMLLikeXMLParser.new
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue