Index: src/feedvalidator/base.py =================================================================== RCS file: /cvsroot/feedvalidator/feedvalidator/src/feedvalidator/base.py,v retrieving revision 1.8 diff -u -r1.8 base.py --- src/feedvalidator/base.py 18 Feb 2004 15:38:17 -0000 1.8 +++ src/feedvalidator/base.py 18 Feb 2004 19:49:17 -0000 @@ -50,7 +50,7 @@ "http://www.w3.org/1999/xhtml": "xhtml", } -stdattrs = [(u'http://www.w3.org/XML/1998/namespace', u'base'), (u'http://www.w3.org/XML/1998/namespace', u'lang')] +stdattrs = [(u'http://www.w3.org/XML/1998/namespace', u'base'), (u'http://www.w3.org/XML/1998/namespace', u'lang'), (u'http://www.w3.org/XML/1998/namespace', u'space')] # # From the SAX parser's point of view, this class is the one responsible for Index: src/feedvalidator/item.py =================================================================== RCS file: /cvsroot/feedvalidator/feedvalidator/src/feedvalidator/item.py,v retrieving revision 1.5 diff -u -r1.5 item.py --- src/feedvalidator/item.py 18 Feb 2004 16:12:14 -0000 1.5 +++ src/feedvalidator/item.py 18 Feb 2004 19:49:17 -0000 @@ -9,7 +9,6 @@ from base import validatorBase from validators import * from logging import * -from sets import ImmutableSet # # item element. @@ -116,11 +115,11 @@ class category(text): def getExpectedAttrNames(self): - return ImmutableSet([(None, u'domain')]) + return [(None, u'domain')] class source(text, httpURLMixin): def getExpectedAttrNames(self): - return ImmutableSet([(None, u'url')]) + return [(None, u'url')] def prevalidate(self): try: self.validateHttpURL(None, 'url') @@ -131,7 +130,7 @@ class enclosure(validatorBase, httpURLMixin): from validators import mime_re def getExpectedAttrNames(self): - return ImmutableSet([(None, u'url'), (None, u'length'), (None, u'type')]) + return [(None, u'url'), (None, u'length'), (None, u'type')] def prevalidate(self): try: if int(self.attrs.getValue((None, 'length'))) <= 0: @@ -160,7 +159,7 @@ class guid(rfc2396_full, noduplicates): def getExpectedAttrNames(self): - return ImmutableSet([(None, u'isPermaLink')]) + return [(None, u'isPermaLink')] def validate(self): isPermalink = 1 Index: testcases/rss/must/valid_all_rss2_attributes.xml =================================================================== RCS file: /cvsroot/feedvalidator/feedvalidator/testcases/rss/must/valid_all_rss2_attributes.xml,v retrieving revision 1.1 diff -u -r1.1 valid_all_rss2_attributes.xml --- testcases/rss/must/valid_all_rss2_attributes.xml 16 Feb 2004 16:25:27 -0000 1.1 +++ testcases/rss/must/valid_all_rss2_attributes.xml 18 Feb 2004 19:49:18 -0000 @@ -11,11 +11,13 @@ Expect: !UnexpectedAttribute --> - - + + All the valid RSS 2.0 attributes http://purl.org/rss/2.0/ -foo +A description +with +significant whitespace MSFT