diff options
| author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-07 03:36:38 +0000 |
|---|---|---|
| committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-07 03:36:38 +0000 |
| commit | 07eb740efe5172ed3c9a8fad84088d26d539da01 (patch) | |
| tree | ccf92cc3af99d21f06a5a9c32d02e247abe74592 /lib/rss/xmlparser.rb | |
| parent | 8cdc3778294e77428b05f16ec7a60ff8d1f7775a (diff) | |
| download | ruby-07eb740efe5172ed3c9a8fad84088d26d539da01.tar.gz ruby-07eb740efe5172ed3c9a8fad84088d26d539da01.tar.xz ruby-07eb740efe5172ed3c9a8fad84088d26d539da01.zip | |
* lib/rss/parser.rb, lib/rss/1.0.rb: accepted rdf:resource or
resource attribute in rdf:li.
* test/rss/test_parser.rb: added test for above change.
* lib/rss/dublincore.rb: reverted style.
* lib/rss/xmlparser.rb: normalized XMLParser class hierarchy.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/xmlparser.rb')
| -rw-r--r-- | lib/rss/xmlparser.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/rss/xmlparser.rb b/lib/rss/xmlparser.rb index 355a428d2..7be0dc9a1 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 |
