- From: Edgar Gonzalez <edgargonzalez@gmail.com>
- Date: Thu, 17 Aug 2006 10:42:00 -0400
- To: www-validator@w3.org
I got an error using FeedValidation (http://validator.w3.org/feed/) to validate an Atom feed. When I use the "Validate by Direct Input" option to validate an Atom feed, I got this message: "An error occurred while trying to validate this feed." If I try using the SOAP API, I got this response: <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode>exceptions.AttributeError</faultcode> <faultstring>'NoneType' object has no attribute 'split'</faultstring> <detail> <traceback xmlns="http://www.python.org/doc/current/lib/module-traceback.html"> Traceback (most recent call last): File "check.cgi", line 168, in ? params = feedvalidator.validateString(rawdata, firstOccurrenceOnly=1) File "/home/ot/feedvalidator/src/feedvalidator/__init__.py", line 151, in validateString File "/home/ot/feedvalidator/src/feedvalidator/__init__.py", line 90, in _validate File "/usr/lib/python2.3/xml/sax/expatreader.py", line 107, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.3/xml/sax/expatreader.py", line 207, in feed self._parser.Parse(data, isFinal) File "/usr/lib/python2.3/xml/sax/expatreader.py", line 348, in end_element_ns self._cont_handler.endElementNS(pair, None) File "/home/ot/feedvalidator/src/feedvalidator/base.py", line 194, in endElementNS File "/home/ot/feedvalidator/src/feedvalidator/base.py", line 396, in endElementNS File "/home/ot/feedvalidator/src/feedvalidator/link.py", line 79, in validate File "/home/ot/feedvalidator/src/feedvalidator/validators.py", line 460, in validate AttributeError: 'NoneType' object has no attribute 'split' </traceback> </detail> </soap:Fault> </soap:Body> </soap:Envelope> BTW, the validation of an Atom feed via "Validate by URL" option works fine, and validation of RSS feed via both "Validate by Direct Input" or SOAP API also works fine. A few months ago the Atom feed validation works fine. Maybe something changed? Any idea? -- Edgar González González E-mail: edgargonzalez@gmail.com http://vp.com.ve http://lacaraoscura.com http://rubycorner.com --
Received on Thursday, 17 August 2006 14:55:12 UTC