W3C home > Mailing lists > Public > www-validator@w3.org > August 2006

[Feed Validation Service] Error using FeedValidator to validate Atom Feed

From: Edgar Gonzalez <edgargonzalez@gmail.com>
Date: Thu, 17 Aug 2006 10:42:00 -0400
Message-ID: <f8bc5b5e0608170741w249855bq5959a2b8c33d1c10@mail.gmail.com>
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/">
<faultstring>'NoneType' object has no attribute 'split'</faultstring>
<traceback xmlns="http://www.python.org/doc/current/lib/module-traceback.html">
Traceback (most recent call last):
 File &quot;check.cgi&quot;, line 168, in ?
   params = feedvalidator.validateString(rawdata, firstOccurrenceOnly=1)
 File &quot;/home/ot/feedvalidator/src/feedvalidator/__init__.py&quot;,
line 151, in validateString
 File &quot;/home/ot/feedvalidator/src/feedvalidator/__init__.py&quot;,
line 90, in _validate
 File &quot;/usr/lib/python2.3/xml/sax/expatreader.py&quot;, line 107, in parse
   xmlreader.IncrementalParser.parse(self, source)
 File &quot;/usr/lib/python2.3/xml/sax/xmlreader.py&quot;, line 123, in parse
 File &quot;/usr/lib/python2.3/xml/sax/expatreader.py&quot;, line 207, in feed
   self._parser.Parse(data, isFinal)
 File &quot;/usr/lib/python2.3/xml/sax/expatreader.py&quot;, line
348, in end_element_ns
   self._cont_handler.endElementNS(pair, None)
 File &quot;/home/ot/feedvalidator/src/feedvalidator/base.py&quot;,
line 194, in endElementNS
 File &quot;/home/ot/feedvalidator/src/feedvalidator/base.py&quot;,
line 396, in endElementNS
 File &quot;/home/ot/feedvalidator/src/feedvalidator/link.py&quot;,
line 79, in validate
 File &quot;/home/ot/feedvalidator/src/feedvalidator/validators.py&quot;,
line 460, in validate
AttributeError: &apos;NoneType&apos; object has no attribute &apos;split&apos;


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
Received on Thursday, 17 August 2006 14:55:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:49 UTC