diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-06 17:43:05 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-06 17:43:05 +0000 |
commit | e289fcf81a22f1dc6ebcb87861877b463af04b7c (patch) | |
tree | ef88a6dfdfc68d57025eb98ab6fe8d237c3adccd /lib/rss/1.0.rb | |
parent | 9800838ff02369fa9e393b70f40b6083af0ce595 (diff) | |
download | ruby-e289fcf81a22f1dc6ebcb87861877b463af04b7c.tar.gz |
* lib/rss/{rss,parser,0.9,1.0,2.0}.rb: supported RSS 0.9x/2.0
validation and validation which disregard order of elements.
* test/rss/test_parser.rb: added tests for RSS 0.9x/2.0
validation.
* test/rss/{test_trackback,rss-testcase}.rb: fixed no good method
name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/1.0.rb')
-rw-r--r-- | lib/rss/1.0.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/rss/1.0.rb b/lib/rss/1.0.rb index 696b492ada..be141d73d8 100644 --- a/lib/rss/1.0.rb +++ b/lib/rss/1.0.rb @@ -5,6 +5,13 @@ module RSS module RSS10 NSPOOL = {} ELEMENTS = [] + + def self.append_features(klass) + super + + klass.install_must_call_validator('', ::RSS::URI) + end + end class RDF < Element |