summaryrefslogtreecommitdiff
path: root/lib/rss/dublincore.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-07 03:36:38 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-07 03:36:38 +0000
commit8dfa6fb0a80d633d71987f06462823ca13b67be8 (patch)
treeccf92cc3af99d21f06a5a9c32d02e247abe74592 /lib/rss/dublincore.rb
parent4ded52b623ebd1b3de12db82f8b54cc156c1fd28 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/dublincore.rb')
-rw-r--r--lib/rss/dublincore.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/rss/dublincore.rb b/lib/rss/dublincore.rb
index 06cb73ec97..dcf8e46c65 100644
--- a/lib/rss/dublincore.rb
+++ b/lib/rss/dublincore.rb
@@ -46,11 +46,11 @@ module RSS
# For backward compatibility
DublincoreModel = DublinCoreModel
- class RDF < Element
- class Channel < Element; include DublinCoreModel; end
- class Image < Element; include DublinCoreModel; end
- class Item < Element; include DublinCoreModel; end
- class Textinput < Element; include DublinCoreModel; end
+ class RDF
+ class Channel; include DublinCoreModel; end
+ class Image; include DublinCoreModel; end
+ class Item; include DublinCoreModel; end
+ class Textinput; include DublinCoreModel; end
end
prefix_size = DC_PREFIX.size + 1