OTMI Validation

From OpenTextMining

Jump to: navigation, search

23.03.07 - Running a test file

   http://www.nature.com/tpj/journal/v5/n1/otmi/6500272a.otmi

through the W3C Feed Validation Service gives the following:

Sorry

This feed does not validate.

    *      line 22, column 38: published must be an RFC-3339 date-time: day is out of range for month [help]

            <atom:published>2005-02-00T00:00:00Z</atom:published>
                                                ^

    *      line 23, column 36: updated must be an RFC-3339 date-time: day is out of range for month [help]

            <atom:updated>2005-02-00T00:00:00Z</atom:updated>
                                              ^

In addition, this feed has issues that may cause problems for some users. We recommend fixing these issues.

    *      Feeds should not be served with the "text/plain; charset=UTF-8" media type [help]


    *      line 816, column 0: Missing textual content [help]

          </atom:entry>

Source: http://www.nature.com/tpj/journal/v5/n1/otmi/6500272a.otmi

Notes:

  • First two errors are day should be e.g. '01' and not '00'.
  • Discrepancy between served MIME type ('application/xml') and W3C service (recognizes 'text/html'). Feedback posted to list. Apparently FeedValidator does recognize MIME type but still issues warning for not being specific enough, i.e. not 'application/atom+xml'.
  • Warning because although there is an '<atom:title/>' element there is no '<atom:content/>', or failing that an '<atom:summary/>' element.
Personal tools