diff --git a/lib/feedparser/__init__.py b/lib/feedparser/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/lib/feedparser/feedparser.egg-info/PKG-INFO b/lib/feedparser/feedparser.egg-info/PKG-INFO new file mode 100644 index 00000000..1765e869 --- /dev/null +++ b/lib/feedparser/feedparser.egg-info/PKG-INFO @@ -0,0 +1,30 @@ +Metadata-Version: 1.1 +Name: feedparser +Version: 5.1.3 +Summary: Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds +Home-page: http://code.google.com/p/feedparser/ +Author: Kurt McKee +Author-email: contactme@kurtmckee.org +License: UNKNOWN +Download-URL: http://code.google.com/p/feedparser/ +Description: UNKNOWN +Keywords: atom,cdf,feed,parser,rdf,rss +Platform: POSIX +Platform: Windows +Classifier: Development Status :: 5 - Production/Stable +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.4 +Classifier: Programming Language :: Python :: 2.5 +Classifier: Programming Language :: Python :: 2.6 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.0 +Classifier: Programming Language :: Python :: 3.1 +Classifier: Programming Language :: Python :: 3.2 +Classifier: Programming Language :: Python :: 3.3 +Classifier: Topic :: Software Development :: Libraries :: Python Modules +Classifier: Topic :: Text Processing :: Markup :: XML diff --git a/lib/feedparser/feedparser.egg-info/SOURCES.txt b/lib/feedparser/feedparser.egg-info/SOURCES.txt new file mode 100644 index 00000000..29533362 --- /dev/null +++ b/lib/feedparser/feedparser.egg-info/SOURCES.txt @@ -0,0 +1,2480 @@ +LICENSE +MANIFEST.in +NEWS +README +setup.py +docs/add_custom_css.py +docs/advanced.rst +docs/annotated-atom03.rst +docs/annotated-atom10.rst +docs/annotated-examples.rst +docs/annotated-rss10.rst +docs/annotated-rss20-dc.rst +docs/annotated-rss20.rst +docs/atom-detail.rst +docs/basic-existence.rst +docs/basic.rst +docs/bozo.rst +docs/changes-26.rst +docs/changes-27.rst +docs/changes-30.rst +docs/changes-301.rst +docs/changes-31.rst +docs/changes-32.rst +docs/changes-33.rst +docs/changes-40.rst +docs/changes-401.rst +docs/changes-402.rst +docs/changes-41.rst +docs/changes-42.rst +docs/changes-early.rst +docs/character-encoding.rst +docs/common-atom-elements.rst +docs/common-rss-elements.rst +docs/conf.py +docs/content-normalization.rst +docs/date-parsing.rst +docs/history.rst +docs/html-sanitization.rst +docs/http-authentication.rst +docs/http-etag.rst +docs/http-other.rst +docs/http-redirect.rst +docs/http-useragent.rst +docs/http.rst +docs/index.rst +docs/introduction.rst +docs/license.rst +docs/microformats.rst +docs/namespace-handling.rst +docs/reference-bozo.rst +docs/reference-bozo_exception.rst +docs/reference-encoding.rst +docs/reference-entry-author.rst +docs/reference-entry-author_detail.rst +docs/reference-entry-comments.rst +docs/reference-entry-content.rst +docs/reference-entry-contributors.rst +docs/reference-entry-created.rst +docs/reference-entry-created_parsed.rst +docs/reference-entry-enclosures.rst +docs/reference-entry-expired.rst +docs/reference-entry-expired_parsed.rst +docs/reference-entry-id.rst +docs/reference-entry-license.rst +docs/reference-entry-link.rst +docs/reference-entry-links.rst +docs/reference-entry-published.rst +docs/reference-entry-published_parsed.rst +docs/reference-entry-publisher.rst +docs/reference-entry-publisher_detail.rst +docs/reference-entry-source.rst +docs/reference-entry-summary.rst +docs/reference-entry-summary_detail.rst +docs/reference-entry-tags.rst +docs/reference-entry-title.rst +docs/reference-entry-title_detail.rst +docs/reference-entry-updated.rst +docs/reference-entry-updated_parsed.rst +docs/reference-entry-vcard.rst +docs/reference-entry-xfn.rst +docs/reference-entry.rst +docs/reference-etag.rst +docs/reference-feed-author.rst +docs/reference-feed-author_detail.rst +docs/reference-feed-cloud.rst +docs/reference-feed-contributors.rst +docs/reference-feed-docs.rst +docs/reference-feed-errorreportsto.rst +docs/reference-feed-generator.rst +docs/reference-feed-generator_detail.rst +docs/reference-feed-icon.rst +docs/reference-feed-id.rst +docs/reference-feed-image.rst +docs/reference-feed-info-detail.rst +docs/reference-feed-info.rst +docs/reference-feed-language.rst +docs/reference-feed-license.rst +docs/reference-feed-link.rst +docs/reference-feed-links.rst +docs/reference-feed-logo.rst +docs/reference-feed-published.rst +docs/reference-feed-published_parsed.rst +docs/reference-feed-publisher.rst +docs/reference-feed-publisher_detail.rst +docs/reference-feed-rights.rst +docs/reference-feed-rights_detail.rst +docs/reference-feed-subtitle.rst +docs/reference-feed-subtitle_detail.rst +docs/reference-feed-tags.rst +docs/reference-feed-textinput.rst +docs/reference-feed-title.rst +docs/reference-feed-title_detail.rst +docs/reference-feed-ttl.rst +docs/reference-feed-updated.rst +docs/reference-feed-updated_parsed.rst +docs/reference-feed.rst +docs/reference-headers.rst +docs/reference-href.rst +docs/reference-modified.rst +docs/reference-namespaces.rst +docs/reference-status.rst +docs/reference-version.rst +docs/reference.rst +docs/resolving-relative-links.rst +docs/uncommon-atom.rst +docs/uncommon-rss.rst +docs/version-detection.rst +docs/_static/feedparser.css +feedparser/feedparser.py +feedparser/feedparsertest.py +feedparser/sgmllib3.py +feedparser/feedparser.egg-info/PKG-INFO +feedparser/feedparser.egg-info/SOURCES.txt +feedparser/feedparser.egg-info/dependency_links.txt +feedparser/feedparser.egg-info/top_level.txt +feedparser/tests/compression/deflate-no-headers.z +feedparser/tests/compression/deflate-not-compressed.z +feedparser/tests/compression/deflate.z +feedparser/tests/compression/gzip-not-compressed.gz +feedparser/tests/compression/gzip-struct-error.gz +feedparser/tests/compression/gzip.gz +feedparser/tests/compression/sample.xml +feedparser/tests/encoding/big5.xml +feedparser/tests/encoding/bozo_bogus_encoding.xml +feedparser/tests/encoding/bozo_double-encoded-html.xml +feedparser/tests/encoding/bozo_encoding_mismatch_crash.xml +feedparser/tests/encoding/bozo_http_i18n.xml +feedparser/tests/encoding/bozo_http_text_plain.xml +feedparser/tests/encoding/bozo_http_text_plain_charset.xml +feedparser/tests/encoding/bozo_invalid-bytes-with-bom.xml +feedparser/tests/encoding/bozo_linenoise.xml +feedparser/tests/encoding/csucs4.xml +feedparser/tests/encoding/csunicode.xml +feedparser/tests/encoding/demoronize-1.xml +feedparser/tests/encoding/demoronize-2.xml +feedparser/tests/encoding/demoronize-3.xml +feedparser/tests/encoding/double-encoded-html.xml +feedparser/tests/encoding/encoding_attribute_crash.xml +feedparser/tests/encoding/encoding_attribute_crash_2.xml +feedparser/tests/encoding/euc-kr-attribute.xml +feedparser/tests/encoding/euc-kr-item.xml +feedparser/tests/encoding/euc-kr.xml +feedparser/tests/encoding/http_application_atom_xml_charset.xml +feedparser/tests/encoding/http_application_atom_xml_charset_overrides_encoding.xml +feedparser/tests/encoding/http_application_atom_xml_default.xml +feedparser/tests/encoding/http_application_atom_xml_encoding.xml +feedparser/tests/encoding/http_application_atom_xml_gb2312_charset.xml +feedparser/tests/encoding/http_application_atom_xml_gb2312_charset_overrides_encoding.xml +feedparser/tests/encoding/http_application_atom_xml_gb2312_encoding.xml +feedparser/tests/encoding/http_application_rss_xml_charset.xml +feedparser/tests/encoding/http_application_rss_xml_charset_overrides_encoding.xml +feedparser/tests/encoding/http_application_rss_xml_default.xml +feedparser/tests/encoding/http_application_rss_xml_encoding.xml +feedparser/tests/encoding/http_application_xml_charset.xml +feedparser/tests/encoding/http_application_xml_charset_overrides_encoding.xml +feedparser/tests/encoding/http_application_xml_default.xml +feedparser/tests/encoding/http_application_xml_dtd_charset.xml +feedparser/tests/encoding/http_application_xml_dtd_charset_overrides_encoding.xml +feedparser/tests/encoding/http_application_xml_dtd_default.xml +feedparser/tests/encoding/http_application_xml_dtd_encoding.xml +feedparser/tests/encoding/http_application_xml_encoding.xml +feedparser/tests/encoding/http_application_xml_epe_charset.xml +feedparser/tests/encoding/http_application_xml_epe_charset_overrides_encoding.xml +feedparser/tests/encoding/http_application_xml_epe_default.xml +feedparser/tests/encoding/http_application_xml_epe_encoding.xml +feedparser/tests/encoding/http_encoding_attribute_crash.xml +feedparser/tests/encoding/http_i18n.xml +feedparser/tests/encoding/http_text_atom_xml_charset.xml +feedparser/tests/encoding/http_text_atom_xml_charset_overrides_encoding.xml +feedparser/tests/encoding/http_text_atom_xml_default.xml +feedparser/tests/encoding/http_text_atom_xml_encoding.xml +feedparser/tests/encoding/http_text_rss_xml_charset.xml +feedparser/tests/encoding/http_text_rss_xml_charset_overrides_encoding.xml +feedparser/tests/encoding/http_text_rss_xml_default.xml +feedparser/tests/encoding/http_text_rss_xml_encoding.xml +feedparser/tests/encoding/http_text_xml_bogus_charset.xml +feedparser/tests/encoding/http_text_xml_bogus_param.xml +feedparser/tests/encoding/http_text_xml_charset.xml +feedparser/tests/encoding/http_text_xml_charset_2.xml +feedparser/tests/encoding/http_text_xml_charset_overrides_encoding.xml +feedparser/tests/encoding/http_text_xml_charset_overrides_encoding_2.xml +feedparser/tests/encoding/http_text_xml_default.xml +feedparser/tests/encoding/http_text_xml_epe_charset.xml +feedparser/tests/encoding/http_text_xml_epe_charset_overrides_encoding.xml +feedparser/tests/encoding/http_text_xml_epe_default.xml +feedparser/tests/encoding/http_text_xml_epe_encoding.xml +feedparser/tests/encoding/http_text_xml_qs.xml +feedparser/tests/encoding/iso-10646-ucs-2.xml +feedparser/tests/encoding/iso-10646-ucs-4.xml +feedparser/tests/encoding/no_content_type_default.xml +feedparser/tests/encoding/no_content_type_encoding.xml +feedparser/tests/encoding/u16.xml +feedparser/tests/encoding/ucs-2.xml +feedparser/tests/encoding/ucs-4.xml +feedparser/tests/encoding/utf-16be-autodetect.xml +feedparser/tests/encoding/utf-16be-bom.xml +feedparser/tests/encoding/utf-16be.xml +feedparser/tests/encoding/utf-16le-autodetect.xml +feedparser/tests/encoding/utf-16le-bom.xml +feedparser/tests/encoding/utf-16le.xml +feedparser/tests/encoding/utf-32be-autodetect.xml +feedparser/tests/encoding/utf-32be-bom.xml +feedparser/tests/encoding/utf-32be.xml +feedparser/tests/encoding/utf-32le-autodetect.xml +feedparser/tests/encoding/utf-32le-bom.xml +feedparser/tests/encoding/utf-32le.xml +feedparser/tests/encoding/utf-8-bom.xml +feedparser/tests/encoding/utf16.xml +feedparser/tests/encoding/utf_16.xml +feedparser/tests/encoding/utf_32.xml +feedparser/tests/encoding/x80_437.xml +feedparser/tests/encoding/x80_850.xml +feedparser/tests/encoding/x80_852.xml +feedparser/tests/encoding/x80_855.xml +feedparser/tests/encoding/x80_857.xml +feedparser/tests/encoding/x80_860.xml +feedparser/tests/encoding/x80_861.xml +feedparser/tests/encoding/x80_862.xml +feedparser/tests/encoding/x80_863.xml +feedparser/tests/encoding/x80_865.xml +feedparser/tests/encoding/x80_866.xml +feedparser/tests/encoding/x80_cp037.xml +feedparser/tests/encoding/x80_cp1125.xml +feedparser/tests/encoding/x80_cp1250.xml +feedparser/tests/encoding/x80_cp1251.xml +feedparser/tests/encoding/x80_cp1252.xml +feedparser/tests/encoding/x80_cp1253.xml +feedparser/tests/encoding/x80_cp1254.xml +feedparser/tests/encoding/x80_cp1255.xml +feedparser/tests/encoding/x80_cp1256.xml +feedparser/tests/encoding/x80_cp1257.xml +feedparser/tests/encoding/x80_cp1258.xml +feedparser/tests/encoding/x80_cp437.xml +feedparser/tests/encoding/x80_cp500.xml +feedparser/tests/encoding/x80_cp737.xml +feedparser/tests/encoding/x80_cp775.xml +feedparser/tests/encoding/x80_cp850.xml +feedparser/tests/encoding/x80_cp852.xml +feedparser/tests/encoding/x80_cp855.xml +feedparser/tests/encoding/x80_cp856.xml +feedparser/tests/encoding/x80_cp857.xml +feedparser/tests/encoding/x80_cp860.xml +feedparser/tests/encoding/x80_cp861.xml +feedparser/tests/encoding/x80_cp862.xml +feedparser/tests/encoding/x80_cp863.xml +feedparser/tests/encoding/x80_cp864.xml +feedparser/tests/encoding/x80_cp865.xml +feedparser/tests/encoding/x80_cp866.xml +feedparser/tests/encoding/x80_cp874.xml +feedparser/tests/encoding/x80_cp875.xml +feedparser/tests/encoding/x80_cp_is.xml +feedparser/tests/encoding/x80_csibm037.xml +feedparser/tests/encoding/x80_csibm500.xml +feedparser/tests/encoding/x80_csibm855.xml +feedparser/tests/encoding/x80_csibm857.xml +feedparser/tests/encoding/x80_csibm860.xml +feedparser/tests/encoding/x80_csibm861.xml +feedparser/tests/encoding/x80_csibm863.xml +feedparser/tests/encoding/x80_csibm864.xml +feedparser/tests/encoding/x80_csibm865.xml +feedparser/tests/encoding/x80_csibm866.xml +feedparser/tests/encoding/x80_cskoi8r.xml +feedparser/tests/encoding/x80_csmacintosh.xml +feedparser/tests/encoding/x80_cspc775baltic.xml +feedparser/tests/encoding/x80_cspc850multilingual.xml +feedparser/tests/encoding/x80_cspc862latinhebrew.xml +feedparser/tests/encoding/x80_cspc8codepage437.xml +feedparser/tests/encoding/x80_cspcp852.xml +feedparser/tests/encoding/x80_dbcs.xml +feedparser/tests/encoding/x80_ebcdic-cp-be.xml +feedparser/tests/encoding/x80_ebcdic-cp-ca.xml +feedparser/tests/encoding/x80_ebcdic-cp-ch.xml +feedparser/tests/encoding/x80_ebcdic-cp-nl.xml +feedparser/tests/encoding/x80_ebcdic-cp-us.xml +feedparser/tests/encoding/x80_ebcdic-cp-wt.xml +feedparser/tests/encoding/x80_ebcdic_cp_be.xml +feedparser/tests/encoding/x80_ebcdic_cp_ca.xml +feedparser/tests/encoding/x80_ebcdic_cp_ch.xml +feedparser/tests/encoding/x80_ebcdic_cp_nl.xml +feedparser/tests/encoding/x80_ebcdic_cp_us.xml +feedparser/tests/encoding/x80_ebcdic_cp_wt.xml +feedparser/tests/encoding/x80_ibm037.xml +feedparser/tests/encoding/x80_ibm039.xml +feedparser/tests/encoding/x80_ibm1140.xml +feedparser/tests/encoding/x80_ibm437.xml +feedparser/tests/encoding/x80_ibm500.xml +feedparser/tests/encoding/x80_ibm775.xml +feedparser/tests/encoding/x80_ibm850.xml +feedparser/tests/encoding/x80_ibm852.xml +feedparser/tests/encoding/x80_ibm855.xml +feedparser/tests/encoding/x80_ibm857.xml +feedparser/tests/encoding/x80_ibm860.xml +feedparser/tests/encoding/x80_ibm861.xml +feedparser/tests/encoding/x80_ibm862.xml +feedparser/tests/encoding/x80_ibm863.xml +feedparser/tests/encoding/x80_ibm864.xml +feedparser/tests/encoding/x80_ibm865.xml +feedparser/tests/encoding/x80_ibm866.xml +feedparser/tests/encoding/x80_koi8-r.xml +feedparser/tests/encoding/x80_koi8-t.xml +feedparser/tests/encoding/x80_koi8-u.xml +feedparser/tests/encoding/x80_mac-cyrillic.xml +feedparser/tests/encoding/x80_mac.xml +feedparser/tests/encoding/x80_maccentraleurope.xml +feedparser/tests/encoding/x80_maccyrillic.xml +feedparser/tests/encoding/x80_macgreek.xml +feedparser/tests/encoding/x80_maciceland.xml +feedparser/tests/encoding/x80_macintosh.xml +feedparser/tests/encoding/x80_maclatin2.xml +feedparser/tests/encoding/x80_macroman.xml +feedparser/tests/encoding/x80_macturkish.xml +feedparser/tests/encoding/x80_ms-ansi.xml +feedparser/tests/encoding/x80_ms-arab.xml +feedparser/tests/encoding/x80_ms-cyrl.xml +feedparser/tests/encoding/x80_ms-ee.xml +feedparser/tests/encoding/x80_ms-greek.xml +feedparser/tests/encoding/x80_ms-hebr.xml +feedparser/tests/encoding/x80_ms-turk.xml +feedparser/tests/encoding/x80_tcvn-5712.xml +feedparser/tests/encoding/x80_tcvn.xml +feedparser/tests/encoding/x80_tcvn5712-1.xml +feedparser/tests/encoding/x80_viscii.xml +feedparser/tests/encoding/x80_winbaltrim.xml +feedparser/tests/encoding/x80_windows-1250.xml +feedparser/tests/encoding/x80_windows-1251.xml +feedparser/tests/encoding/x80_windows-1252.xml +feedparser/tests/encoding/x80_windows-1253.xml +feedparser/tests/encoding/x80_windows-1254.xml +feedparser/tests/encoding/x80_windows-1255.xml +feedparser/tests/encoding/x80_windows-1256.xml +feedparser/tests/encoding/x80_windows-1257.xml +feedparser/tests/encoding/x80_windows-1258.xml +feedparser/tests/encoding/x80_windows_1250.xml +feedparser/tests/encoding/x80_windows_1251.xml +feedparser/tests/encoding/x80_windows_1252.xml +feedparser/tests/encoding/x80_windows_1253.xml +feedparser/tests/encoding/x80_windows_1254.xml +feedparser/tests/encoding/x80_windows_1255.xml +feedparser/tests/encoding/x80_windows_1256.xml +feedparser/tests/encoding/x80_windows_1257.xml +feedparser/tests/encoding/x80_windows_1258.xml +feedparser/tests/entities/160.xml +feedparser/tests/entities/732.xml +feedparser/tests/entities/8216.xml +feedparser/tests/entities/8217.xml +feedparser/tests/entities/8220.xml +feedparser/tests/entities/8221.xml +feedparser/tests/entities/9830.xml +feedparser/tests/entities/aacute.xml +feedparser/tests/entities/acirc.xml +feedparser/tests/entities/acute.xml +feedparser/tests/entities/aelig.xml +feedparser/tests/entities/agrave.xml +feedparser/tests/entities/alefsym.xml +feedparser/tests/entities/alpha.xml +feedparser/tests/entities/and.xml +feedparser/tests/entities/ang.xml +feedparser/tests/entities/aring.xml +feedparser/tests/entities/asymp.xml +feedparser/tests/entities/atilde.xml +feedparser/tests/entities/attr_amp.xml +feedparser/tests/entities/auml.xml +feedparser/tests/entities/bdquo.xml +feedparser/tests/entities/beta.xml +feedparser/tests/entities/brvbar.xml +feedparser/tests/entities/bull.xml +feedparser/tests/entities/cap.xml +feedparser/tests/entities/ccedil.xml +feedparser/tests/entities/cedil.xml +feedparser/tests/entities/cent.xml +feedparser/tests/entities/chi.xml +feedparser/tests/entities/circ.xml +feedparser/tests/entities/clubs.xml +feedparser/tests/entities/cong.xml +feedparser/tests/entities/copy.xml +feedparser/tests/entities/crarr.xml +feedparser/tests/entities/cup.xml +feedparser/tests/entities/curren.xml +feedparser/tests/entities/dagger.xml +feedparser/tests/entities/darr.xml +feedparser/tests/entities/deg.xml +feedparser/tests/entities/delta.xml +feedparser/tests/entities/diams.xml +feedparser/tests/entities/divide.xml +feedparser/tests/entities/doesnotexist.xml +feedparser/tests/entities/eacute.xml +feedparser/tests/entities/ecirc.xml +feedparser/tests/entities/egrave.xml +feedparser/tests/entities/empty.xml +feedparser/tests/entities/emsp.xml +feedparser/tests/entities/ensp.xml +feedparser/tests/entities/epsilon.xml +feedparser/tests/entities/equiv.xml +feedparser/tests/entities/eta.xml +feedparser/tests/entities/eth.xml +feedparser/tests/entities/euml.xml +feedparser/tests/entities/euro.xml +feedparser/tests/entities/exist.xml +feedparser/tests/entities/fnof.xml +feedparser/tests/entities/forall.xml +feedparser/tests/entities/frac12.xml +feedparser/tests/entities/frac14.xml +feedparser/tests/entities/frac34.xml +feedparser/tests/entities/frasl.xml +feedparser/tests/entities/gamma.xml +feedparser/tests/entities/ge.xml +feedparser/tests/entities/hArr.xml +feedparser/tests/entities/hearts.xml +feedparser/tests/entities/hellip.xml +feedparser/tests/entities/hex_entity_x_lowercase.xml +feedparser/tests/entities/hex_entity_x_uppercase.xml +feedparser/tests/entities/iacute.xml +feedparser/tests/entities/icirc.xml +feedparser/tests/entities/iexcl.xml +feedparser/tests/entities/igrave.xml +feedparser/tests/entities/image.xml +feedparser/tests/entities/infin.xml +feedparser/tests/entities/int.xml +feedparser/tests/entities/iota.xml +feedparser/tests/entities/iquest.xml +feedparser/tests/entities/isin.xml +feedparser/tests/entities/iuml.xml +feedparser/tests/entities/kappa.xml +feedparser/tests/entities/lArr.xml +feedparser/tests/entities/lambda.xml +feedparser/tests/entities/lang.xml +feedparser/tests/entities/laquo.xml +feedparser/tests/entities/lceil.xml +feedparser/tests/entities/ldquo.xml +feedparser/tests/entities/le.xml +feedparser/tests/entities/lfloor.xml +feedparser/tests/entities/lowast.xml +feedparser/tests/entities/loz.xml +feedparser/tests/entities/lrm.xml +feedparser/tests/entities/lsaquo.xml +feedparser/tests/entities/lsquo.xml +feedparser/tests/entities/macr.xml +feedparser/tests/entities/mdash.xml +feedparser/tests/entities/micro.xml +feedparser/tests/entities/middot.xml +feedparser/tests/entities/minus.xml +feedparser/tests/entities/mu.xml +feedparser/tests/entities/nabla.xml +feedparser/tests/entities/nbsp.xml +feedparser/tests/entities/ndash.xml +feedparser/tests/entities/ne.xml +feedparser/tests/entities/ni.xml +feedparser/tests/entities/not.xml +feedparser/tests/entities/notin.xml +feedparser/tests/entities/nsub.xml +feedparser/tests/entities/ntilde.xml +feedparser/tests/entities/nu.xml +feedparser/tests/entities/oacute.xml +feedparser/tests/entities/ocirc.xml +feedparser/tests/entities/oelig.xml +feedparser/tests/entities/ograve.xml +feedparser/tests/entities/oline.xml +feedparser/tests/entities/omega.xml +feedparser/tests/entities/omicron.xml +feedparser/tests/entities/oplus.xml +feedparser/tests/entities/or.xml +feedparser/tests/entities/ordf.xml +feedparser/tests/entities/ordm.xml +feedparser/tests/entities/oslash.xml +feedparser/tests/entities/otilde.xml +feedparser/tests/entities/otimes.xml +feedparser/tests/entities/ouml.xml +feedparser/tests/entities/para.xml +feedparser/tests/entities/part.xml +feedparser/tests/entities/permil.xml +feedparser/tests/entities/perp.xml +feedparser/tests/entities/phi.xml +feedparser/tests/entities/pi.xml +feedparser/tests/entities/piv.xml +feedparser/tests/entities/plusmn.xml +feedparser/tests/entities/pound.xml +feedparser/tests/entities/prime.xml +feedparser/tests/entities/prod.xml +feedparser/tests/entities/prop.xml +feedparser/tests/entities/psi.xml +feedparser/tests/entities/query_variable_entry.xml +feedparser/tests/entities/query_variable_feed.xml +feedparser/tests/entities/radic.xml +feedparser/tests/entities/rang.xml +feedparser/tests/entities/raquo.xml +feedparser/tests/entities/rarr.xml +feedparser/tests/entities/rceil.xml +feedparser/tests/entities/rdquo.xml +feedparser/tests/entities/real.xml +feedparser/tests/entities/reg.xml +feedparser/tests/entities/rfloor.xml +feedparser/tests/entities/rho.xml +feedparser/tests/entities/rlm.xml +feedparser/tests/entities/rsaquo.xml +feedparser/tests/entities/rsquo.xml +feedparser/tests/entities/sbquo.xml +feedparser/tests/entities/scaron.xml +feedparser/tests/entities/sdot.xml +feedparser/tests/entities/sect.xml +feedparser/tests/entities/shy.xml +feedparser/tests/entities/sigma.xml +feedparser/tests/entities/sigmaf.xml +feedparser/tests/entities/sim.xml +feedparser/tests/entities/spades.xml +feedparser/tests/entities/sub.xml +feedparser/tests/entities/sube.xml +feedparser/tests/entities/sum.xml +feedparser/tests/entities/sup.xml +feedparser/tests/entities/sup1.xml +feedparser/tests/entities/sup2.xml +feedparser/tests/entities/sup3.xml +feedparser/tests/entities/supe.xml +feedparser/tests/entities/szlig.xml +feedparser/tests/entities/tau.xml +feedparser/tests/entities/there4.xml +feedparser/tests/entities/theta.xml +feedparser/tests/entities/thetasym.xml +feedparser/tests/entities/thinsp.xml +feedparser/tests/entities/thorn.xml +feedparser/tests/entities/tilde.xml +feedparser/tests/entities/times.xml +feedparser/tests/entities/trade.xml +feedparser/tests/entities/uacute.xml +feedparser/tests/entities/uarr.xml +feedparser/tests/entities/ucirc.xml +feedparser/tests/entities/ugrave.xml +feedparser/tests/entities/uml.xml +feedparser/tests/entities/upper_AElig.xml +feedparser/tests/entities/upper_Aacute.xml +feedparser/tests/entities/upper_Acirc.xml +feedparser/tests/entities/upper_Agrave.xml +feedparser/tests/entities/upper_Alpha.xml +feedparser/tests/entities/upper_Aring.xml +feedparser/tests/entities/upper_Atilde.xml +feedparser/tests/entities/upper_Auml.xml +feedparser/tests/entities/upper_Beta.xml +feedparser/tests/entities/upper_Ccedil.xml +feedparser/tests/entities/upper_Chi.xml +feedparser/tests/entities/upper_Dagger.xml +feedparser/tests/entities/upper_Delta.xml +feedparser/tests/entities/upper_ETH.xml +feedparser/tests/entities/upper_Eacute.xml +feedparser/tests/entities/upper_Ecirc.xml +feedparser/tests/entities/upper_Egrave.xml +feedparser/tests/entities/upper_Epsilon.xml +feedparser/tests/entities/upper_Eta.xml +feedparser/tests/entities/upper_Euml.xml +feedparser/tests/entities/upper_Gamma.xml +feedparser/tests/entities/upper_Iacute.xml +feedparser/tests/entities/upper_Icirc.xml +feedparser/tests/entities/upper_Igrave.xml +feedparser/tests/entities/upper_Iota.xml +feedparser/tests/entities/upper_Iuml.xml +feedparser/tests/entities/upper_Kappa.xml +feedparser/tests/entities/upper_Lambda.xml +feedparser/tests/entities/upper_Mu.xml +feedparser/tests/entities/upper_Ntilde.xml +feedparser/tests/entities/upper_Nu.xml +feedparser/tests/entities/upper_OElig.xml +feedparser/tests/entities/upper_Oacute.xml +feedparser/tests/entities/upper_Ocirc.xml +feedparser/tests/entities/upper_Ograve.xml +feedparser/tests/entities/upper_Omega.xml +feedparser/tests/entities/upper_Omicron.xml +feedparser/tests/entities/upper_Oslash.xml +feedparser/tests/entities/upper_Otilde.xml +feedparser/tests/entities/upper_Ouml.xml +feedparser/tests/entities/upper_Phi.xml +feedparser/tests/entities/upper_Pi.xml +feedparser/tests/entities/upper_Prime.xml +feedparser/tests/entities/upper_Psi.xml +feedparser/tests/entities/upper_Rho.xml +feedparser/tests/entities/upper_Scaron.xml +feedparser/tests/entities/upper_Sigma.xml +feedparser/tests/entities/upper_THORN.xml +feedparser/tests/entities/upper_Tau.xml +feedparser/tests/entities/upper_Theta.xml +feedparser/tests/entities/upper_Uacute.xml +feedparser/tests/entities/upper_Ucirc.xml +feedparser/tests/entities/upper_Ugrave.xml +feedparser/tests/entities/upper_Upsilon.xml +feedparser/tests/entities/upper_Uuml.xml +feedparser/tests/entities/upper_Xi.xml +feedparser/tests/entities/upper_Yacute.xml +feedparser/tests/entities/upper_Yuml.xml +feedparser/tests/entities/upper_Zeta.xml +feedparser/tests/entities/upsih.xml +feedparser/tests/entities/upsilon.xml +feedparser/tests/entities/uuml.xml +feedparser/tests/entities/weierp.xml +feedparser/tests/entities/xi.xml +feedparser/tests/entities/yacute.xml +feedparser/tests/entities/yen.xml +feedparser/tests/entities/yuml.xml +feedparser/tests/entities/zeta.xml +feedparser/tests/entities/zwj.xml +feedparser/tests/entities/zwnj.xml +feedparser/tests/http/http_redirect_to_304.xml +feedparser/tests/http/http_status_301.xml +feedparser/tests/http/http_status_302.xml +feedparser/tests/http/http_status_303.xml +feedparser/tests/http/http_status_304.xml +feedparser/tests/http/http_status_307.xml +feedparser/tests/http/http_status_404.xml +feedparser/tests/http/http_status_9001.xml +feedparser/tests/http/target.xml +feedparser/tests/illformed/aaa_illformed.xml +feedparser/tests/illformed/always_strip_doctype.xml +feedparser/tests/illformed/http_high_bit_date.xml +feedparser/tests/illformed/non-ascii-tag.xml +feedparser/tests/illformed/rdf_channel_empty_textinput.xml +feedparser/tests/illformed/rss_empty_document.xml +feedparser/tests/illformed/rss_incomplete_cdata.xml +feedparser/tests/illformed/undeclared_namespace.xml +feedparser/tests/illformed/chardet/big5.xml +feedparser/tests/illformed/chardet/eucjp.xml +feedparser/tests/illformed/chardet/euckr.xml +feedparser/tests/illformed/chardet/gb2312.xml +feedparser/tests/illformed/chardet/koi8r.xml +feedparser/tests/illformed/chardet/shiftjis.xml +feedparser/tests/illformed/chardet/tis620.xml +feedparser/tests/illformed/chardet/windows1255.xml +feedparser/tests/microformats/hcard/2-4-2-vcard.xml +feedparser/tests/microformats/hcard/3-1-1-fn-unicode-char.xml +feedparser/tests/microformats/hcard/3-1-1-fn.xml +feedparser/tests/microformats/hcard/3-1-2-n-2-plural.xml +feedparser/tests/microformats/hcard/3-1-2-n-2-singular.xml +feedparser/tests/microformats/hcard/3-1-2-n-plural.xml +feedparser/tests/microformats/hcard/3-1-2-n-singular.xml +feedparser/tests/microformats/hcard/3-1-3-nickname-2-plural.xml +feedparser/tests/microformats/hcard/3-1-3-nickname-2-singular.xml +feedparser/tests/microformats/hcard/3-1-3-nickname.xml +feedparser/tests/microformats/hcard/3-1-4-photo-inline.xml +feedparser/tests/microformats/hcard/3-1-4-photo.xml +feedparser/tests/microformats/hcard/3-1-5-bday-2.xml +feedparser/tests/microformats/hcard/3-1-5-bday-3.xml +feedparser/tests/microformats/hcard/3-1-5-bday.xml +feedparser/tests/microformats/hcard/3-2-1-adr.xml +feedparser/tests/microformats/hcard/3-2-2-label.xml +feedparser/tests/microformats/hcard/3-3-1-tel.xml +feedparser/tests/microformats/hcard/3-3-2-email-2.xml +feedparser/tests/microformats/hcard/3-3-2-email-3.xml +feedparser/tests/microformats/hcard/3-3-2-email.xml +feedparser/tests/microformats/hcard/3-3-3-mailer.xml +feedparser/tests/microformats/hcard/3-4-1-tz-2.xml +feedparser/tests/microformats/hcard/3-4-1-tz.xml +feedparser/tests/microformats/hcard/3-4-2-geo.xml +feedparser/tests/microformats/hcard/3-5-1-title.xml +feedparser/tests/microformats/hcard/3-5-2-role.xml +feedparser/tests/microformats/hcard/3-5-3-logo-2.xml +feedparser/tests/microformats/hcard/3-5-3-logo.xml +feedparser/tests/microformats/hcard/3-5-4-agent-2.xml +feedparser/tests/microformats/hcard/3-5-4-agent.xml +feedparser/tests/microformats/hcard/3-5-5-org.xml +feedparser/tests/microformats/hcard/3-6-1-categories-2-plural.xml +feedparser/tests/microformats/hcard/3-6-1-categories-2-singular.xml +feedparser/tests/microformats/hcard/3-6-1-categories.xml +feedparser/tests/microformats/hcard/3-6-2-note.xml +feedparser/tests/microformats/hcard/3-6-4-rev-2.xml +feedparser/tests/microformats/hcard/3-6-4-rev.xml +feedparser/tests/microformats/hcard/3-6-5-sort-string-2.xml +feedparser/tests/microformats/hcard/3-6-5-sort-string-3.xml +feedparser/tests/microformats/hcard/3-6-5-sort-string-4.xml +feedparser/tests/microformats/hcard/3-6-5-sort-string-5.xml +feedparser/tests/microformats/hcard/3-6-5-sort-string.xml +feedparser/tests/microformats/hcard/3-6-6-sound-2.xml +feedparser/tests/microformats/hcard/3-6-6-sound.xml +feedparser/tests/microformats/hcard/3-6-7-uid.xml +feedparser/tests/microformats/hcard/3-6-8-url.xml +feedparser/tests/microformats/hcard/3-7-1-class-2.xml +feedparser/tests/microformats/hcard/3-7-1-class-3.xml +feedparser/tests/microformats/hcard/3-7-1-class.xml +feedparser/tests/microformats/hcard/3-7-2-key.xml +feedparser/tests/microformats/hcard/7-authors.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_avi.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_bin.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_bz2.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_deb.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_dmg.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_exe.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_gz.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_hqx.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_img.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_iso.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_jar.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_m4a.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_m4v.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_mp2.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_mp3.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_mp4.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_msi.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_ogg.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_rar.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_rpm.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_sit.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_sitx.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_tar.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_tbz2.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_tgz.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_wma.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_wmv.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_z.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_zip.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_type_application_ogg.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_type_audio.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_type_video.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_invalid.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_no_autodetect.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_no_autodetect_xml.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_title.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_title_from_link_text.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_title_overrides_link_text.xml +feedparser/tests/microformats/rel_enclosure/rel_enclosure_type.xml +feedparser/tests/microformats/rel_tag/rel_tag_duplicate.xml +feedparser/tests/microformats/rel_tag/rel_tag_label.xml +feedparser/tests/microformats/rel_tag/rel_tag_scheme.xml +feedparser/tests/microformats/rel_tag/rel_tag_term.xml +feedparser/tests/microformats/rel_tag/rel_tag_term_trailing_slash.xml +feedparser/tests/microformats/xfn/xfn_acquaintance.xml +feedparser/tests/microformats/xfn/xfn_brother.xml +feedparser/tests/microformats/xfn/xfn_child.xml +feedparser/tests/microformats/xfn/xfn_co-resident.xml +feedparser/tests/microformats/xfn/xfn_co-worker.xml +feedparser/tests/microformats/xfn/xfn_colleague.xml +feedparser/tests/microformats/xfn/xfn_contact.xml +feedparser/tests/microformats/xfn/xfn_coresident.xml +feedparser/tests/microformats/xfn/xfn_coworker.xml +feedparser/tests/microformats/xfn/xfn_crush.xml +feedparser/tests/microformats/xfn/xfn_date.xml +feedparser/tests/microformats/xfn/xfn_friend.xml +feedparser/tests/microformats/xfn/xfn_href.xml +feedparser/tests/microformats/xfn/xfn_husband.xml +feedparser/tests/microformats/xfn/xfn_kin.xml +feedparser/tests/microformats/xfn/xfn_me.xml +feedparser/tests/microformats/xfn/xfn_met.xml +feedparser/tests/microformats/xfn/xfn_multiple.xml +feedparser/tests/microformats/xfn/xfn_muse.xml +feedparser/tests/microformats/xfn/xfn_name.xml +feedparser/tests/microformats/xfn/xfn_neighbor.xml +feedparser/tests/microformats/xfn/xfn_parent.xml +feedparser/tests/microformats/xfn/xfn_relative.xml +feedparser/tests/microformats/xfn/xfn_sibling.xml +feedparser/tests/microformats/xfn/xfn_sister.xml +feedparser/tests/microformats/xfn/xfn_spouse.xml +feedparser/tests/microformats/xfn/xfn_sweetheart.xml +feedparser/tests/microformats/xfn/xfn_wife.xml +feedparser/tests/wellformed/amp/amp01.xml +feedparser/tests/wellformed/amp/amp02.xml +feedparser/tests/wellformed/amp/amp03.xml +feedparser/tests/wellformed/amp/amp04.xml +feedparser/tests/wellformed/amp/amp05.xml +feedparser/tests/wellformed/amp/amp06.xml +feedparser/tests/wellformed/amp/amp07.xml +feedparser/tests/wellformed/amp/amp08.xml +feedparser/tests/wellformed/amp/amp09.xml +feedparser/tests/wellformed/amp/amp10.xml +feedparser/tests/wellformed/amp/amp11.xml +feedparser/tests/wellformed/amp/amp12.xml +feedparser/tests/wellformed/amp/amp13.xml +feedparser/tests/wellformed/amp/amp14.xml +feedparser/tests/wellformed/amp/amp15.xml +feedparser/tests/wellformed/amp/amp16.xml +feedparser/tests/wellformed/amp/amp17.xml +feedparser/tests/wellformed/amp/amp18.xml +feedparser/tests/wellformed/amp/amp19.xml +feedparser/tests/wellformed/amp/amp20.xml +feedparser/tests/wellformed/amp/amp21.xml +feedparser/tests/wellformed/amp/amp22.xml +feedparser/tests/wellformed/amp/amp23.xml +feedparser/tests/wellformed/amp/amp24.xml +feedparser/tests/wellformed/amp/amp25.xml +feedparser/tests/wellformed/amp/amp26.xml +feedparser/tests/wellformed/amp/amp27.xml +feedparser/tests/wellformed/amp/amp28.xml +feedparser/tests/wellformed/amp/amp29.xml +feedparser/tests/wellformed/amp/amp30.xml +feedparser/tests/wellformed/amp/amp31.xml +feedparser/tests/wellformed/amp/amp32.xml +feedparser/tests/wellformed/amp/amp33.xml +feedparser/tests/wellformed/amp/amp34.xml +feedparser/tests/wellformed/amp/amp35.xml +feedparser/tests/wellformed/amp/amp36.xml +feedparser/tests/wellformed/amp/amp37.xml +feedparser/tests/wellformed/amp/amp38.xml +feedparser/tests/wellformed/amp/amp39.xml +feedparser/tests/wellformed/amp/amp40.xml +feedparser/tests/wellformed/amp/amp41.xml +feedparser/tests/wellformed/amp/amp42.xml +feedparser/tests/wellformed/amp/amp43.xml +feedparser/tests/wellformed/amp/amp44.xml +feedparser/tests/wellformed/amp/amp45.xml +feedparser/tests/wellformed/amp/amp46.xml +feedparser/tests/wellformed/amp/amp47.xml +feedparser/tests/wellformed/amp/amp48.xml +feedparser/tests/wellformed/amp/amp49.xml +feedparser/tests/wellformed/amp/amp50.xml +feedparser/tests/wellformed/amp/amp51.xml +feedparser/tests/wellformed/amp/amp52.xml +feedparser/tests/wellformed/amp/amp53.xml +feedparser/tests/wellformed/amp/amp54.xml +feedparser/tests/wellformed/amp/amp55.xml +feedparser/tests/wellformed/amp/amp56.xml +feedparser/tests/wellformed/amp/amp57.xml +feedparser/tests/wellformed/amp/amp58.xml +feedparser/tests/wellformed/amp/amp59.xml +feedparser/tests/wellformed/amp/amp60.xml +feedparser/tests/wellformed/amp/amp61.xml +feedparser/tests/wellformed/amp/amp62.xml +feedparser/tests/wellformed/amp/amp63.xml +feedparser/tests/wellformed/amp/amp64.xml +feedparser/tests/wellformed/amp/attr01.xml +feedparser/tests/wellformed/amp/attr02.xml +feedparser/tests/wellformed/amp/attr03.xml +feedparser/tests/wellformed/amp/attr04.xml +feedparser/tests/wellformed/amp/attr05.xml +feedparser/tests/wellformed/amp/attr06.xml +feedparser/tests/wellformed/atom/atom_namespace_1.xml +feedparser/tests/wellformed/atom/atom_namespace_2.xml +feedparser/tests/wellformed/atom/atom_namespace_3.xml +feedparser/tests/wellformed/atom/atom_namespace_4.xml +feedparser/tests/wellformed/atom/atom_namespace_5.xml +feedparser/tests/wellformed/atom/entry_author_email.xml +feedparser/tests/wellformed/atom/entry_author_homepage.xml +feedparser/tests/wellformed/atom/entry_author_map_author.xml +feedparser/tests/wellformed/atom/entry_author_map_author_2.xml +feedparser/tests/wellformed/atom/entry_author_name.xml +feedparser/tests/wellformed/atom/entry_author_uri.xml +feedparser/tests/wellformed/atom/entry_author_url.xml +feedparser/tests/wellformed/atom/entry_content_mode_base64.xml +feedparser/tests/wellformed/atom/entry_content_mode_escaped.xml +feedparser/tests/wellformed/atom/entry_content_type.xml +feedparser/tests/wellformed/atom/entry_content_type_text_plain.xml +feedparser/tests/wellformed/atom/entry_content_value.xml +feedparser/tests/wellformed/atom/entry_contributor_email.xml +feedparser/tests/wellformed/atom/entry_contributor_homepage.xml +feedparser/tests/wellformed/atom/entry_contributor_multiple.xml +feedparser/tests/wellformed/atom/entry_contributor_name.xml +feedparser/tests/wellformed/atom/entry_contributor_uri.xml +feedparser/tests/wellformed/atom/entry_contributor_url.xml +feedparser/tests/wellformed/atom/entry_created.xml +feedparser/tests/wellformed/atom/entry_created_multiple_values.xml +feedparser/tests/wellformed/atom/entry_created_parsed.xml +feedparser/tests/wellformed/atom/entry_id.xml +feedparser/tests/wellformed/atom/entry_id_map_guid.xml +feedparser/tests/wellformed/atom/entry_issued.xml +feedparser/tests/wellformed/atom/entry_issued_parsed.xml +feedparser/tests/wellformed/atom/entry_link_alternate_map_link.xml +feedparser/tests/wellformed/atom/entry_link_alternate_map_link_2.xml +feedparser/tests/wellformed/atom/entry_link_href.xml +feedparser/tests/wellformed/atom/entry_link_multiple.xml +feedparser/tests/wellformed/atom/entry_link_rel.xml +feedparser/tests/wellformed/atom/entry_link_title.xml +feedparser/tests/wellformed/atom/entry_link_type.xml +feedparser/tests/wellformed/atom/entry_modified.xml +feedparser/tests/wellformed/atom/entry_modified_map_updated_parsed.xml +feedparser/tests/wellformed/atom/entry_published_parsed.xml +feedparser/tests/wellformed/atom/entry_published_parsed_date_overwriting.xml +feedparser/tests/wellformed/atom/entry_source_updated_parsed.xml +feedparser/tests/wellformed/atom/entry_summary.xml +feedparser/tests/wellformed/atom/entry_summary_base64.xml +feedparser/tests/wellformed/atom/entry_summary_base64_2.xml +feedparser/tests/wellformed/atom/entry_summary_content_mode_base64.xml +feedparser/tests/wellformed/atom/entry_summary_content_mode_escaped.xml +feedparser/tests/wellformed/atom/entry_summary_content_type.xml +feedparser/tests/wellformed/atom/entry_summary_content_type_text_plain.xml +feedparser/tests/wellformed/atom/entry_summary_content_value.xml +feedparser/tests/wellformed/atom/entry_summary_escaped_markup.xml +feedparser/tests/wellformed/atom/entry_summary_inline_markup.xml +feedparser/tests/wellformed/atom/entry_summary_inline_markup_2.xml +feedparser/tests/wellformed/atom/entry_summary_naked_markup.xml +feedparser/tests/wellformed/atom/entry_summary_text_plain.xml +feedparser/tests/wellformed/atom/entry_title.xml +feedparser/tests/wellformed/atom/entry_title_base64.xml +feedparser/tests/wellformed/atom/entry_title_base64_2.xml +feedparser/tests/wellformed/atom/entry_title_content_mode_base64.xml +feedparser/tests/wellformed/atom/entry_title_content_mode_escaped.xml +feedparser/tests/wellformed/atom/entry_title_content_type.xml +feedparser/tests/wellformed/atom/entry_title_content_type_text_plain.xml +feedparser/tests/wellformed/atom/entry_title_content_value.xml +feedparser/tests/wellformed/atom/entry_title_escaped_markup.xml +feedparser/tests/wellformed/atom/entry_title_inline_markup.xml +feedparser/tests/wellformed/atom/entry_title_inline_markup_2.xml +feedparser/tests/wellformed/atom/entry_title_naked_markup.xml +feedparser/tests/wellformed/atom/entry_title_text_plain.xml +feedparser/tests/wellformed/atom/entry_title_text_plain_brackets.xml +feedparser/tests/wellformed/atom/entry_updated_multiple_values.xml +feedparser/tests/wellformed/atom/entry_updated_parsed.xml +feedparser/tests/wellformed/atom/feed_author_email.xml +feedparser/tests/wellformed/atom/feed_author_homepage.xml +feedparser/tests/wellformed/atom/feed_author_map_author.xml +feedparser/tests/wellformed/atom/feed_author_map_author_2.xml +feedparser/tests/wellformed/atom/feed_author_name.xml +feedparser/tests/wellformed/atom/feed_author_uri.xml +feedparser/tests/wellformed/atom/feed_author_url.xml +feedparser/tests/wellformed/atom/feed_contributor_email.xml +feedparser/tests/wellformed/atom/feed_contributor_homepage.xml +feedparser/tests/wellformed/atom/feed_contributor_multiple.xml +feedparser/tests/wellformed/atom/feed_contributor_name.xml +feedparser/tests/wellformed/atom/feed_contributor_uri.xml +feedparser/tests/wellformed/atom/feed_contributor_url.xml +feedparser/tests/wellformed/atom/feed_copyright.xml +feedparser/tests/wellformed/atom/feed_copyright_base64.xml +feedparser/tests/wellformed/atom/feed_copyright_base64_2.xml +feedparser/tests/wellformed/atom/feed_copyright_content_mode_base64.xml +feedparser/tests/wellformed/atom/feed_copyright_content_mode_escaped.xml +feedparser/tests/wellformed/atom/feed_copyright_content_type.xml +feedparser/tests/wellformed/atom/feed_copyright_content_type_text_plain.xml +feedparser/tests/wellformed/atom/feed_copyright_content_value.xml +feedparser/tests/wellformed/atom/feed_copyright_escaped_markup.xml +feedparser/tests/wellformed/atom/feed_copyright_inline_markup.xml +feedparser/tests/wellformed/atom/feed_copyright_inline_markup_2.xml +feedparser/tests/wellformed/atom/feed_copyright_naked_markup.xml +feedparser/tests/wellformed/atom/feed_copyright_text_plain.xml +feedparser/tests/wellformed/atom/feed_generator.xml +feedparser/tests/wellformed/atom/feed_generator_name.xml +feedparser/tests/wellformed/atom/feed_generator_url.xml +feedparser/tests/wellformed/atom/feed_generator_version.xml +feedparser/tests/wellformed/atom/feed_id.xml +feedparser/tests/wellformed/atom/feed_id_map_guid.xml +feedparser/tests/wellformed/atom/feed_info.xml +feedparser/tests/wellformed/atom/feed_info_base64.xml +feedparser/tests/wellformed/atom/feed_info_base64_2.xml +feedparser/tests/wellformed/atom/feed_info_content_mode_base64.xml +feedparser/tests/wellformed/atom/feed_info_content_mode_escaped.xml +feedparser/tests/wellformed/atom/feed_info_content_type.xml +feedparser/tests/wellformed/atom/feed_info_content_type_text_plain.xml +feedparser/tests/wellformed/atom/feed_info_content_value.xml +feedparser/tests/wellformed/atom/feed_info_escaped_markup.xml +feedparser/tests/wellformed/atom/feed_info_inline_markup.xml +feedparser/tests/wellformed/atom/feed_info_inline_markup_2.xml +feedparser/tests/wellformed/atom/feed_info_naked_markup.xml +feedparser/tests/wellformed/atom/feed_info_text_plain.xml +feedparser/tests/wellformed/atom/feed_link_alternate_map_link.xml +feedparser/tests/wellformed/atom/feed_link_alternate_map_link_2.xml +feedparser/tests/wellformed/atom/feed_link_href.xml +feedparser/tests/wellformed/atom/feed_link_multiple.xml +feedparser/tests/wellformed/atom/feed_link_rel.xml +feedparser/tests/wellformed/atom/feed_link_title.xml +feedparser/tests/wellformed/atom/feed_link_type.xml +feedparser/tests/wellformed/atom/feed_modified.xml +feedparser/tests/wellformed/atom/feed_modified_map_updated_parsed.xml +feedparser/tests/wellformed/atom/feed_tagline.xml +feedparser/tests/wellformed/atom/feed_tagline_base64.xml +feedparser/tests/wellformed/atom/feed_tagline_base64_2.xml +feedparser/tests/wellformed/atom/feed_tagline_content_mode_base64.xml +feedparser/tests/wellformed/atom/feed_tagline_content_mode_escaped.xml +feedparser/tests/wellformed/atom/feed_tagline_content_type.xml +feedparser/tests/wellformed/atom/feed_tagline_content_type_text_plain.xml +feedparser/tests/wellformed/atom/feed_tagline_content_value.xml +feedparser/tests/wellformed/atom/feed_tagline_escaped_markup.xml +feedparser/tests/wellformed/atom/feed_tagline_inline_markup.xml +feedparser/tests/wellformed/atom/feed_tagline_inline_markup_2.xml +feedparser/tests/wellformed/atom/feed_tagline_naked_markup.xml +feedparser/tests/wellformed/atom/feed_tagline_text_plain.xml +feedparser/tests/wellformed/atom/feed_title.xml +feedparser/tests/wellformed/atom/feed_title_base64.xml +feedparser/tests/wellformed/atom/feed_title_base64_2.xml +feedparser/tests/wellformed/atom/feed_title_content_mode_base64.xml +feedparser/tests/wellformed/atom/feed_title_content_mode_escaped.xml +feedparser/tests/wellformed/atom/feed_title_content_type.xml +feedparser/tests/wellformed/atom/feed_title_content_type_text_plain.xml +feedparser/tests/wellformed/atom/feed_title_content_value.xml +feedparser/tests/wellformed/atom/feed_title_escaped_markup.xml +feedparser/tests/wellformed/atom/feed_title_inline_markup.xml +feedparser/tests/wellformed/atom/feed_title_inline_markup_2.xml +feedparser/tests/wellformed/atom/feed_title_naked_markup.xml +feedparser/tests/wellformed/atom/feed_title_text_plain.xml +feedparser/tests/wellformed/atom/feed_updated_parsed.xml +feedparser/tests/wellformed/atom/media_player1.xml +feedparser/tests/wellformed/atom/media_thumbnail.xml +feedparser/tests/wellformed/atom/relative_uri.xml +feedparser/tests/wellformed/atom/relative_uri_inherit.xml +feedparser/tests/wellformed/atom/relative_uri_inherit_2.xml +feedparser/tests/wellformed/atom10/ampersand_in_attr.xml +feedparser/tests/wellformed/atom10/atom10_namespace.xml +feedparser/tests/wellformed/atom10/atom10_version.xml +feedparser/tests/wellformed/atom10/entry_author_email.xml +feedparser/tests/wellformed/atom10/entry_author_map_author.xml +feedparser/tests/wellformed/atom10/entry_author_map_author_2.xml +feedparser/tests/wellformed/atom10/entry_author_name.xml +feedparser/tests/wellformed/atom10/entry_author_uri.xml +feedparser/tests/wellformed/atom10/entry_author_url.xml +feedparser/tests/wellformed/atom10/entry_authors_email.xml +feedparser/tests/wellformed/atom10/entry_authors_name.xml +feedparser/tests/wellformed/atom10/entry_authors_uri.xml +feedparser/tests/wellformed/atom10/entry_authors_url.xml +feedparser/tests/wellformed/atom10/entry_category_label.xml +feedparser/tests/wellformed/atom10/entry_category_scheme.xml +feedparser/tests/wellformed/atom10/entry_category_term.xml +feedparser/tests/wellformed/atom10/entry_category_term_non_ascii.xml +feedparser/tests/wellformed/atom10/entry_content_application_xml.xml +feedparser/tests/wellformed/atom10/entry_content_base64.xml +feedparser/tests/wellformed/atom10/entry_content_base64_2.xml +feedparser/tests/wellformed/atom10/entry_content_div_escaped_markup.xml +feedparser/tests/wellformed/atom10/entry_content_escaped_markup.xml +feedparser/tests/wellformed/atom10/entry_content_inline_markup.xml +feedparser/tests/wellformed/atom10/entry_content_inline_markup_2.xml +feedparser/tests/wellformed/atom10/entry_content_src.xml +feedparser/tests/wellformed/atom10/entry_content_text_plain.xml +feedparser/tests/wellformed/atom10/entry_content_text_plain_brackets.xml +feedparser/tests/wellformed/atom10/entry_content_type.xml +feedparser/tests/wellformed/atom10/entry_content_type_text.xml +feedparser/tests/wellformed/atom10/entry_content_value.xml +feedparser/tests/wellformed/atom10/entry_contributor_email.xml +feedparser/tests/wellformed/atom10/entry_contributor_multiple.xml +feedparser/tests/wellformed/atom10/entry_contributor_name.xml +feedparser/tests/wellformed/atom10/entry_contributor_uri.xml +feedparser/tests/wellformed/atom10/entry_contributor_url.xml +feedparser/tests/wellformed/atom10/entry_id.xml +feedparser/tests/wellformed/atom10/entry_id_map_guid.xml +feedparser/tests/wellformed/atom10/entry_id_no_normalization_1.xml +feedparser/tests/wellformed/atom10/entry_id_no_normalization_2.xml +feedparser/tests/wellformed/atom10/entry_id_no_normalization_3.xml +feedparser/tests/wellformed/atom10/entry_id_no_normalization_4.xml +feedparser/tests/wellformed/atom10/entry_id_no_normalization_5.xml +feedparser/tests/wellformed/atom10/entry_id_no_normalization_6.xml +feedparser/tests/wellformed/atom10/entry_id_no_normalization_7.xml +feedparser/tests/wellformed/atom10/entry_id_with_attributes.xml +feedparser/tests/wellformed/atom10/entry_link_alternate_map_link.xml +feedparser/tests/wellformed/atom10/entry_link_alternate_map_link_2.xml +feedparser/tests/wellformed/atom10/entry_link_alternate_map_link_3.xml +feedparser/tests/wellformed/atom10/entry_link_href.xml +feedparser/tests/wellformed/atom10/entry_link_hreflang.xml +feedparser/tests/wellformed/atom10/entry_link_length.xml +feedparser/tests/wellformed/atom10/entry_link_multiple.xml +feedparser/tests/wellformed/atom10/entry_link_no_rel.xml +feedparser/tests/wellformed/atom10/entry_link_rel.xml +feedparser/tests/wellformed/atom10/entry_link_rel_enclosure.xml +feedparser/tests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_length.xml +feedparser/tests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_type.xml +feedparser/tests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_url.xml +feedparser/tests/wellformed/atom10/entry_link_rel_license.xml +feedparser/tests/wellformed/atom10/entry_link_rel_other.xml +feedparser/tests/wellformed/atom10/entry_link_rel_related.xml +feedparser/tests/wellformed/atom10/entry_link_rel_self.xml +feedparser/tests/wellformed/atom10/entry_link_rel_via.xml +feedparser/tests/wellformed/atom10/entry_link_title.xml +feedparser/tests/wellformed/atom10/entry_link_type.xml +feedparser/tests/wellformed/atom10/entry_rights.xml +feedparser/tests/wellformed/atom10/entry_rights_content_value.xml +feedparser/tests/wellformed/atom10/entry_rights_escaped_markup.xml +feedparser/tests/wellformed/atom10/entry_rights_inline_markup.xml +feedparser/tests/wellformed/atom10/entry_rights_inline_markup_2.xml +feedparser/tests/wellformed/atom10/entry_rights_text_plain.xml +feedparser/tests/wellformed/atom10/entry_rights_text_plain_brackets.xml +feedparser/tests/wellformed/atom10/entry_rights_type_default.xml +feedparser/tests/wellformed/atom10/entry_rights_type_text.xml +feedparser/tests/wellformed/atom10/entry_source_author_email.xml +feedparser/tests/wellformed/atom10/entry_source_author_map_author.xml +feedparser/tests/wellformed/atom10/entry_source_author_map_author_2.xml +feedparser/tests/wellformed/atom10/entry_source_author_name.xml +feedparser/tests/wellformed/atom10/entry_source_author_uri.xml +feedparser/tests/wellformed/atom10/entry_source_authors_email.xml +feedparser/tests/wellformed/atom10/entry_source_authors_name.xml +feedparser/tests/wellformed/atom10/entry_source_authors_uri.xml +feedparser/tests/wellformed/atom10/entry_source_authors_url.xml +feedparser/tests/wellformed/atom10/entry_source_category_label.xml +feedparser/tests/wellformed/atom10/entry_source_category_scheme.xml +feedparser/tests/wellformed/atom10/entry_source_category_term.xml +feedparser/tests/wellformed/atom10/entry_source_category_term_non_ascii.xml +feedparser/tests/wellformed/atom10/entry_source_contributor_email.xml +feedparser/tests/wellformed/atom10/entry_source_contributor_multiple.xml +feedparser/tests/wellformed/atom10/entry_source_contributor_name.xml +feedparser/tests/wellformed/atom10/entry_source_contributor_uri.xml +feedparser/tests/wellformed/atom10/entry_source_generator.xml +feedparser/tests/wellformed/atom10/entry_source_generator_name.xml +feedparser/tests/wellformed/atom10/entry_source_generator_uri.xml +feedparser/tests/wellformed/atom10/entry_source_generator_version.xml +feedparser/tests/wellformed/atom10/entry_source_icon.xml +feedparser/tests/wellformed/atom10/entry_source_id.xml +feedparser/tests/wellformed/atom10/entry_source_link_alternate_map_link.xml +feedparser/tests/wellformed/atom10/entry_source_link_alternate_map_link_2.xml +feedparser/tests/wellformed/atom10/entry_source_link_href.xml +feedparser/tests/wellformed/atom10/entry_source_link_hreflang.xml +feedparser/tests/wellformed/atom10/entry_source_link_length.xml +feedparser/tests/wellformed/atom10/entry_source_link_multiple.xml +feedparser/tests/wellformed/atom10/entry_source_link_no_rel.xml +feedparser/tests/wellformed/atom10/entry_source_link_rel.xml +feedparser/tests/wellformed/atom10/entry_source_link_rel_other.xml +feedparser/tests/wellformed/atom10/entry_source_link_rel_related.xml +feedparser/tests/wellformed/atom10/entry_source_link_rel_self.xml +feedparser/tests/wellformed/atom10/entry_source_link_rel_via.xml +feedparser/tests/wellformed/atom10/entry_source_link_title.xml +feedparser/tests/wellformed/atom10/entry_source_link_type.xml +feedparser/tests/wellformed/atom10/entry_source_logo.xml +feedparser/tests/wellformed/atom10/entry_source_rights.xml +feedparser/tests/wellformed/atom10/entry_source_rights_base64.xml +feedparser/tests/wellformed/atom10/entry_source_rights_base64_2.xml +feedparser/tests/wellformed/atom10/entry_source_rights_content_type.xml +feedparser/tests/wellformed/atom10/entry_source_rights_content_type_text.xml +feedparser/tests/wellformed/atom10/entry_source_rights_content_value.xml +feedparser/tests/wellformed/atom10/entry_source_rights_escaped_markup.xml +feedparser/tests/wellformed/atom10/entry_source_rights_inline_markup.xml +feedparser/tests/wellformed/atom10/entry_source_rights_inline_markup_2.xml +feedparser/tests/wellformed/atom10/entry_source_rights_text_plain.xml +feedparser/tests/wellformed/atom10/entry_source_subittle_content_type_text.xml +feedparser/tests/wellformed/atom10/entry_source_subtitle.xml +feedparser/tests/wellformed/atom10/entry_source_subtitle_base64.xml +feedparser/tests/wellformed/atom10/entry_source_subtitle_base64_2.xml +feedparser/tests/wellformed/atom10/entry_source_subtitle_content_type.xml +feedparser/tests/wellformed/atom10/entry_source_subtitle_content_value.xml +feedparser/tests/wellformed/atom10/entry_source_subtitle_escaped_markup.xml +feedparser/tests/wellformed/atom10/entry_source_subtitle_inline_markup.xml +feedparser/tests/wellformed/atom10/entry_source_subtitle_inline_markup_2.xml +feedparser/tests/wellformed/atom10/entry_source_subtitle_text_plain.xml +feedparser/tests/wellformed/atom10/entry_source_title.xml +feedparser/tests/wellformed/atom10/entry_source_title_base64.xml +feedparser/tests/wellformed/atom10/entry_source_title_base64_2.xml +feedparser/tests/wellformed/atom10/entry_source_title_content_type.xml +feedparser/tests/wellformed/atom10/entry_source_title_content_type_text.xml +feedparser/tests/wellformed/atom10/entry_source_title_content_value.xml +feedparser/tests/wellformed/atom10/entry_source_title_escaped_markup.xml +feedparser/tests/wellformed/atom10/entry_source_title_inline_markup.xml +feedparser/tests/wellformed/atom10/entry_source_title_inline_markup_2.xml +feedparser/tests/wellformed/atom10/entry_source_title_text_plain.xml +feedparser/tests/wellformed/atom10/entry_summary.xml +feedparser/tests/wellformed/atom10/entry_summary_base64.xml +feedparser/tests/wellformed/atom10/entry_summary_base64_2.xml +feedparser/tests/wellformed/atom10/entry_summary_content_value.xml +feedparser/tests/wellformed/atom10/entry_summary_escaped_markup.xml +feedparser/tests/wellformed/atom10/entry_summary_inline_markup.xml +feedparser/tests/wellformed/atom10/entry_summary_inline_markup_2.xml +feedparser/tests/wellformed/atom10/entry_summary_text_plain.xml +feedparser/tests/wellformed/atom10/entry_summary_type_default.xml +feedparser/tests/wellformed/atom10/entry_summary_type_text.xml +feedparser/tests/wellformed/atom10/entry_title.xml +feedparser/tests/wellformed/atom10/entry_title_base64.xml +feedparser/tests/wellformed/atom10/entry_title_base64_2.xml +feedparser/tests/wellformed/atom10/entry_title_content_value.xml +feedparser/tests/wellformed/atom10/entry_title_escaped_markup.xml +feedparser/tests/wellformed/atom10/entry_title_inline_markup.xml +feedparser/tests/wellformed/atom10/entry_title_inline_markup_2.xml +feedparser/tests/wellformed/atom10/entry_title_text_plain.xml +feedparser/tests/wellformed/atom10/entry_title_text_plain_brackets.xml +feedparser/tests/wellformed/atom10/entry_title_type_default.xml +feedparser/tests/wellformed/atom10/entry_title_type_text.xml +feedparser/tests/wellformed/atom10/feed_author_email.xml +feedparser/tests/wellformed/atom10/feed_author_map_author.xml +feedparser/tests/wellformed/atom10/feed_author_map_author_2.xml +feedparser/tests/wellformed/atom10/feed_author_name.xml +feedparser/tests/wellformed/atom10/feed_author_uri.xml +feedparser/tests/wellformed/atom10/feed_author_url.xml +feedparser/tests/wellformed/atom10/feed_authors_email.xml +feedparser/tests/wellformed/atom10/feed_authors_name.xml +feedparser/tests/wellformed/atom10/feed_authors_uri.xml +feedparser/tests/wellformed/atom10/feed_authors_url.xml +feedparser/tests/wellformed/atom10/feed_contributor_email.xml +feedparser/tests/wellformed/atom10/feed_contributor_multiple.xml +feedparser/tests/wellformed/atom10/feed_contributor_name.xml +feedparser/tests/wellformed/atom10/feed_contributor_uri.xml +feedparser/tests/wellformed/atom10/feed_contributor_url.xml +feedparser/tests/wellformed/atom10/feed_generator.xml +feedparser/tests/wellformed/atom10/feed_generator_name.xml +feedparser/tests/wellformed/atom10/feed_generator_url.xml +feedparser/tests/wellformed/atom10/feed_generator_version.xml +feedparser/tests/wellformed/atom10/feed_icon.xml +feedparser/tests/wellformed/atom10/feed_id.xml +feedparser/tests/wellformed/atom10/feed_id_map_guid.xml +feedparser/tests/wellformed/atom10/feed_link_alternate_map_link.xml +feedparser/tests/wellformed/atom10/feed_link_alternate_map_link_2.xml +feedparser/tests/wellformed/atom10/feed_link_href.xml +feedparser/tests/wellformed/atom10/feed_link_hreflang.xml +feedparser/tests/wellformed/atom10/feed_link_length.xml +feedparser/tests/wellformed/atom10/feed_link_multiple.xml +feedparser/tests/wellformed/atom10/feed_link_no_rel.xml +feedparser/tests/wellformed/atom10/feed_link_rel.xml +feedparser/tests/wellformed/atom10/feed_link_rel_other.xml +feedparser/tests/wellformed/atom10/feed_link_rel_related.xml +feedparser/tests/wellformed/atom10/feed_link_rel_self.xml +feedparser/tests/wellformed/atom10/feed_link_rel_self_default_type.xml +feedparser/tests/wellformed/atom10/feed_link_rel_via.xml +feedparser/tests/wellformed/atom10/feed_link_title.xml +feedparser/tests/wellformed/atom10/feed_link_type.xml +feedparser/tests/wellformed/atom10/feed_logo.xml +feedparser/tests/wellformed/atom10/feed_rights.xml +feedparser/tests/wellformed/atom10/feed_rights_base64.xml +feedparser/tests/wellformed/atom10/feed_rights_base64_2.xml +feedparser/tests/wellformed/atom10/feed_rights_content_type.xml +feedparser/tests/wellformed/atom10/feed_rights_content_type_text.xml +feedparser/tests/wellformed/atom10/feed_rights_content_value.xml +feedparser/tests/wellformed/atom10/feed_rights_escaped_markup.xml +feedparser/tests/wellformed/atom10/feed_rights_inline_markup.xml +feedparser/tests/wellformed/atom10/feed_rights_inline_markup_2.xml +feedparser/tests/wellformed/atom10/feed_rights_text_plain.xml +feedparser/tests/wellformed/atom10/feed_subtitle.xml +feedparser/tests/wellformed/atom10/feed_subtitle_base64.xml +feedparser/tests/wellformed/atom10/feed_subtitle_base64_2.xml +feedparser/tests/wellformed/atom10/feed_subtitle_content_type.xml +feedparser/tests/wellformed/atom10/feed_subtitle_content_type_text.xml +feedparser/tests/wellformed/atom10/feed_subtitle_content_value.xml +feedparser/tests/wellformed/atom10/feed_subtitle_escaped_markup.xml +feedparser/tests/wellformed/atom10/feed_subtitle_inline_markup.xml +feedparser/tests/wellformed/atom10/feed_subtitle_inline_markup_2.xml +feedparser/tests/wellformed/atom10/feed_subtitle_text_plain.xml +feedparser/tests/wellformed/atom10/feed_title.xml +feedparser/tests/wellformed/atom10/feed_title_base64.xml +feedparser/tests/wellformed/atom10/feed_title_base64_2.xml +feedparser/tests/wellformed/atom10/feed_title_content_type.xml +feedparser/tests/wellformed/atom10/feed_title_content_type_text.xml +feedparser/tests/wellformed/atom10/feed_title_content_value.xml +feedparser/tests/wellformed/atom10/feed_title_escaped_markup.xml +feedparser/tests/wellformed/atom10/feed_title_inline_markup.xml +feedparser/tests/wellformed/atom10/feed_title_inline_markup_2.xml +feedparser/tests/wellformed/atom10/feed_title_text_plain.xml +feedparser/tests/wellformed/atom10/item_media_category_label.xml +feedparser/tests/wellformed/atom10/item_media_category_multiple.xml +feedparser/tests/wellformed/atom10/item_media_category_scheme1.xml +feedparser/tests/wellformed/atom10/item_media_category_scheme2.xml +feedparser/tests/wellformed/atom10/item_media_category_term.xml +feedparser/tests/wellformed/atom10/item_media_title_type_plain.xml +feedparser/tests/wellformed/atom10/missing_quote_in_attr.xml +feedparser/tests/wellformed/atom10/qna.xml +feedparser/tests/wellformed/atom10/quote_in_attr.xml +feedparser/tests/wellformed/atom10/relative_uri.xml +feedparser/tests/wellformed/atom10/relative_uri_inherit.xml +feedparser/tests/wellformed/atom10/relative_uri_inherit_2.xml +feedparser/tests/wellformed/atom10/tag_in_attr.xml +feedparser/tests/wellformed/base/cdf_item_abstract_xml_base.xml +feedparser/tests/wellformed/base/entry_content_xml_base.xml +feedparser/tests/wellformed/base/entry_content_xml_base_inherit.xml +feedparser/tests/wellformed/base/entry_content_xml_base_inherit_2.xml +feedparser/tests/wellformed/base/entry_content_xml_base_inherit_3.xml +feedparser/tests/wellformed/base/entry_content_xml_base_inherit_4.xml +feedparser/tests/wellformed/base/entry_summary_xml_base.xml +feedparser/tests/wellformed/base/entry_summary_xml_base_inherit.xml +feedparser/tests/wellformed/base/entry_summary_xml_base_inherit_2.xml +feedparser/tests/wellformed/base/entry_summary_xml_base_inherit_3.xml +feedparser/tests/wellformed/base/entry_summary_xml_base_inherit_4.xml +feedparser/tests/wellformed/base/entry_title_xml_base.xml +feedparser/tests/wellformed/base/entry_title_xml_base_inherit.xml +feedparser/tests/wellformed/base/entry_title_xml_base_inherit_2.xml +feedparser/tests/wellformed/base/entry_title_xml_base_inherit_3.xml +feedparser/tests/wellformed/base/entry_title_xml_base_inherit_4.xml +feedparser/tests/wellformed/base/feed_copyright_xml_base.xml +feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit.xml +feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit_2.xml +feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit_3.xml +feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit_4.xml +feedparser/tests/wellformed/base/feed_info_xml_base.xml +feedparser/tests/wellformed/base/feed_info_xml_base_inherit.xml +feedparser/tests/wellformed/base/feed_info_xml_base_inherit_2.xml +feedparser/tests/wellformed/base/feed_info_xml_base_inherit_3.xml +feedparser/tests/wellformed/base/feed_info_xml_base_inherit_4.xml +feedparser/tests/wellformed/base/feed_link_xml_base_iri.xml +feedparser/tests/wellformed/base/feed_tagline_xml_base.xml +feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit.xml +feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit_2.xml +feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit_3.xml +feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit_4.xml +feedparser/tests/wellformed/base/feed_title_xml_base.xml +feedparser/tests/wellformed/base/feed_title_xml_base_inherit.xml +feedparser/tests/wellformed/base/feed_title_xml_base_inherit_2.xml +feedparser/tests/wellformed/base/feed_title_xml_base_inherit_3.xml +feedparser/tests/wellformed/base/feed_title_xml_base_inherit_4.xml +feedparser/tests/wellformed/base/http_channel_docs_base_content_location.xml +feedparser/tests/wellformed/base/http_channel_docs_base_docuri.xml +feedparser/tests/wellformed/base/http_channel_link_base_content_location.xml +feedparser/tests/wellformed/base/http_channel_link_base_docuri.xml +feedparser/tests/wellformed/base/http_entry_author_url_base_content_location.xml +feedparser/tests/wellformed/base/http_entry_author_url_base_docuri.xml +feedparser/tests/wellformed/base/http_entry_content_base64_base_content_location.xml +feedparser/tests/wellformed/base/http_entry_content_base64_base_docuri.xml +feedparser/tests/wellformed/base/http_entry_content_base_content_location.xml +feedparser/tests/wellformed/base/http_entry_content_base_docuri.xml +feedparser/tests/wellformed/base/http_entry_content_inline_base_content_location.xml +feedparser/tests/wellformed/base/http_entry_content_inline_base_docuri.xml +feedparser/tests/wellformed/base/http_entry_contributor_url_base_content_location.xml +feedparser/tests/wellformed/base/http_entry_contributor_url_base_docuri.xml +feedparser/tests/wellformed/base/http_entry_id_base_content_location.xml +feedparser/tests/wellformed/base/http_entry_id_base_docuri.xml +feedparser/tests/wellformed/base/http_entry_link_base_content_location.xml +feedparser/tests/wellformed/base/http_entry_link_base_docuri.xml +feedparser/tests/wellformed/base/http_entry_summary_base64_base_content_location.xml +feedparser/tests/wellformed/base/http_entry_summary_base64_base_docuri.xml +feedparser/tests/wellformed/base/http_entry_summary_base_content_location.xml +feedparser/tests/wellformed/base/http_entry_summary_base_docuri.xml +feedparser/tests/wellformed/base/http_entry_summary_inline_base_content_location.xml +feedparser/tests/wellformed/base/http_entry_summary_inline_base_docuri.xml +feedparser/tests/wellformed/base/http_entry_title_base64_base_content_location.xml +feedparser/tests/wellformed/base/http_entry_title_base64_base_docuri.xml +feedparser/tests/wellformed/base/http_entry_title_base_content_location.xml +feedparser/tests/wellformed/base/http_entry_title_base_docuri.xml +feedparser/tests/wellformed/base/http_entry_title_inline_base_content_location.xml +feedparser/tests/wellformed/base/http_entry_title_inline_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_author_url_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_author_url_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_contributor_url_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_contributor_url_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_copyright_base64_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_copyright_base64_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_copyright_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_copyright_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_copyright_inline_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_copyright_inline_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_generator_url_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_generator_url_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_id_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_id_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_info_base64_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_info_base64_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_info_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_info_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_info_inline_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_info_inline_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_link_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_link_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_tagline_base64_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_tagline_base64_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_tagline_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_tagline_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_tagline_inline_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_tagline_inline_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_title_base64_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_title_base64_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_title_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_title_base_docuri.xml +feedparser/tests/wellformed/base/http_feed_title_inline_base_content_location.xml +feedparser/tests/wellformed/base/http_feed_title_inline_base_docuri.xml +feedparser/tests/wellformed/base/http_item_body_base_content_location.xml +feedparser/tests/wellformed/base/http_item_body_base_docuri.xml +feedparser/tests/wellformed/base/http_item_comments_base_content_location.xml +feedparser/tests/wellformed/base/http_item_comments_base_docuri.xml +feedparser/tests/wellformed/base/http_item_content_encoded_base_content_location.xml +feedparser/tests/wellformed/base/http_item_content_encoded_base_docuri.xml +feedparser/tests/wellformed/base/http_item_description_base_content_location.xml +feedparser/tests/wellformed/base/http_item_description_base_docuri.xml +feedparser/tests/wellformed/base/http_item_description_spaces.xml +feedparser/tests/wellformed/base/http_item_fullitem_base_content_location.xml +feedparser/tests/wellformed/base/http_item_fullitem_base_docuri.xml +feedparser/tests/wellformed/base/http_item_link_base_content_location.xml +feedparser/tests/wellformed/base/http_item_link_base_docuri.xml +feedparser/tests/wellformed/base/http_item_wfw_commentRSS_base_content_location.xml +feedparser/tests/wellformed/base/http_item_wfw_commentRSS_base_docuri.xml +feedparser/tests/wellformed/base/http_item_wfw_comment_base_content_location.xml +feedparser/tests/wellformed/base/http_item_wfw_comment_base_docuri.xml +feedparser/tests/wellformed/base/http_item_xhtml_body_base_content_location.xml +feedparser/tests/wellformed/base/http_item_xhtml_body_base_docuri.xml +feedparser/tests/wellformed/base/http_relative_xml_base.xml +feedparser/tests/wellformed/base/http_relative_xml_base_2.xml +feedparser/tests/wellformed/base/item_media_title1.xml +feedparser/tests/wellformed/base/item_media_title2.xml +feedparser/tests/wellformed/base/item_media_title3.xml +feedparser/tests/wellformed/base/malformed_base.xml +feedparser/tests/wellformed/base/rel_uri_with_unicode_character.xml +feedparser/tests/wellformed/base/relative_xml_base.xml +feedparser/tests/wellformed/base/relative_xml_base_2.xml +feedparser/tests/wellformed/base/unsafe_base.xml +feedparser/tests/wellformed/cdf/channel_abstract_map_description.xml +feedparser/tests/wellformed/cdf/channel_abstract_map_tagline.xml +feedparser/tests/wellformed/cdf/channel_href_map_link.xml +feedparser/tests/wellformed/cdf/channel_href_map_links.xml +feedparser/tests/wellformed/cdf/channel_lastmod.xml +feedparser/tests/wellformed/cdf/channel_lastmod_parsed.xml +feedparser/tests/wellformed/cdf/channel_title.xml +feedparser/tests/wellformed/cdf/item_abstract_map_description.xml +feedparser/tests/wellformed/cdf/item_abstract_map_summary.xml +feedparser/tests/wellformed/cdf/item_href_map_link.xml +feedparser/tests/wellformed/cdf/item_href_map_links.xml +feedparser/tests/wellformed/cdf/item_lastmod.xml +feedparser/tests/wellformed/cdf/item_lastmod_parsed.xml +feedparser/tests/wellformed/cdf/item_title.xml +feedparser/tests/wellformed/feedburner/feedburner_browserfriendly.xml +feedparser/tests/wellformed/http/headers_content_location-relative.xml +feedparser/tests/wellformed/http/headers_content_location-unsafe.xml +feedparser/tests/wellformed/http/headers_etag.xml +feedparser/tests/wellformed/http/headers_foo.xml +feedparser/tests/wellformed/http/headers_no_etag.xml +feedparser/tests/wellformed/itunes/itunes_channel_block.xml +feedparser/tests/wellformed/itunes/itunes_channel_block_false.xml +feedparser/tests/wellformed/itunes/itunes_channel_block_no.xml +feedparser/tests/wellformed/itunes/itunes_channel_block_true.xml +feedparser/tests/wellformed/itunes/itunes_channel_block_uppercase.xml +feedparser/tests/wellformed/itunes/itunes_channel_block_whitespace.xml +feedparser/tests/wellformed/itunes/itunes_channel_category.xml +feedparser/tests/wellformed/itunes/itunes_channel_category_nested.xml +feedparser/tests/wellformed/itunes/itunes_channel_category_scheme.xml +feedparser/tests/wellformed/itunes/itunes_channel_explicit.xml +feedparser/tests/wellformed/itunes/itunes_channel_explicit_clean.xml +feedparser/tests/wellformed/itunes/itunes_channel_explicit_false.xml +feedparser/tests/wellformed/itunes/itunes_channel_explicit_no.xml +feedparser/tests/wellformed/itunes/itunes_channel_explicit_true.xml +feedparser/tests/wellformed/itunes/itunes_channel_explicit_uppercase.xml +feedparser/tests/wellformed/itunes/itunes_channel_explicit_whitespace.xml +feedparser/tests/wellformed/itunes/itunes_channel_image.xml +feedparser/tests/wellformed/itunes/itunes_channel_image_no_href.xml +feedparser/tests/wellformed/itunes/itunes_channel_image_url.xml +feedparser/tests/wellformed/itunes/itunes_channel_keywords.xml +feedparser/tests/wellformed/itunes/itunes_channel_keywords_duplicate.xml +feedparser/tests/wellformed/itunes/itunes_channel_keywords_duplicate_2.xml +feedparser/tests/wellformed/itunes/itunes_channel_keywords_multiple.xml +feedparser/tests/wellformed/itunes/itunes_channel_link_image.xml +feedparser/tests/wellformed/itunes/itunes_channel_owner_email.xml +feedparser/tests/wellformed/itunes/itunes_channel_owner_name.xml +feedparser/tests/wellformed/itunes/itunes_channel_subtitle.xml +feedparser/tests/wellformed/itunes/itunes_channel_summary.xml +feedparser/tests/wellformed/itunes/itunes_core_element_uppercase.xml +feedparser/tests/wellformed/itunes/itunes_item_author_map_author.xml +feedparser/tests/wellformed/itunes/itunes_item_block.xml +feedparser/tests/wellformed/itunes/itunes_item_block_false.xml +feedparser/tests/wellformed/itunes/itunes_item_block_no.xml +feedparser/tests/wellformed/itunes/itunes_item_block_true.xml +feedparser/tests/wellformed/itunes/itunes_item_block_uppercase.xml +feedparser/tests/wellformed/itunes/itunes_item_block_whitespace.xml +feedparser/tests/wellformed/itunes/itunes_item_category.xml +feedparser/tests/wellformed/itunes/itunes_item_category_nested.xml +feedparser/tests/wellformed/itunes/itunes_item_category_scheme.xml +feedparser/tests/wellformed/itunes/itunes_item_duration.xml +feedparser/tests/wellformed/itunes/itunes_item_explicit.xml +feedparser/tests/wellformed/itunes/itunes_item_explicit_clean.xml +feedparser/tests/wellformed/itunes/itunes_item_explicit_false.xml +feedparser/tests/wellformed/itunes/itunes_item_explicit_no.xml +feedparser/tests/wellformed/itunes/itunes_item_explicit_true.xml +feedparser/tests/wellformed/itunes/itunes_item_explicit_uppercase.xml +feedparser/tests/wellformed/itunes/itunes_item_explicit_whitespace.xml +feedparser/tests/wellformed/itunes/itunes_item_image.xml +feedparser/tests/wellformed/itunes/itunes_item_image_url.xml +feedparser/tests/wellformed/itunes/itunes_item_link_image.xml +feedparser/tests/wellformed/itunes/itunes_item_subtitle.xml +feedparser/tests/wellformed/itunes/itunes_item_summary.xml +feedparser/tests/wellformed/itunes/itunes_namespace.xml +feedparser/tests/wellformed/itunes/itunes_namespace_example.xml +feedparser/tests/wellformed/itunes/itunes_namespace_lowercase.xml +feedparser/tests/wellformed/itunes/itunes_namespace_uppercase.xml +feedparser/tests/wellformed/lang/channel_dc_language.xml +feedparser/tests/wellformed/lang/channel_language.xml +feedparser/tests/wellformed/lang/entry_content_xml_lang.xml +feedparser/tests/wellformed/lang/entry_content_xml_lang_blank.xml +feedparser/tests/wellformed/lang/entry_content_xml_lang_blank_2.xml +feedparser/tests/wellformed/lang/entry_content_xml_lang_blank_3.xml +feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit.xml +feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit_2.xml +feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit_3.xml +feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit_4.xml +feedparser/tests/wellformed/lang/entry_content_xml_lang_underscore.xml +feedparser/tests/wellformed/lang/entry_summary_xml_lang.xml +feedparser/tests/wellformed/lang/entry_summary_xml_lang_blank.xml +feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit.xml +feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit_2.xml +feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit_3.xml +feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit_4.xml +feedparser/tests/wellformed/lang/entry_title_xml_lang.xml +feedparser/tests/wellformed/lang/entry_title_xml_lang_blank.xml +feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit.xml +feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit_2.xml +feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit_3.xml +feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit_4.xml +feedparser/tests/wellformed/lang/feed_copyright_xml_lang.xml +feedparser/tests/wellformed/lang/feed_copyright_xml_lang_blank.xml +feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit.xml +feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit_2.xml +feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit_3.xml +feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit_4.xml +feedparser/tests/wellformed/lang/feed_info_xml_lang.xml +feedparser/tests/wellformed/lang/feed_info_xml_lang_blank.xml +feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit.xml +feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit_2.xml +feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit_3.xml +feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit_4.xml +feedparser/tests/wellformed/lang/feed_language.xml +feedparser/tests/wellformed/lang/feed_language_override.xml +feedparser/tests/wellformed/lang/feed_not_xml_lang.xml +feedparser/tests/wellformed/lang/feed_not_xml_lang_2.xml +feedparser/tests/wellformed/lang/feed_tagline_xml_lang.xml +feedparser/tests/wellformed/lang/feed_tagline_xml_lang_blank.xml +feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit.xml +feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit_2.xml +feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit_3.xml +feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit_4.xml +feedparser/tests/wellformed/lang/feed_title_xml_lang.xml +feedparser/tests/wellformed/lang/feed_title_xml_lang_blank.xml +feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit.xml +feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit_2.xml +feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit_3.xml +feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit_4.xml +feedparser/tests/wellformed/lang/feed_xml_lang.xml +feedparser/tests/wellformed/lang/feed_xml_lang_underscore.xml +feedparser/tests/wellformed/lang/http_content_language.xml +feedparser/tests/wellformed/lang/http_content_language_entry_title_inherit.xml +feedparser/tests/wellformed/lang/http_content_language_entry_title_inherit_2.xml +feedparser/tests/wellformed/lang/http_content_language_feed_language.xml +feedparser/tests/wellformed/lang/http_content_language_feed_xml_lang.xml +feedparser/tests/wellformed/lang/item_content_encoded_xml_lang.xml +feedparser/tests/wellformed/lang/item_content_encoded_xml_lang_inherit.xml +feedparser/tests/wellformed/lang/item_dc_language.xml +feedparser/tests/wellformed/lang/item_fullitem_xml_lang.xml +feedparser/tests/wellformed/lang/item_fullitem_xml_lang_inherit.xml +feedparser/tests/wellformed/lang/item_xhtml_body_xml_lang.xml +feedparser/tests/wellformed/lang/item_xhtml_body_xml_lang_inherit.xml +feedparser/tests/wellformed/mf_hcard/3-5-5-org-unicode.xml +feedparser/tests/wellformed/mf_rel_tag/rel_tag_term_no_term.xml +feedparser/tests/wellformed/namespace/atommathml.xml +feedparser/tests/wellformed/namespace/atomsvg.xml +feedparser/tests/wellformed/namespace/atomsvgdctitle.xml +feedparser/tests/wellformed/namespace/atomsvgdesc.xml +feedparser/tests/wellformed/namespace/atomsvgtitle.xml +feedparser/tests/wellformed/namespace/atomthreading.xml +feedparser/tests/wellformed/namespace/atomthreadingwithentry.xml +feedparser/tests/wellformed/namespace/atomxlink.xml +feedparser/tests/wellformed/namespace/rss1.0withModules.xml +feedparser/tests/wellformed/namespace/rss1.0withModulesNoDefNS.xml +feedparser/tests/wellformed/namespace/rss1.0withModulesNoDefNSLocalNameClash.xml +feedparser/tests/wellformed/namespace/rss2.0NSwithModules.xml +feedparser/tests/wellformed/namespace/rss2.0NSwithModulesNoDefNS.xml +feedparser/tests/wellformed/namespace/rss2.0NSwithModulesNoDefNSLocalNameClash.xml +feedparser/tests/wellformed/namespace/rss2.0mathml.xml +feedparser/tests/wellformed/namespace/rss2.0noNSwithModules.xml +feedparser/tests/wellformed/namespace/rss2.0noNSwithModulesLocalNameClash.xml +feedparser/tests/wellformed/namespace/rss2.0svg.xml +feedparser/tests/wellformed/namespace/rss2.0svg5.xml +feedparser/tests/wellformed/namespace/rss2.0svgtitle.xml +feedparser/tests/wellformed/namespace/rss2.0withAtomNS.xml +feedparser/tests/wellformed/namespace/rss2.0xlink.xml +feedparser/tests/wellformed/node_precedence/atom10_arbitrary_element.xml +feedparser/tests/wellformed/node_precedence/atom10_id.xml +feedparser/tests/wellformed/node_precedence/atom10_title.xml +feedparser/tests/wellformed/rdf/doctype_contains_entity_decl.xml +feedparser/tests/wellformed/rdf/rdf_channel_description.xml +feedparser/tests/wellformed/rdf/rdf_channel_link.xml +feedparser/tests/wellformed/rdf/rdf_channel_title.xml +feedparser/tests/wellformed/rdf/rdf_item_description.xml +feedparser/tests/wellformed/rdf/rdf_item_link.xml +feedparser/tests/wellformed/rdf/rdf_item_rdf_about.xml +feedparser/tests/wellformed/rdf/rdf_item_title.xml +feedparser/tests/wellformed/rdf/rss090_channel_title.xml +feedparser/tests/wellformed/rdf/rss090_item_title.xml +feedparser/tests/wellformed/rdf/rss_version_10.xml +feedparser/tests/wellformed/rdf/rss_version_10_not_default_ns.xml +feedparser/tests/wellformed/rss/aaa_wellformed.xml +feedparser/tests/wellformed/rss/channel_author.xml +feedparser/tests/wellformed/rss/channel_author_map_author_detail_email.xml +feedparser/tests/wellformed/rss/channel_author_map_author_detail_email_2.xml +feedparser/tests/wellformed/rss/channel_author_map_author_detail_email_3.xml +feedparser/tests/wellformed/rss/channel_author_map_author_detail_name.xml +feedparser/tests/wellformed/rss/channel_author_map_author_detail_name_2.xml +feedparser/tests/wellformed/rss/channel_category.xml +feedparser/tests/wellformed/rss/channel_category_domain.xml +feedparser/tests/wellformed/rss/channel_category_multiple.xml +feedparser/tests/wellformed/rss/channel_category_multiple_2.xml +feedparser/tests/wellformed/rss/channel_cloud_domain.xml +feedparser/tests/wellformed/rss/channel_cloud_path.xml +feedparser/tests/wellformed/rss/channel_cloud_port.xml +feedparser/tests/wellformed/rss/channel_cloud_protocol.xml +feedparser/tests/wellformed/rss/channel_cloud_registerProcedure.xml +feedparser/tests/wellformed/rss/channel_copyright.xml +feedparser/tests/wellformed/rss/channel_dc_author.xml +feedparser/tests/wellformed/rss/channel_dc_author_map_author_detail_email.xml +feedparser/tests/wellformed/rss/channel_dc_author_map_author_detail_name.xml +feedparser/tests/wellformed/rss/channel_dc_contributor.xml +feedparser/tests/wellformed/rss/channel_dc_creator.xml +feedparser/tests/wellformed/rss/channel_dc_creator_map_author_detail_email.xml +feedparser/tests/wellformed/rss/channel_dc_creator_map_author_detail_name.xml +feedparser/tests/wellformed/rss/channel_dc_date.xml +feedparser/tests/wellformed/rss/channel_dc_date_parsed.xml +feedparser/tests/wellformed/rss/channel_dc_publisher.xml +feedparser/tests/wellformed/rss/channel_dc_publisher_email.xml +feedparser/tests/wellformed/rss/channel_dc_publisher_name.xml +feedparser/tests/wellformed/rss/channel_dc_rights.xml +feedparser/tests/wellformed/rss/channel_dc_subject.xml +feedparser/tests/wellformed/rss/channel_dc_subject_2.xml +feedparser/tests/wellformed/rss/channel_dc_subject_multiple.xml +feedparser/tests/wellformed/rss/channel_dc_title.xml +feedparser/tests/wellformed/rss/channel_dcterms_created.xml +feedparser/tests/wellformed/rss/channel_dcterms_created_parsed.xml +feedparser/tests/wellformed/rss/channel_dcterms_issued.xml +feedparser/tests/wellformed/rss/channel_dcterms_issued_parsed.xml +feedparser/tests/wellformed/rss/channel_dcterms_modified.xml +feedparser/tests/wellformed/rss/channel_dcterms_modified_parsed.xml +feedparser/tests/wellformed/rss/channel_description.xml +feedparser/tests/wellformed/rss/channel_description_escaped_markup.xml +feedparser/tests/wellformed/rss/channel_description_map_tagline.xml +feedparser/tests/wellformed/rss/channel_description_naked_markup.xml +feedparser/tests/wellformed/rss/channel_description_shorttag.xml +feedparser/tests/wellformed/rss/channel_docs.xml +feedparser/tests/wellformed/rss/channel_generator.xml +feedparser/tests/wellformed/rss/channel_image_description.xml +feedparser/tests/wellformed/rss/channel_image_height.xml +feedparser/tests/wellformed/rss/channel_image_link.xml +feedparser/tests/wellformed/rss/channel_image_link_bleed.xml +feedparser/tests/wellformed/rss/channel_image_link_conflict.xml +feedparser/tests/wellformed/rss/channel_image_title.xml +feedparser/tests/wellformed/rss/channel_image_title_conflict.xml +feedparser/tests/wellformed/rss/channel_image_url.xml +feedparser/tests/wellformed/rss/channel_image_width.xml +feedparser/tests/wellformed/rss/channel_lastBuildDate.xml +feedparser/tests/wellformed/rss/channel_lastBuildDate_parsed.xml +feedparser/tests/wellformed/rss/channel_link.xml +feedparser/tests/wellformed/rss/channel_managingEditor.xml +feedparser/tests/wellformed/rss/channel_managingEditor_map_author_detail_email.xml +feedparser/tests/wellformed/rss/channel_managingEditor_map_author_detail_name.xml +feedparser/tests/wellformed/rss/channel_pubDate.xml +feedparser/tests/wellformed/rss/channel_pubDate_map_updated_parsed.xml +feedparser/tests/wellformed/rss/channel_textInput_description.xml +feedparser/tests/wellformed/rss/channel_textInput_description_conflict.xml +feedparser/tests/wellformed/rss/channel_textInput_link.xml +feedparser/tests/wellformed/rss/channel_textInput_link_bleed.xml +feedparser/tests/wellformed/rss/channel_textInput_link_conflict.xml +feedparser/tests/wellformed/rss/channel_textInput_name.xml +feedparser/tests/wellformed/rss/channel_textInput_title.xml +feedparser/tests/wellformed/rss/channel_textInput_title_conflict.xml +feedparser/tests/wellformed/rss/channel_title.xml +feedparser/tests/wellformed/rss/channel_title_apos.xml +feedparser/tests/wellformed/rss/channel_title_gt.xml +feedparser/tests/wellformed/rss/channel_title_lt.xml +feedparser/tests/wellformed/rss/channel_ttl.xml +feedparser/tests/wellformed/rss/channel_webMaster.xml +feedparser/tests/wellformed/rss/channel_webMaster_email.xml +feedparser/tests/wellformed/rss/channel_webMaster_name.xml +feedparser/tests/wellformed/rss/entity_in_doctype.xml +feedparser/tests/wellformed/rss/item_author.xml +feedparser/tests/wellformed/rss/item_author_map_author_detail_email.xml +feedparser/tests/wellformed/rss/item_author_map_author_detail_email2.xml +feedparser/tests/wellformed/rss/item_author_map_author_detail_email3.xml +feedparser/tests/wellformed/rss/item_author_map_author_detail_name.xml +feedparser/tests/wellformed/rss/item_author_map_author_detail_name2.xml +feedparser/tests/wellformed/rss/item_author_map_author_detail_name3.xml +feedparser/tests/wellformed/rss/item_category.xml +feedparser/tests/wellformed/rss/item_category_domain.xml +feedparser/tests/wellformed/rss/item_category_image.xml +feedparser/tests/wellformed/rss/item_category_multiple.xml +feedparser/tests/wellformed/rss/item_category_multiple_2.xml +feedparser/tests/wellformed/rss/item_cc_license.xml +feedparser/tests/wellformed/rss/item_comments.xml +feedparser/tests/wellformed/rss/item_content_encoded.xml +feedparser/tests/wellformed/rss/item_content_encoded_mode.xml +feedparser/tests/wellformed/rss/item_content_encoded_type.xml +feedparser/tests/wellformed/rss/item_creativeCommons_license.xml +feedparser/tests/wellformed/rss/item_dc_author.xml +feedparser/tests/wellformed/rss/item_dc_author_map_author_detail_email.xml +feedparser/tests/wellformed/rss/item_dc_author_map_author_detail_name.xml +feedparser/tests/wellformed/rss/item_dc_contributor.xml +feedparser/tests/wellformed/rss/item_dc_creator.xml +feedparser/tests/wellformed/rss/item_dc_creator_map_author_detail_email.xml +feedparser/tests/wellformed/rss/item_dc_creator_map_author_detail_name.xml +feedparser/tests/wellformed/rss/item_dc_date.xml +feedparser/tests/wellformed/rss/item_dc_date_parsed.xml +feedparser/tests/wellformed/rss/item_dc_description.xml +feedparser/tests/wellformed/rss/item_dc_publisher.xml +feedparser/tests/wellformed/rss/item_dc_publisher_email.xml +feedparser/tests/wellformed/rss/item_dc_publisher_name.xml +feedparser/tests/wellformed/rss/item_dc_rights.xml +feedparser/tests/wellformed/rss/item_dc_subject.xml +feedparser/tests/wellformed/rss/item_dc_subject_2.xml +feedparser/tests/wellformed/rss/item_dc_subject_multiple.xml +feedparser/tests/wellformed/rss/item_dc_title.xml +feedparser/tests/wellformed/rss/item_dcterms_created.xml +feedparser/tests/wellformed/rss/item_dcterms_created_parsed.xml +feedparser/tests/wellformed/rss/item_dcterms_issued.xml +feedparser/tests/wellformed/rss/item_dcterms_issued_parsed.xml +feedparser/tests/wellformed/rss/item_dcterms_modified.xml +feedparser/tests/wellformed/rss/item_dcterms_modified_parsed.xml +feedparser/tests/wellformed/rss/item_description.xml +feedparser/tests/wellformed/rss/item_description_and_summary.xml +feedparser/tests/wellformed/rss/item_description_br.xml +feedparser/tests/wellformed/rss/item_description_br_shorttag.xml +feedparser/tests/wellformed/rss/item_description_code_br.xml +feedparser/tests/wellformed/rss/item_description_escaped_markup.xml +feedparser/tests/wellformed/rss/item_description_map_summary.xml +feedparser/tests/wellformed/rss/item_description_naked_markup.xml +feedparser/tests/wellformed/rss/item_description_not_a_doctype.xml +feedparser/tests/wellformed/rss/item_description_not_a_doctype2.xml +feedparser/tests/wellformed/rss/item_enclosure_length.xml +feedparser/tests/wellformed/rss/item_enclosure_multiple.xml +feedparser/tests/wellformed/rss/item_enclosure_type.xml +feedparser/tests/wellformed/rss/item_enclosure_url.xml +feedparser/tests/wellformed/rss/item_expirationDate.xml +feedparser/tests/wellformed/rss/item_expirationDate_multiple_values.xml +feedparser/tests/wellformed/rss/item_expirationDate_parsed.xml +feedparser/tests/wellformed/rss/item_fullitem.xml +feedparser/tests/wellformed/rss/item_fullitem_mode.xml +feedparser/tests/wellformed/rss/item_fullitem_type.xml +feedparser/tests/wellformed/rss/item_guid.xml +feedparser/tests/wellformed/rss/item_guid_conflict_link.xml +feedparser/tests/wellformed/rss/item_guid_guidislink.xml +feedparser/tests/wellformed/rss/item_guid_isPermaLink_conflict_link.xml +feedparser/tests/wellformed/rss/item_guid_isPermaLink_conflict_link_not_guidislink.xml +feedparser/tests/wellformed/rss/item_guid_isPermaLink_guidislink.xml +feedparser/tests/wellformed/rss/item_guid_isPermaLink_map_link.xml +feedparser/tests/wellformed/rss/item_guid_map_link.xml +feedparser/tests/wellformed/rss/item_guid_not_permalink.xml +feedparser/tests/wellformed/rss/item_guid_not_permalink_conflict_link.xml +feedparser/tests/wellformed/rss/item_guid_not_permalink_not_guidislink.xml +feedparser/tests/wellformed/rss/item_guid_not_permalink_not_guidislink_2.xml +feedparser/tests/wellformed/rss/item_guid_not_permalink_not_url.xml +feedparser/tests/wellformed/rss/item_image_link_bleed.xml +feedparser/tests/wellformed/rss/item_image_link_conflict.xml +feedparser/tests/wellformed/rss/item_link.xml +feedparser/tests/wellformed/rss/item_pubDate.xml +feedparser/tests/wellformed/rss/item_pubDate_map_updated_parsed.xml +feedparser/tests/wellformed/rss/item_source.xml +feedparser/tests/wellformed/rss/item_source_url.xml +feedparser/tests/wellformed/rss/item_summary_and_description.xml +feedparser/tests/wellformed/rss/item_title.xml +feedparser/tests/wellformed/rss/item_xhtml_body.xml +feedparser/tests/wellformed/rss/item_xhtml_body_mode.xml +feedparser/tests/wellformed/rss/item_xhtml_body_type.xml +feedparser/tests/wellformed/rss/newlocation.xml +feedparser/tests/wellformed/rss/rss_namespace_1.xml +feedparser/tests/wellformed/rss/rss_namespace_2.xml +feedparser/tests/wellformed/rss/rss_namespace_3.xml +feedparser/tests/wellformed/rss/rss_namespace_4.xml +feedparser/tests/wellformed/rss/rss_version_090.xml +feedparser/tests/wellformed/rss/rss_version_091_netscape.xml +feedparser/tests/wellformed/rss/rss_version_091_userland.xml +feedparser/tests/wellformed/rss/rss_version_092.xml +feedparser/tests/wellformed/rss/rss_version_093.xml +feedparser/tests/wellformed/rss/rss_version_094.xml +feedparser/tests/wellformed/rss/rss_version_20.xml +feedparser/tests/wellformed/rss/rss_version_201.xml +feedparser/tests/wellformed/rss/rss_version_21.xml +feedparser/tests/wellformed/rss/rss_version_missing.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_abbr.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_accept-charset.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_accept.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_accesskey.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_action.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_align.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_alt.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_autocomplete.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_autofocus.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_autoplay.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_axis.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_background.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_balance.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_bgcolor.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_bgproperties.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_border.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_bordercolor.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_bordercolordark.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_bordercolorlight.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_bottompadding.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_cellpadding.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_cellspacing.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_ch.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_challenge.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_char.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_charoff.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_charset.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_checked.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_choff.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_cite.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_class.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_clear.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_color.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_cols.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_colspan.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_compact.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_contenteditable.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_coords.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_data.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_datafld.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_datapagesize.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_datasrc.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_datetime.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_default.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_delay.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_dir.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_disabled.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_draggable.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_dynsrc.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_enctype.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_end.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_face.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_for.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_form.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_frame.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_galleryimg.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_gutter.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_headers.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_height.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_hidden.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_hidefocus.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_high.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_href.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_hreflang.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_hspace.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_icon.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_id.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_inputmode.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_ismap.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_keytype.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_label.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_lang.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_leftspacing.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_list.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_longdesc.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_loop.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_loopcount.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_loopend.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_loopstart.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_low.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_lowsrc.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_max.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_maxlength.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_media.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_method.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_min.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_multiple.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_name.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_nohref.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_noshade.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_nowrap.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_open.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_optimum.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_pattern.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_ping.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_point-size.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_poster.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_pqg.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_preload.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_prompt.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_radiogroup.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_readonly.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_rel.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_repeat-max.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_repeat-min.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_replace.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_required.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_rev.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_rightspacing.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_rows.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_rowspan.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_rules.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_scope.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_selected.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_shape.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_size.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_span.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_src.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_start.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_step.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_summary.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_suppress.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_tabindex.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_target.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_template.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_title.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_toppadding.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_type.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_unselectable.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_urn.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_usemap.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_valign.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_value.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_variable.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_volume.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_vrml.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_vspace.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_width.xml +feedparser/tests/wellformed/sanitize/acceptable_attribute_wrap.xml +feedparser/tests/wellformed/sanitize/acceptable_element_a.xml +feedparser/tests/wellformed/sanitize/acceptable_element_abbr.xml +feedparser/tests/wellformed/sanitize/acceptable_element_acronym.xml +feedparser/tests/wellformed/sanitize/acceptable_element_address.xml +feedparser/tests/wellformed/sanitize/acceptable_element_area.xml +feedparser/tests/wellformed/sanitize/acceptable_element_article.xml +feedparser/tests/wellformed/sanitize/acceptable_element_aside.xml +feedparser/tests/wellformed/sanitize/acceptable_element_audio.xml +feedparser/tests/wellformed/sanitize/acceptable_element_b.xml +feedparser/tests/wellformed/sanitize/acceptable_element_big.xml +feedparser/tests/wellformed/sanitize/acceptable_element_blockquote.xml +feedparser/tests/wellformed/sanitize/acceptable_element_br.xml +feedparser/tests/wellformed/sanitize/acceptable_element_button.xml +feedparser/tests/wellformed/sanitize/acceptable_element_canvas.xml +feedparser/tests/wellformed/sanitize/acceptable_element_caption.xml +feedparser/tests/wellformed/sanitize/acceptable_element_center.xml +feedparser/tests/wellformed/sanitize/acceptable_element_cite.xml +feedparser/tests/wellformed/sanitize/acceptable_element_code.xml +feedparser/tests/wellformed/sanitize/acceptable_element_col.xml +feedparser/tests/wellformed/sanitize/acceptable_element_colgroup.xml +feedparser/tests/wellformed/sanitize/acceptable_element_command.xml +feedparser/tests/wellformed/sanitize/acceptable_element_datagrid.xml +feedparser/tests/wellformed/sanitize/acceptable_element_datalist.xml +feedparser/tests/wellformed/sanitize/acceptable_element_dd.xml +feedparser/tests/wellformed/sanitize/acceptable_element_del.xml +feedparser/tests/wellformed/sanitize/acceptable_element_details.xml +feedparser/tests/wellformed/sanitize/acceptable_element_dfn.xml +feedparser/tests/wellformed/sanitize/acceptable_element_dialog.xml +feedparser/tests/wellformed/sanitize/acceptable_element_dir.xml +feedparser/tests/wellformed/sanitize/acceptable_element_div.xml +feedparser/tests/wellformed/sanitize/acceptable_element_dl.xml +feedparser/tests/wellformed/sanitize/acceptable_element_dt.xml +feedparser/tests/wellformed/sanitize/acceptable_element_em.xml +feedparser/tests/wellformed/sanitize/acceptable_element_event-source.xml +feedparser/tests/wellformed/sanitize/acceptable_element_fieldset.xml +feedparser/tests/wellformed/sanitize/acceptable_element_figure.xml +feedparser/tests/wellformed/sanitize/acceptable_element_font.xml +feedparser/tests/wellformed/sanitize/acceptable_element_footer.xml +feedparser/tests/wellformed/sanitize/acceptable_element_form.xml +feedparser/tests/wellformed/sanitize/acceptable_element_h1.xml +feedparser/tests/wellformed/sanitize/acceptable_element_h2.xml +feedparser/tests/wellformed/sanitize/acceptable_element_h3.xml +feedparser/tests/wellformed/sanitize/acceptable_element_h4.xml +feedparser/tests/wellformed/sanitize/acceptable_element_h5.xml +feedparser/tests/wellformed/sanitize/acceptable_element_h6.xml +feedparser/tests/wellformed/sanitize/acceptable_element_header.xml +feedparser/tests/wellformed/sanitize/acceptable_element_hr.xml +feedparser/tests/wellformed/sanitize/acceptable_element_i.xml +feedparser/tests/wellformed/sanitize/acceptable_element_img.xml +feedparser/tests/wellformed/sanitize/acceptable_element_input.xml +feedparser/tests/wellformed/sanitize/acceptable_element_ins.xml +feedparser/tests/wellformed/sanitize/acceptable_element_kbd.xml +feedparser/tests/wellformed/sanitize/acceptable_element_keygen.xml +feedparser/tests/wellformed/sanitize/acceptable_element_label.xml +feedparser/tests/wellformed/sanitize/acceptable_element_legend.xml +feedparser/tests/wellformed/sanitize/acceptable_element_li.xml +feedparser/tests/wellformed/sanitize/acceptable_element_m.xml +feedparser/tests/wellformed/sanitize/acceptable_element_map.xml +feedparser/tests/wellformed/sanitize/acceptable_element_menu.xml +feedparser/tests/wellformed/sanitize/acceptable_element_meter.xml +feedparser/tests/wellformed/sanitize/acceptable_element_multicol.xml +feedparser/tests/wellformed/sanitize/acceptable_element_nav.xml +feedparser/tests/wellformed/sanitize/acceptable_element_nextid.xml +feedparser/tests/wellformed/sanitize/acceptable_element_noscript.xml +feedparser/tests/wellformed/sanitize/acceptable_element_ol.xml +feedparser/tests/wellformed/sanitize/acceptable_element_optgroup.xml +feedparser/tests/wellformed/sanitize/acceptable_element_option.xml +feedparser/tests/wellformed/sanitize/acceptable_element_output.xml +feedparser/tests/wellformed/sanitize/acceptable_element_p.xml +feedparser/tests/wellformed/sanitize/acceptable_element_pre.xml +feedparser/tests/wellformed/sanitize/acceptable_element_progress.xml +feedparser/tests/wellformed/sanitize/acceptable_element_q.xml +feedparser/tests/wellformed/sanitize/acceptable_element_s.xml +feedparser/tests/wellformed/sanitize/acceptable_element_samp.xml +feedparser/tests/wellformed/sanitize/acceptable_element_section.xml +feedparser/tests/wellformed/sanitize/acceptable_element_select.xml +feedparser/tests/wellformed/sanitize/acceptable_element_small.xml +feedparser/tests/wellformed/sanitize/acceptable_element_sound.xml +feedparser/tests/wellformed/sanitize/acceptable_element_source.xml +feedparser/tests/wellformed/sanitize/acceptable_element_spacer.xml +feedparser/tests/wellformed/sanitize/acceptable_element_span.xml +feedparser/tests/wellformed/sanitize/acceptable_element_strike.xml +feedparser/tests/wellformed/sanitize/acceptable_element_strong.xml +feedparser/tests/wellformed/sanitize/acceptable_element_sub.xml +feedparser/tests/wellformed/sanitize/acceptable_element_sup.xml +feedparser/tests/wellformed/sanitize/acceptable_element_table.xml +feedparser/tests/wellformed/sanitize/acceptable_element_tbody.xml +feedparser/tests/wellformed/sanitize/acceptable_element_td.xml +feedparser/tests/wellformed/sanitize/acceptable_element_textarea.xml +feedparser/tests/wellformed/sanitize/acceptable_element_tfoot.xml +feedparser/tests/wellformed/sanitize/acceptable_element_th.xml +feedparser/tests/wellformed/sanitize/acceptable_element_thead.xml +feedparser/tests/wellformed/sanitize/acceptable_element_time.xml +feedparser/tests/wellformed/sanitize/acceptable_element_tr.xml +feedparser/tests/wellformed/sanitize/acceptable_element_tt.xml +feedparser/tests/wellformed/sanitize/acceptable_element_u.xml +feedparser/tests/wellformed/sanitize/acceptable_element_ul.xml +feedparser/tests/wellformed/sanitize/acceptable_element_var.xml +feedparser/tests/wellformed/sanitize/acceptable_element_video.xml +feedparser/tests/wellformed/sanitize/blogger_dollar_sign_in_attribute.xml +feedparser/tests/wellformed/sanitize/entry_content_applet.xml +feedparser/tests/wellformed/sanitize/entry_content_blink.xml +feedparser/tests/wellformed/sanitize/entry_content_crazy.xml +feedparser/tests/wellformed/sanitize/entry_content_embed.xml +feedparser/tests/wellformed/sanitize/entry_content_frame.xml +feedparser/tests/wellformed/sanitize/entry_content_iframe.xml +feedparser/tests/wellformed/sanitize/entry_content_link.xml +feedparser/tests/wellformed/sanitize/entry_content_meta.xml +feedparser/tests/wellformed/sanitize/entry_content_object.xml +feedparser/tests/wellformed/sanitize/entry_content_onabort.xml +feedparser/tests/wellformed/sanitize/entry_content_onblur.xml +feedparser/tests/wellformed/sanitize/entry_content_onchange.xml +feedparser/tests/wellformed/sanitize/entry_content_onclick.xml +feedparser/tests/wellformed/sanitize/entry_content_ondblclick.xml +feedparser/tests/wellformed/sanitize/entry_content_onerror.xml +feedparser/tests/wellformed/sanitize/entry_content_onfocus.xml +feedparser/tests/wellformed/sanitize/entry_content_onkeydown.xml +feedparser/tests/wellformed/sanitize/entry_content_onkeypress.xml +feedparser/tests/wellformed/sanitize/entry_content_onkeyup.xml +feedparser/tests/wellformed/sanitize/entry_content_onload.xml +feedparser/tests/wellformed/sanitize/entry_content_onmousedown.xml +feedparser/tests/wellformed/sanitize/entry_content_onmouseout.xml +feedparser/tests/wellformed/sanitize/entry_content_onmouseover.xml +feedparser/tests/wellformed/sanitize/entry_content_onmouseup.xml +feedparser/tests/wellformed/sanitize/entry_content_onreset.xml +feedparser/tests/wellformed/sanitize/entry_content_onresize.xml +feedparser/tests/wellformed/sanitize/entry_content_onsubmit.xml +feedparser/tests/wellformed/sanitize/entry_content_onunload.xml +feedparser/tests/wellformed/sanitize/entry_content_script.xml +feedparser/tests/wellformed/sanitize/entry_content_script_base64.xml +feedparser/tests/wellformed/sanitize/entry_content_script_cdata.xml +feedparser/tests/wellformed/sanitize/entry_content_script_inline.xml +feedparser/tests/wellformed/sanitize/entry_content_style.xml +feedparser/tests/wellformed/sanitize/entry_content_style_tag.xml +feedparser/tests/wellformed/sanitize/entry_summary_applet.xml +feedparser/tests/wellformed/sanitize/entry_summary_blink.xml +feedparser/tests/wellformed/sanitize/entry_summary_crazy.xml +feedparser/tests/wellformed/sanitize/entry_summary_embed.xml +feedparser/tests/wellformed/sanitize/entry_summary_frame.xml +feedparser/tests/wellformed/sanitize/entry_summary_iframe.xml +feedparser/tests/wellformed/sanitize/entry_summary_link.xml +feedparser/tests/wellformed/sanitize/entry_summary_meta.xml +feedparser/tests/wellformed/sanitize/entry_summary_object.xml +feedparser/tests/wellformed/sanitize/entry_summary_onabort.xml +feedparser/tests/wellformed/sanitize/entry_summary_onblur.xml +feedparser/tests/wellformed/sanitize/entry_summary_onchange.xml +feedparser/tests/wellformed/sanitize/entry_summary_onclick.xml +feedparser/tests/wellformed/sanitize/entry_summary_ondblclick.xml +feedparser/tests/wellformed/sanitize/entry_summary_onerror.xml +feedparser/tests/wellformed/sanitize/entry_summary_onfocus.xml +feedparser/tests/wellformed/sanitize/entry_summary_onkeydown.xml +feedparser/tests/wellformed/sanitize/entry_summary_onkeypress.xml +feedparser/tests/wellformed/sanitize/entry_summary_onkeyup.xml +feedparser/tests/wellformed/sanitize/entry_summary_onload.xml +feedparser/tests/wellformed/sanitize/entry_summary_onmousedown.xml +feedparser/tests/wellformed/sanitize/entry_summary_onmouseout.xml +feedparser/tests/wellformed/sanitize/entry_summary_onmouseover.xml +feedparser/tests/wellformed/sanitize/entry_summary_onmouseup.xml +feedparser/tests/wellformed/sanitize/entry_summary_onreset.xml +feedparser/tests/wellformed/sanitize/entry_summary_onresize.xml +feedparser/tests/wellformed/sanitize/entry_summary_onsubmit.xml +feedparser/tests/wellformed/sanitize/entry_summary_onunload.xml +feedparser/tests/wellformed/sanitize/entry_summary_script.xml +feedparser/tests/wellformed/sanitize/entry_summary_script_base64.xml +feedparser/tests/wellformed/sanitize/entry_summary_script_cdata.xml +feedparser/tests/wellformed/sanitize/entry_summary_script_inline.xml +feedparser/tests/wellformed/sanitize/entry_summary_script_map_description.xml +feedparser/tests/wellformed/sanitize/entry_summary_style.xml +feedparser/tests/wellformed/sanitize/entry_title_applet.xml +feedparser/tests/wellformed/sanitize/entry_title_blink.xml +feedparser/tests/wellformed/sanitize/entry_title_crazy.xml +feedparser/tests/wellformed/sanitize/entry_title_embed.xml +feedparser/tests/wellformed/sanitize/entry_title_frame.xml +feedparser/tests/wellformed/sanitize/entry_title_iframe.xml +feedparser/tests/wellformed/sanitize/entry_title_link.xml +feedparser/tests/wellformed/sanitize/entry_title_meta.xml +feedparser/tests/wellformed/sanitize/entry_title_object.xml +feedparser/tests/wellformed/sanitize/entry_title_onabort.xml +feedparser/tests/wellformed/sanitize/entry_title_onblur.xml +feedparser/tests/wellformed/sanitize/entry_title_onchange.xml +feedparser/tests/wellformed/sanitize/entry_title_onclick.xml +feedparser/tests/wellformed/sanitize/entry_title_ondblclick.xml +feedparser/tests/wellformed/sanitize/entry_title_onerror.xml +feedparser/tests/wellformed/sanitize/entry_title_onfocus.xml +feedparser/tests/wellformed/sanitize/entry_title_onkeydown.xml +feedparser/tests/wellformed/sanitize/entry_title_onkeypress.xml +feedparser/tests/wellformed/sanitize/entry_title_onkeyup.xml +feedparser/tests/wellformed/sanitize/entry_title_onload.xml +feedparser/tests/wellformed/sanitize/entry_title_onmousedown.xml +feedparser/tests/wellformed/sanitize/entry_title_onmouseout.xml +feedparser/tests/wellformed/sanitize/entry_title_onmouseover.xml +feedparser/tests/wellformed/sanitize/entry_title_onmouseup.xml +feedparser/tests/wellformed/sanitize/entry_title_onreset.xml +feedparser/tests/wellformed/sanitize/entry_title_onresize.xml +feedparser/tests/wellformed/sanitize/entry_title_onsubmit.xml +feedparser/tests/wellformed/sanitize/entry_title_onunload.xml +feedparser/tests/wellformed/sanitize/entry_title_script.xml +feedparser/tests/wellformed/sanitize/entry_title_script_cdata.xml +feedparser/tests/wellformed/sanitize/entry_title_script_inline.xml +feedparser/tests/wellformed/sanitize/entry_title_style.xml +feedparser/tests/wellformed/sanitize/feed_copyright_applet.xml +feedparser/tests/wellformed/sanitize/feed_copyright_blink.xml +feedparser/tests/wellformed/sanitize/feed_copyright_crazy.xml +feedparser/tests/wellformed/sanitize/feed_copyright_embed.xml +feedparser/tests/wellformed/sanitize/feed_copyright_frame.xml +feedparser/tests/wellformed/sanitize/feed_copyright_iframe.xml +feedparser/tests/wellformed/sanitize/feed_copyright_link.xml +feedparser/tests/wellformed/sanitize/feed_copyright_meta.xml +feedparser/tests/wellformed/sanitize/feed_copyright_object.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onabort.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onblur.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onchange.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onclick.xml +feedparser/tests/wellformed/sanitize/feed_copyright_ondblclick.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onerror.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onfocus.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onkeydown.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onkeypress.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onkeyup.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onload.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onmousedown.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onmouseout.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onmouseover.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onmouseup.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onreset.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onresize.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onsubmit.xml +feedparser/tests/wellformed/sanitize/feed_copyright_onunload.xml +feedparser/tests/wellformed/sanitize/feed_copyright_script.xml +feedparser/tests/wellformed/sanitize/feed_copyright_script_cdata.xml +feedparser/tests/wellformed/sanitize/feed_copyright_script_inline.xml +feedparser/tests/wellformed/sanitize/feed_copyright_style.xml +feedparser/tests/wellformed/sanitize/feed_info_applet.xml +feedparser/tests/wellformed/sanitize/feed_info_blink.xml +feedparser/tests/wellformed/sanitize/feed_info_crazy.xml +feedparser/tests/wellformed/sanitize/feed_info_embed.xml +feedparser/tests/wellformed/sanitize/feed_info_frame.xml +feedparser/tests/wellformed/sanitize/feed_info_iframe.xml +feedparser/tests/wellformed/sanitize/feed_info_link.xml +feedparser/tests/wellformed/sanitize/feed_info_meta.xml +feedparser/tests/wellformed/sanitize/feed_info_object.xml +feedparser/tests/wellformed/sanitize/feed_info_onabort.xml +feedparser/tests/wellformed/sanitize/feed_info_onblur.xml +feedparser/tests/wellformed/sanitize/feed_info_onchange.xml +feedparser/tests/wellformed/sanitize/feed_info_onclick.xml +feedparser/tests/wellformed/sanitize/feed_info_ondblclick.xml +feedparser/tests/wellformed/sanitize/feed_info_onerror.xml +feedparser/tests/wellformed/sanitize/feed_info_onfocus.xml +feedparser/tests/wellformed/sanitize/feed_info_onkeydown.xml +feedparser/tests/wellformed/sanitize/feed_info_onkeypress.xml +feedparser/tests/wellformed/sanitize/feed_info_onkeyup.xml +feedparser/tests/wellformed/sanitize/feed_info_onload.xml +feedparser/tests/wellformed/sanitize/feed_info_onmousedown.xml +feedparser/tests/wellformed/sanitize/feed_info_onmouseout.xml +feedparser/tests/wellformed/sanitize/feed_info_onmouseover.xml +feedparser/tests/wellformed/sanitize/feed_info_onmouseup.xml +feedparser/tests/wellformed/sanitize/feed_info_onreset.xml +feedparser/tests/wellformed/sanitize/feed_info_onresize.xml +feedparser/tests/wellformed/sanitize/feed_info_onsubmit.xml +feedparser/tests/wellformed/sanitize/feed_info_onunload.xml +feedparser/tests/wellformed/sanitize/feed_info_script.xml +feedparser/tests/wellformed/sanitize/feed_info_script_cdata.xml +feedparser/tests/wellformed/sanitize/feed_info_script_inline.xml +feedparser/tests/wellformed/sanitize/feed_info_style.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_applet.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_blink.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_crazy.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_embed.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_frame.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_iframe.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_link.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_meta.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_object.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onabort.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onblur.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onchange.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onclick.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_ondblclick.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onerror.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onfocus.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onkeydown.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onkeypress.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onkeyup.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onload.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onmousedown.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onmouseout.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onmouseover.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onmouseup.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onreset.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onresize.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onsubmit.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_onunload.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_script.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_script_cdata.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_script_inline.xml +feedparser/tests/wellformed/sanitize/feed_subtitle_style.xml +feedparser/tests/wellformed/sanitize/feed_tagline_applet.xml +feedparser/tests/wellformed/sanitize/feed_tagline_blink.xml +feedparser/tests/wellformed/sanitize/feed_tagline_crazy.xml +feedparser/tests/wellformed/sanitize/feed_tagline_embed.xml +feedparser/tests/wellformed/sanitize/feed_tagline_frame.xml +feedparser/tests/wellformed/sanitize/feed_tagline_iframe.xml +feedparser/tests/wellformed/sanitize/feed_tagline_link.xml +feedparser/tests/wellformed/sanitize/feed_tagline_meta.xml +feedparser/tests/wellformed/sanitize/feed_tagline_object.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onabort.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onblur.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onchange.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onclick.xml +feedparser/tests/wellformed/sanitize/feed_tagline_ondblclick.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onerror.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onfocus.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onkeydown.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onkeypress.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onkeyup.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onload.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onmousedown.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onmouseout.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onmouseover.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onmouseup.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onreset.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onresize.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onsubmit.xml +feedparser/tests/wellformed/sanitize/feed_tagline_onunload.xml +feedparser/tests/wellformed/sanitize/feed_tagline_script.xml +feedparser/tests/wellformed/sanitize/feed_tagline_script_cdata.xml +feedparser/tests/wellformed/sanitize/feed_tagline_script_inline.xml +feedparser/tests/wellformed/sanitize/feed_tagline_script_map_description.xml +feedparser/tests/wellformed/sanitize/feed_tagline_style.xml +feedparser/tests/wellformed/sanitize/feed_title_applet.xml +feedparser/tests/wellformed/sanitize/feed_title_blink.xml +feedparser/tests/wellformed/sanitize/feed_title_crazy.xml +feedparser/tests/wellformed/sanitize/feed_title_embed.xml +feedparser/tests/wellformed/sanitize/feed_title_frame.xml +feedparser/tests/wellformed/sanitize/feed_title_iframe.xml +feedparser/tests/wellformed/sanitize/feed_title_link.xml +feedparser/tests/wellformed/sanitize/feed_title_meta.xml +feedparser/tests/wellformed/sanitize/feed_title_object.xml +feedparser/tests/wellformed/sanitize/feed_title_onabort.xml +feedparser/tests/wellformed/sanitize/feed_title_onblur.xml +feedparser/tests/wellformed/sanitize/feed_title_onchange.xml +feedparser/tests/wellformed/sanitize/feed_title_onclick.xml +feedparser/tests/wellformed/sanitize/feed_title_ondblclick.xml +feedparser/tests/wellformed/sanitize/feed_title_onerror.xml +feedparser/tests/wellformed/sanitize/feed_title_onfocus.xml +feedparser/tests/wellformed/sanitize/feed_title_onkeydown.xml +feedparser/tests/wellformed/sanitize/feed_title_onkeypress.xml +feedparser/tests/wellformed/sanitize/feed_title_onkeyup.xml +feedparser/tests/wellformed/sanitize/feed_title_onload.xml +feedparser/tests/wellformed/sanitize/feed_title_onmousedown.xml +feedparser/tests/wellformed/sanitize/feed_title_onmouseout.xml +feedparser/tests/wellformed/sanitize/feed_title_onmouseover.xml +feedparser/tests/wellformed/sanitize/feed_title_onmouseup.xml +feedparser/tests/wellformed/sanitize/feed_title_onreset.xml +feedparser/tests/wellformed/sanitize/feed_title_onresize.xml +feedparser/tests/wellformed/sanitize/feed_title_onsubmit.xml +feedparser/tests/wellformed/sanitize/feed_title_onunload.xml +feedparser/tests/wellformed/sanitize/feed_title_script.xml +feedparser/tests/wellformed/sanitize/feed_title_script_cdata.xml +feedparser/tests/wellformed/sanitize/feed_title_script_inline.xml +feedparser/tests/wellformed/sanitize/feed_title_style.xml +feedparser/tests/wellformed/sanitize/feed_title_unacceptable_uri.xml +feedparser/tests/wellformed/sanitize/item_body_applet.xml +feedparser/tests/wellformed/sanitize/item_body_blink.xml +feedparser/tests/wellformed/sanitize/item_body_embed.xml +feedparser/tests/wellformed/sanitize/item_body_frame.xml +feedparser/tests/wellformed/sanitize/item_body_iframe.xml +feedparser/tests/wellformed/sanitize/item_body_link.xml +feedparser/tests/wellformed/sanitize/item_body_meta.xml +feedparser/tests/wellformed/sanitize/item_body_object.xml +feedparser/tests/wellformed/sanitize/item_body_onabort.xml +feedparser/tests/wellformed/sanitize/item_body_onblur.xml +feedparser/tests/wellformed/sanitize/item_body_onchange.xml +feedparser/tests/wellformed/sanitize/item_body_onclick.xml +feedparser/tests/wellformed/sanitize/item_body_ondblclick.xml +feedparser/tests/wellformed/sanitize/item_body_onerror.xml +feedparser/tests/wellformed/sanitize/item_body_onfocus.xml +feedparser/tests/wellformed/sanitize/item_body_onkeydown.xml +feedparser/tests/wellformed/sanitize/item_body_onkeypress.xml +feedparser/tests/wellformed/sanitize/item_body_onkeyup.xml +feedparser/tests/wellformed/sanitize/item_body_onload.xml +feedparser/tests/wellformed/sanitize/item_body_onmousedown.xml +feedparser/tests/wellformed/sanitize/item_body_onmouseout.xml +feedparser/tests/wellformed/sanitize/item_body_onmouseover.xml +feedparser/tests/wellformed/sanitize/item_body_onmouseup.xml +feedparser/tests/wellformed/sanitize/item_body_onreset.xml +feedparser/tests/wellformed/sanitize/item_body_onresize.xml +feedparser/tests/wellformed/sanitize/item_body_onsubmit.xml +feedparser/tests/wellformed/sanitize/item_body_onunload.xml +feedparser/tests/wellformed/sanitize/item_body_script.xml +feedparser/tests/wellformed/sanitize/item_body_script_map_content.xml +feedparser/tests/wellformed/sanitize/item_body_style.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_applet.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_blink.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_crazy.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_embed.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_frame.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_iframe.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_link.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_map_content.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_meta.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_object.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onabort.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onblur.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onchange.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onclick.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_ondblclick.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onerror.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onfocus.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onkeydown.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onkeypress.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onkeyup.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onload.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onmousedown.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onmouseout.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onmouseover.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onmouseup.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onreset.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onresize.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onsubmit.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_onunload.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_script.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_script_cdata.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_script_map_content.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_script_nested_cdata.xml +feedparser/tests/wellformed/sanitize/item_content_encoded_style.xml +feedparser/tests/wellformed/sanitize/item_description_applet.xml +feedparser/tests/wellformed/sanitize/item_description_blink.xml +feedparser/tests/wellformed/sanitize/item_description_crazy.xml +feedparser/tests/wellformed/sanitize/item_description_embed.xml +feedparser/tests/wellformed/sanitize/item_description_frame.xml +feedparser/tests/wellformed/sanitize/item_description_iframe.xml +feedparser/tests/wellformed/sanitize/item_description_link.xml +feedparser/tests/wellformed/sanitize/item_description_meta.xml +feedparser/tests/wellformed/sanitize/item_description_object.xml +feedparser/tests/wellformed/sanitize/item_description_onabort.xml +feedparser/tests/wellformed/sanitize/item_description_onblur.xml +feedparser/tests/wellformed/sanitize/item_description_onchange.xml +feedparser/tests/wellformed/sanitize/item_description_onclick.xml +feedparser/tests/wellformed/sanitize/item_description_ondblclick.xml +feedparser/tests/wellformed/sanitize/item_description_onerror.xml +feedparser/tests/wellformed/sanitize/item_description_onfocus.xml +feedparser/tests/wellformed/sanitize/item_description_onkeydown.xml +feedparser/tests/wellformed/sanitize/item_description_onkeypress.xml +feedparser/tests/wellformed/sanitize/item_description_onkeyup.xml +feedparser/tests/wellformed/sanitize/item_description_onload.xml +feedparser/tests/wellformed/sanitize/item_description_onmousedown.xml +feedparser/tests/wellformed/sanitize/item_description_onmouseout.xml +feedparser/tests/wellformed/sanitize/item_description_onmouseover.xml +feedparser/tests/wellformed/sanitize/item_description_onmouseup.xml +feedparser/tests/wellformed/sanitize/item_description_onreset.xml +feedparser/tests/wellformed/sanitize/item_description_onresize.xml +feedparser/tests/wellformed/sanitize/item_description_onsubmit.xml +feedparser/tests/wellformed/sanitize/item_description_onunload.xml +feedparser/tests/wellformed/sanitize/item_description_script.xml +feedparser/tests/wellformed/sanitize/item_description_script_cdata.xml +feedparser/tests/wellformed/sanitize/item_description_script_map_summary.xml +feedparser/tests/wellformed/sanitize/item_description_style.xml +feedparser/tests/wellformed/sanitize/item_fullitem_applet.xml +feedparser/tests/wellformed/sanitize/item_fullitem_blink.xml +feedparser/tests/wellformed/sanitize/item_fullitem_crazy.xml +feedparser/tests/wellformed/sanitize/item_fullitem_embed.xml +feedparser/tests/wellformed/sanitize/item_fullitem_frame.xml +feedparser/tests/wellformed/sanitize/item_fullitem_iframe.xml +feedparser/tests/wellformed/sanitize/item_fullitem_link.xml +feedparser/tests/wellformed/sanitize/item_fullitem_meta.xml +feedparser/tests/wellformed/sanitize/item_fullitem_object.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onabort.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onblur.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onchange.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onclick.xml +feedparser/tests/wellformed/sanitize/item_fullitem_ondblclick.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onerror.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onfocus.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onkeydown.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onkeypress.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onkeyup.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onload.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onmousedown.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onmouseout.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onmouseover.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onmouseup.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onreset.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onresize.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onsubmit.xml +feedparser/tests/wellformed/sanitize/item_fullitem_onunload.xml +feedparser/tests/wellformed/sanitize/item_fullitem_script.xml +feedparser/tests/wellformed/sanitize/item_fullitem_script_cdata.xml +feedparser/tests/wellformed/sanitize/item_fullitem_script_map_summary.xml +feedparser/tests/wellformed/sanitize/item_fullitem_style.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_applet.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_blink.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_embed.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_frame.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_iframe.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_link.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_meta.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_object.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onabort.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onblur.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onchange.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onclick.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_ondblclick.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onerror.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onfocus.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onkeydown.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onkeypress.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onkeyup.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onload.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onmousedown.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onmouseout.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onmouseover.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onmouseup.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onreset.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onresize.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onsubmit.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_onunload.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_script.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_script_map_content.xml +feedparser/tests/wellformed/sanitize/item_xhtml_body_style.xml +feedparser/tests/wellformed/sanitize/large_atom_feed_that_needs_css_sanitisation.xml +feedparser/tests/wellformed/sanitize/style_background_repeat_repeat_x.xml +feedparser/tests/wellformed/sanitize/style_background_url.xml +feedparser/tests/wellformed/sanitize/style_background_yellow.xml +feedparser/tests/wellformed/sanitize/style_border_0.xml +feedparser/tests/wellformed/sanitize/style_border_1px_solid_rgb_0_0_0_.xml +feedparser/tests/wellformed/sanitize/style_border_3px_solid_ccc.xml +feedparser/tests/wellformed/sanitize/style_border_bottom_0pt.xml +feedparser/tests/wellformed/sanitize/style_border_bottom_dashed.xml +feedparser/tests/wellformed/sanitize/style_border_bottom_dotted.xml +feedparser/tests/wellformed/sanitize/style_border_collapse_collapse.xml +feedparser/tests/wellformed/sanitize/style_border_left_0pt.xml +feedparser/tests/wellformed/sanitize/style_border_medium_none_.xml +feedparser/tests/wellformed/sanitize/style_border_none_important.xml +feedparser/tests/wellformed/sanitize/style_border_right_0pt.xml +feedparser/tests/wellformed/sanitize/style_border_solid_2px_000000.xml +feedparser/tests/wellformed/sanitize/style_border_top_0pt.xml +feedparser/tests/wellformed/sanitize/style_clear_both.xml +feedparser/tests/wellformed/sanitize/style_color_000080.xml +feedparser/tests/wellformed/sanitize/style_color_008.xml +feedparser/tests/wellformed/sanitize/style_color_999999.xml +feedparser/tests/wellformed/sanitize/style_color_blue.xml +feedparser/tests/wellformed/sanitize/style_color_maroon.xml +feedparser/tests/wellformed/sanitize/style_color_red.xml +feedparser/tests/wellformed/sanitize/style_color_rgb_0_128_0_.xml +feedparser/tests/wellformed/sanitize/style_color_teal.xml +feedparser/tests/wellformed/sanitize/style_cursor_pointer.xml +feedparser/tests/wellformed/sanitize/style_display_block.xml +feedparser/tests/wellformed/sanitize/style_float_left.xml +feedparser/tests/wellformed/sanitize/style_float_right.xml +feedparser/tests/wellformed/sanitize/style_font_family__comic_sans_ms.xml +feedparser/tests/wellformed/sanitize/style_font_family_arial_sans_serif.xml +feedparser/tests/wellformed/sanitize/style_font_family_lucida_console_.xml +feedparser/tests/wellformed/sanitize/style_font_family_symbol.xml +feedparser/tests/wellformed/sanitize/style_font_size_0_9em.xml +feedparser/tests/wellformed/sanitize/style_font_size_10pt.xml +feedparser/tests/wellformed/sanitize/style_font_size_10px.xml +feedparser/tests/wellformed/sanitize/style_font_size_smaller.xml +feedparser/tests/wellformed/sanitize/style_font_style_italic.xml +feedparser/tests/wellformed/sanitize/style_font_weight_bold.xml +feedparser/tests/wellformed/sanitize/style_height_100px.xml +feedparser/tests/wellformed/sanitize/style_height_2px.xml +feedparser/tests/wellformed/sanitize/style_letter_spacing_1px.xml +feedparser/tests/wellformed/sanitize/style_line_height_normal.xml +feedparser/tests/wellformed/sanitize/style_margin_0.xml +feedparser/tests/wellformed/sanitize/style_margin_0_15px_0_0.xml +feedparser/tests/wellformed/sanitize/style_margin_0px_important.xml +feedparser/tests/wellformed/sanitize/style_margin_5px.xml +feedparser/tests/wellformed/sanitize/style_margin_99999em.xml +feedparser/tests/wellformed/sanitize/style_margin_bottom_0pt.xml +feedparser/tests/wellformed/sanitize/style_margin_bottom_10px.xml +feedparser/tests/wellformed/sanitize/style_margin_left_5px.xml +feedparser/tests/wellformed/sanitize/style_margin_right_0px.xml +feedparser/tests/wellformed/sanitize/style_margin_top_0in.xml +feedparser/tests/wellformed/sanitize/style_margin_top_10px.xml +feedparser/tests/wellformed/sanitize/style_moz_background_clip_initial.xml +feedparser/tests/wellformed/sanitize/style_mso_ansi_language_nl.xml +feedparser/tests/wellformed/sanitize/style_mso_bidi_font_weight_normal.xml +feedparser/tests/wellformed/sanitize/style_mso_highlight_yellow.xml +feedparser/tests/wellformed/sanitize/style_mso_layout_grid_align_none.xml +feedparser/tests/wellformed/sanitize/style_mso_list_l0_level1_lfo1.xml +feedparser/tests/wellformed/sanitize/style_mso_no_proof_yes.xml +feedparser/tests/wellformed/sanitize/style_mso_spacerun_yes.xml +feedparser/tests/wellformed/sanitize/style_mso_tab_count_3.xml +feedparser/tests/wellformed/sanitize/style_overflow_auto.xml +feedparser/tests/wellformed/sanitize/style_padding_0.xml +feedparser/tests/wellformed/sanitize/style_padding_0_0_12px_12px.xml +feedparser/tests/wellformed/sanitize/style_padding_2ex.xml +feedparser/tests/wellformed/sanitize/style_padding_99999em.xml +feedparser/tests/wellformed/sanitize/style_padding_left_4px.xml +feedparser/tests/wellformed/sanitize/style_padding_right_0in.xml +feedparser/tests/wellformed/sanitize/style_position_absolute.xml +feedparser/tests/wellformed/sanitize/style_tab_stops_list_5in.xml +feedparser/tests/wellformed/sanitize/style_text_align_center.xml +feedparser/tests/wellformed/sanitize/style_text_align_left.xml +feedparser/tests/wellformed/sanitize/style_text_align_right.xml +feedparser/tests/wellformed/sanitize/style_text_decoration_underline.xml +feedparser/tests/wellformed/sanitize/style_text_indent_0_5in.xml +feedparser/tests/wellformed/sanitize/style_vertical_align_bottom.xml +feedparser/tests/wellformed/sanitize/style_vertical_align_top.xml +feedparser/tests/wellformed/sanitize/style_white_space_nowrap.xml +feedparser/tests/wellformed/sanitize/style_white_space_top.xml +feedparser/tests/wellformed/sanitize/style_width_300px.xml +feedparser/tests/wellformed/sanitize/xml_declaration_unexpected_character.xml +feedparser/tests/wellformed/sanitize/xml_malicious_comment.xml +feedparser/tests/wellformed/sanitize/xml_unclosed_comment.xml +feedparser/tests/wellformed/sgml/charref_uppercase_x.xml +feedparser/tests/wellformed/xml/empty_xmlns_uri.xml +feedparser/tests/wellformed/xml/escaped_apos.xml +feedparser/tests/wellformed/xml/xlink_ns_no_prefix.xml \ No newline at end of file diff --git a/lib/feedparser/feedparser.egg-info/dependency_links.txt b/lib/feedparser/feedparser.egg-info/dependency_links.txt new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/lib/feedparser/feedparser.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/lib/feedparser/feedparser.egg-info/top_level.txt b/lib/feedparser/feedparser.egg-info/top_level.txt new file mode 100644 index 00000000..1b25361f --- /dev/null +++ b/lib/feedparser/feedparser.egg-info/top_level.txt @@ -0,0 +1 @@ +feedparser diff --git a/lib/feedparser/feedparser.py b/lib/feedparser/feedparser.py new file mode 100644 index 00000000..c78e6a39 --- /dev/null +++ b/lib/feedparser/feedparser.py @@ -0,0 +1,4013 @@ +"""Universal feed parser + +Handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds + +Visit https://code.google.com/p/feedparser/ for the latest version +Visit http://packages.python.org/feedparser/ for the latest documentation + +Required: Python 2.4 or later +Recommended: iconv_codec +""" + +__version__ = "5.1.3" +__license__ = """ +Copyright (c) 2010-2012 Kurt McKee +Copyright (c) 2002-2008 Mark Pilgrim +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE.""" +__author__ = "Mark Pilgrim " +__contributors__ = ["Jason Diamond ", + "John Beimler ", + "Fazal Majid ", + "Aaron Swartz ", + "Kevin Marks ", + "Sam Ruby ", + "Ade Oshineye ", + "Martin Pool ", + "Kurt McKee ", + "Bernd Schlapsi ",] + +# HTTP "User-Agent" header to send to servers when downloading feeds. +# If you are embedding feedparser in a larger application, you should +# change this to your application name and URL. +USER_AGENT = "UniversalFeedParser/%s +https://code.google.com/p/feedparser/" % __version__ + +# HTTP "Accept" header to send to servers when downloading feeds. If you don't +# want to send an Accept header, set this to None. +ACCEPT_HEADER = "application/atom+xml,application/rdf+xml,application/rss+xml,application/x-netcdf,application/xml;q=0.9,text/xml;q=0.2,*/*;q=0.1" + +# List of preferred XML parsers, by SAX driver name. These will be tried first, +# but if they're not installed, Python will keep searching through its own list +# of pre-installed parsers until it finds one that supports everything we need. +PREFERRED_XML_PARSERS = ["drv_libxml2"] + +# If you want feedparser to automatically run HTML markup through HTML Tidy, set +# this to 1. Requires mxTidy +# or utidylib . +TIDY_MARKUP = 0 + +# List of Python interfaces for HTML Tidy, in order of preference. Only useful +# if TIDY_MARKUP = 1 +PREFERRED_TIDY_INTERFACES = ["uTidy", "mxTidy"] + +# If you want feedparser to automatically resolve all relative URIs, set this +# to 1. +RESOLVE_RELATIVE_URIS = 1 + +# If you want feedparser to automatically sanitize all potentially unsafe +# HTML content, set this to 1. +SANITIZE_HTML = 1 + +# If you want feedparser to automatically parse microformat content embedded +# in entry contents, set this to 1 +PARSE_MICROFORMATS = 1 + +# ---------- Python 3 modules (make it work if possible) ---------- +try: + import rfc822 +except ImportError: + from email import _parseaddr as rfc822 + +try: + # Python 3.1 introduces bytes.maketrans and simultaneously + # deprecates string.maketrans; use bytes.maketrans if possible + _maketrans = bytes.maketrans +except (NameError, AttributeError): + import string + _maketrans = string.maketrans + +# base64 support for Atom feeds that contain embedded binary data +try: + import base64, binascii +except ImportError: + base64 = binascii = None +else: + # Python 3.1 deprecates decodestring in favor of decodebytes + _base64decode = getattr(base64, 'decodebytes', base64.decodestring) + +# _s2bytes: convert a UTF-8 str to bytes if the interpreter is Python 3 +# _l2bytes: convert a list of ints to bytes if the interpreter is Python 3 +try: + if bytes is str: + # In Python 2.5 and below, bytes doesn't exist (NameError) + # In Python 2.6 and above, bytes and str are the same type + raise NameError +except NameError: + # Python 2 + def _s2bytes(s): + return s + def _l2bytes(l): + return ''.join(map(chr, l)) +else: + # Python 3 + def _s2bytes(s): + return bytes(s, 'utf8') + def _l2bytes(l): + return bytes(l) + +# If you want feedparser to allow all URL schemes, set this to () +# List culled from Python's urlparse documentation at: +# http://docs.python.org/library/urlparse.html +# as well as from "URI scheme" at Wikipedia: +# https://secure.wikimedia.org/wikipedia/en/wiki/URI_scheme +# Many more will likely need to be added! +ACCEPTABLE_URI_SCHEMES = ( + 'file', 'ftp', 'gopher', 'h323', 'hdl', 'http', 'https', 'imap', 'magnet', + 'mailto', 'mms', 'news', 'nntp', 'prospero', 'rsync', 'rtsp', 'rtspu', + 'sftp', 'shttp', 'sip', 'sips', 'snews', 'svn', 'svn+ssh', 'telnet', + 'wais', + # Additional common-but-unofficial schemes + 'aim', 'callto', 'cvs', 'facetime', 'feed', 'git', 'gtalk', 'irc', 'ircs', + 'irc6', 'itms', 'mms', 'msnim', 'skype', 'ssh', 'smb', 'svn', 'ymsg', +) +#ACCEPTABLE_URI_SCHEMES = () + +# ---------- required modules (should come with any Python distribution) ---------- +import cgi +import codecs +import copy +import datetime +import re +import struct +import time +import types +import urllib +import urllib2 +import urlparse +import warnings + +from htmlentitydefs import name2codepoint, codepoint2name, entitydefs + +try: + from io import BytesIO as _StringIO +except ImportError: + try: + from cStringIO import StringIO as _StringIO + except ImportError: + from StringIO import StringIO as _StringIO + +# ---------- optional modules (feedparser will work without these, but with reduced functionality) ---------- + +# gzip is included with most Python distributions, but may not be available if you compiled your own +try: + import gzip +except ImportError: + gzip = None +try: + import zlib +except ImportError: + zlib = None + +# If a real XML parser is available, feedparser will attempt to use it. feedparser has +# been tested with the built-in SAX parser and libxml2. On platforms where the +# Python distribution does not come with an XML parser (such as Mac OS X 10.2 and some +# versions of FreeBSD), feedparser will quietly fall back on regex-based parsing. +try: + import xml.sax + from xml.sax.saxutils import escape as _xmlescape +except ImportError: + _XML_AVAILABLE = 0 + def _xmlescape(data,entities={}): + data = data.replace('&', '&') + data = data.replace('>', '>') + data = data.replace('<', '<') + for char, entity in entities: + data = data.replace(char, entity) + return data +else: + try: + xml.sax.make_parser(PREFERRED_XML_PARSERS) # test for valid parsers + except xml.sax.SAXReaderNotAvailable: + _XML_AVAILABLE = 0 + else: + _XML_AVAILABLE = 1 + +# sgmllib is not available by default in Python 3; if the end user doesn't have +# it available then we'll lose illformed XML parsing, content santizing, and +# microformat support (at least while feedparser depends on BeautifulSoup). +try: + import sgmllib +except ImportError: + # This is probably Python 3, which doesn't include sgmllib anymore + _SGML_AVAILABLE = 0 + + # Mock sgmllib enough to allow subclassing later on + class sgmllib(object): + class SGMLParser(object): + def goahead(self, i): + pass + def parse_starttag(self, i): + pass +else: + _SGML_AVAILABLE = 1 + + # sgmllib defines a number of module-level regular expressions that are + # insufficient for the XML parsing feedparser needs. Rather than modify + # the variables directly in sgmllib, they're defined here using the same + # names, and the compiled code objects of several sgmllib.SGMLParser + # methods are copied into _BaseHTMLProcessor so that they execute in + # feedparser's scope instead of sgmllib's scope. + charref = re.compile('&#(\d+|[xX][0-9a-fA-F]+);') + tagfind = re.compile('[a-zA-Z][-_.:a-zA-Z0-9]*') + attrfind = re.compile( + r'\s*([a-zA-Z_][-:.a-zA-Z_0-9]*)[$]?(\s*=\s*' + r'(\'[^\']*\'|"[^"]*"|[][\-a-zA-Z0-9./,:;+*%?!&$\(\)_#=~\'"@]*))?' + ) + + # Unfortunately, these must be copied over to prevent NameError exceptions + entityref = sgmllib.entityref + incomplete = sgmllib.incomplete + interesting = sgmllib.interesting + shorttag = sgmllib.shorttag + shorttagopen = sgmllib.shorttagopen + starttagopen = sgmllib.starttagopen + + class _EndBracketRegEx: + def __init__(self): + # Overriding the built-in sgmllib.endbracket regex allows the + # parser to find angle brackets embedded in element attributes. + self.endbracket = re.compile('''([^'"<>]|"[^"]*"(?=>|/|\s|\w+=)|'[^']*'(?=>|/|\s|\w+=))*(?=[<>])|.*?(?=[<>])''') + def search(self, target, index=0): + match = self.endbracket.match(target, index) + if match is not None: + # Returning a new object in the calling thread's context + # resolves a thread-safety. + return EndBracketMatch(match) + return None + class EndBracketMatch: + def __init__(self, match): + self.match = match + def start(self, n): + return self.match.end(n) + endbracket = _EndBracketRegEx() + + +# iconv_codec provides support for more character encodings. +# It's available from http://cjkpython.i18n.org/ +try: + import iconv_codec +except ImportError: + pass + +# chardet library auto-detects character encodings +# Download from http://chardet.feedparser.org/ +try: + import chardet +except ImportError: + chardet = None + +# BeautifulSoup is used to extract microformat content from HTML +# feedparser is tested using BeautifulSoup 3.2.0 +# http://www.crummy.com/software/BeautifulSoup/ +try: + import BeautifulSoup +except ImportError: + BeautifulSoup = None + PARSE_MICROFORMATS = False + +# ---------- don't touch these ---------- +class ThingsNobodyCaresAboutButMe(Exception): pass +class CharacterEncodingOverride(ThingsNobodyCaresAboutButMe): pass +class CharacterEncodingUnknown(ThingsNobodyCaresAboutButMe): pass +class NonXMLContentType(ThingsNobodyCaresAboutButMe): pass +class UndeclaredNamespace(Exception): pass + +SUPPORTED_VERSIONS = {'': u'unknown', + 'rss090': u'RSS 0.90', + 'rss091n': u'RSS 0.91 (Netscape)', + 'rss091u': u'RSS 0.91 (Userland)', + 'rss092': u'RSS 0.92', + 'rss093': u'RSS 0.93', + 'rss094': u'RSS 0.94', + 'rss20': u'RSS 2.0', + 'rss10': u'RSS 1.0', + 'rss': u'RSS (unknown version)', + 'atom01': u'Atom 0.1', + 'atom02': u'Atom 0.2', + 'atom03': u'Atom 0.3', + 'atom10': u'Atom 1.0', + 'atom': u'Atom (unknown version)', + 'cdf': u'CDF', + } + +class FeedParserDict(dict): + keymap = {'channel': 'feed', + 'items': 'entries', + 'guid': 'id', + 'date': 'updated', + 'date_parsed': 'updated_parsed', + 'description': ['summary', 'subtitle'], + 'description_detail': ['summary_detail', 'subtitle_detail'], + 'url': ['href'], + 'modified': 'updated', + 'modified_parsed': 'updated_parsed', + 'issued': 'published', + 'issued_parsed': 'published_parsed', + 'copyright': 'rights', + 'copyright_detail': 'rights_detail', + 'tagline': 'subtitle', + 'tagline_detail': 'subtitle_detail'} + def __getitem__(self, key): + if key == 'category': + try: + return dict.__getitem__(self, 'tags')[0]['term'] + except IndexError: + raise KeyError, "object doesn't have key 'category'" + elif key == 'enclosures': + norel = lambda link: FeedParserDict([(name,value) for (name,value) in link.items() if name!='rel']) + return [norel(link) for link in dict.__getitem__(self, 'links') if link['rel']==u'enclosure'] + elif key == 'license': + for link in dict.__getitem__(self, 'links'): + if link['rel']==u'license' and 'href' in link: + return link['href'] + elif key == 'updated': + # Temporarily help developers out by keeping the old + # broken behavior that was reported in issue 310. + # This fix was proposed in issue 328. + if not dict.__contains__(self, 'updated') and \ + dict.__contains__(self, 'published'): + warnings.warn("To avoid breaking existing software while " + "fixing issue 310, a temporary mapping has been created " + "from `updated` to `published` if `updated` doesn't " + "exist. This fallback will be removed in a future version " + "of feedparser.", DeprecationWarning) + return dict.__getitem__(self, 'published') + return dict.__getitem__(self, 'updated') + elif key == 'updated_parsed': + if not dict.__contains__(self, 'updated_parsed') and \ + dict.__contains__(self, 'published_parsed'): + warnings.warn("To avoid breaking existing software while " + "fixing issue 310, a temporary mapping has been created " + "from `updated_parsed` to `published_parsed` if " + "`updated_parsed` doesn't exist. This fallback will be " + "removed in a future version of feedparser.", + DeprecationWarning) + return dict.__getitem__(self, 'published_parsed') + return dict.__getitem__(self, 'updated_parsed') + else: + realkey = self.keymap.get(key, key) + if isinstance(realkey, list): + for k in realkey: + if dict.__contains__(self, k): + return dict.__getitem__(self, k) + elif dict.__contains__(self, realkey): + return dict.__getitem__(self, realkey) + return dict.__getitem__(self, key) + + def __contains__(self, key): + if key in ('updated', 'updated_parsed'): + # Temporarily help developers out by keeping the old + # broken behavior that was reported in issue 310. + # This fix was proposed in issue 328. + return dict.__contains__(self, key) + try: + self.__getitem__(key) + except KeyError: + return False + else: + return True + + has_key = __contains__ + + def get(self, key, default=None): + try: + return self.__getitem__(key) + except KeyError: + return default + + def __setitem__(self, key, value): + key = self.keymap.get(key, key) + if isinstance(key, list): + key = key[0] + return dict.__setitem__(self, key, value) + + def setdefault(self, key, value): + if key not in self: + self[key] = value + return value + return self[key] + + def __getattr__(self, key): + # __getattribute__() is called first; this will be called + # only if an attribute was not already found + try: + return self.__getitem__(key) + except KeyError: + raise AttributeError, "object has no attribute '%s'" % key + + def __hash__(self): + return id(self) + +_cp1252 = { + 128: unichr(8364), # euro sign + 130: unichr(8218), # single low-9 quotation mark + 131: unichr( 402), # latin small letter f with hook + 132: unichr(8222), # double low-9 quotation mark + 133: unichr(8230), # horizontal ellipsis + 134: unichr(8224), # dagger + 135: unichr(8225), # double dagger + 136: unichr( 710), # modifier letter circumflex accent + 137: unichr(8240), # per mille sign + 138: unichr( 352), # latin capital letter s with caron + 139: unichr(8249), # single left-pointing angle quotation mark + 140: unichr( 338), # latin capital ligature oe + 142: unichr( 381), # latin capital letter z with caron + 145: unichr(8216), # left single quotation mark + 146: unichr(8217), # right single quotation mark + 147: unichr(8220), # left double quotation mark + 148: unichr(8221), # right double quotation mark + 149: unichr(8226), # bullet + 150: unichr(8211), # en dash + 151: unichr(8212), # em dash + 152: unichr( 732), # small tilde + 153: unichr(8482), # trade mark sign + 154: unichr( 353), # latin small letter s with caron + 155: unichr(8250), # single right-pointing angle quotation mark + 156: unichr( 339), # latin small ligature oe + 158: unichr( 382), # latin small letter z with caron + 159: unichr( 376), # latin capital letter y with diaeresis +} + +_urifixer = re.compile('^([A-Za-z][A-Za-z0-9+-.]*://)(/*)(.*?)') +def _urljoin(base, uri): + uri = _urifixer.sub(r'\1\3', uri) + #try: + if not isinstance(uri, unicode): + uri = uri.decode('utf-8', 'ignore') + uri = urlparse.urljoin(base, uri) + if not isinstance(uri, unicode): + return uri.decode('utf-8', 'ignore') + return uri + #except: + # uri = urlparse.urlunparse([urllib.quote(part) for part in urlparse.urlparse(uri)]) + # return urlparse.urljoin(base, uri) + +class _FeedParserMixin: + namespaces = { + '': '', + 'http://backend.userland.com/rss': '', + 'http://blogs.law.harvard.edu/tech/rss': '', + 'http://purl.org/rss/1.0/': '', + 'http://my.netscape.com/rdf/simple/0.9/': '', + 'http://example.com/newformat#': '', + 'http://example.com/necho': '', + 'http://purl.org/echo/': '', + 'uri/of/echo/namespace#': '', + 'http://purl.org/pie/': '', + 'http://purl.org/atom/ns#': '', + 'http://www.w3.org/2005/Atom': '', + 'http://purl.org/rss/1.0/modules/rss091#': '', + + 'http://webns.net/mvcb/': 'admin', + 'http://purl.org/rss/1.0/modules/aggregation/': 'ag', + 'http://purl.org/rss/1.0/modules/annotate/': 'annotate', + 'http://media.tangent.org/rss/1.0/': 'audio', + 'http://backend.userland.com/blogChannelModule': 'blogChannel', + 'http://web.resource.org/cc/': 'cc', + 'http://backend.userland.com/creativeCommonsRssModule': 'creativeCommons', + 'http://purl.org/rss/1.0/modules/company': 'co', + 'http://purl.org/rss/1.0/modules/content/': 'content', + 'http://my.theinfo.org/changed/1.0/rss/': 'cp', + 'http://purl.org/dc/elements/1.1/': 'dc', + 'http://purl.org/dc/terms/': 'dcterms', + 'http://purl.org/rss/1.0/modules/email/': 'email', + 'http://purl.org/rss/1.0/modules/event/': 'ev', + 'http://rssnamespace.org/feedburner/ext/1.0': 'feedburner', + 'http://freshmeat.net/rss/fm/': 'fm', + 'http://xmlns.com/foaf/0.1/': 'foaf', + 'http://www.w3.org/2003/01/geo/wgs84_pos#': 'geo', + 'http://postneo.com/icbm/': 'icbm', + 'http://purl.org/rss/1.0/modules/image/': 'image', + 'http://www.itunes.com/DTDs/PodCast-1.0.dtd': 'itunes', + 'http://example.com/DTDs/PodCast-1.0.dtd': 'itunes', + 'http://purl.org/rss/1.0/modules/link/': 'l', + 'http://search.yahoo.com/mrss': 'media', + # Version 1.1.2 of the Media RSS spec added the trailing slash on the namespace + 'http://search.yahoo.com/mrss/': 'media', + 'http://madskills.com/public/xml/rss/module/pingback/': 'pingback', + 'http://prismstandard.org/namespaces/1.2/basic/': 'prism', + 'http://www.w3.org/1999/02/22-rdf-syntax-ns#': 'rdf', + 'http://www.w3.org/2000/01/rdf-schema#': 'rdfs', + 'http://purl.org/rss/1.0/modules/reference/': 'ref', + 'http://purl.org/rss/1.0/modules/richequiv/': 'reqv', + 'http://purl.org/rss/1.0/modules/search/': 'search', + 'http://purl.org/rss/1.0/modules/slash/': 'slash', + 'http://schemas.xmlsoap.org/soap/envelope/': 'soap', + 'http://purl.org/rss/1.0/modules/servicestatus/': 'ss', + 'http://hacks.benhammersley.com/rss/streaming/': 'str', + 'http://purl.org/rss/1.0/modules/subscription/': 'sub', + 'http://purl.org/rss/1.0/modules/syndication/': 'sy', + 'http://schemas.pocketsoap.com/rss/myDescModule/': 'szf', + 'http://purl.org/rss/1.0/modules/taxonomy/': 'taxo', + 'http://purl.org/rss/1.0/modules/threading/': 'thr', + 'http://purl.org/rss/1.0/modules/textinput/': 'ti', + 'http://madskills.com/public/xml/rss/module/trackback/': 'trackback', + 'http://wellformedweb.org/commentAPI/': 'wfw', + 'http://purl.org/rss/1.0/modules/wiki/': 'wiki', + 'http://www.w3.org/1999/xhtml': 'xhtml', + 'http://www.w3.org/1999/xlink': 'xlink', + 'http://www.w3.org/XML/1998/namespace': 'xml', + } + _matchnamespaces = {} + + can_be_relative_uri = set(['link', 'id', 'wfw_comment', 'wfw_commentrss', 'docs', 'url', 'href', 'comments', 'icon', 'logo']) + can_contain_relative_uris = set(['content', 'title', 'summary', 'info', 'tagline', 'subtitle', 'copyright', 'rights', 'description']) + can_contain_dangerous_markup = set(['content', 'title', 'summary', 'info', 'tagline', 'subtitle', 'copyright', 'rights', 'description']) + html_types = [u'text/html', u'application/xhtml+xml'] + + def __init__(self, baseuri=None, baselang=None, encoding=u'utf-8'): + if not self._matchnamespaces: + for k, v in self.namespaces.items(): + self._matchnamespaces[k.lower()] = v + self.feeddata = FeedParserDict() # feed-level data + self.encoding = encoding # character encoding + self.entries = [] # list of entry-level data + self.version = u'' # feed type/version, see SUPPORTED_VERSIONS + self.namespacesInUse = {} # dictionary of namespaces defined by the feed + + # the following are used internally to track state; + # this is really out of control and should be refactored + self.infeed = 0 + self.inentry = 0 + self.incontent = 0 + self.intextinput = 0 + self.inimage = 0 + self.inauthor = 0 + self.incontributor = 0 + self.inpublisher = 0 + self.insource = 0 + self.sourcedata = FeedParserDict() + self.contentparams = FeedParserDict() + self._summaryKey = None + self.namespacemap = {} + self.elementstack = [] + self.basestack = [] + self.langstack = [] + self.baseuri = baseuri or u'' + self.lang = baselang or None + self.svgOK = 0 + self.title_depth = -1 + self.depth = 0 + if baselang: + self.feeddata['language'] = baselang.replace('_','-') + + # A map of the following form: + # { + # object_that_value_is_set_on: { + # property_name: depth_of_node_property_was_extracted_from, + # other_property: depth_of_node_property_was_extracted_from, + # }, + # } + self.property_depth_map = {} + + def _normalize_attributes(self, kv): + k = kv[0].lower() + v = k in ('rel', 'type') and kv[1].lower() or kv[1] + # the sgml parser doesn't handle entities in attributes, nor + # does it pass the attribute values through as unicode, while + # strict xml parsers do -- account for this difference + if isinstance(self, _LooseFeedParser): + v = v.replace('&', '&') + if not isinstance(v, unicode): + v = v.decode('utf-8') + return (k, v) + + def unknown_starttag(self, tag, attrs): + # increment depth counter + self.depth += 1 + + # normalize attrs + attrs = map(self._normalize_attributes, attrs) + + # track xml:base and xml:lang + attrsD = dict(attrs) + baseuri = attrsD.get('xml:base', attrsD.get('base')) or self.baseuri + if not isinstance(baseuri, unicode): + baseuri = baseuri.decode(self.encoding, 'ignore') + # ensure that self.baseuri is always an absolute URI that + # uses a whitelisted URI scheme (e.g. not `javscript:`) + if self.baseuri: + self.baseuri = _makeSafeAbsoluteURI(self.baseuri, baseuri) or self.baseuri + else: + self.baseuri = _urljoin(self.baseuri, baseuri) + lang = attrsD.get('xml:lang', attrsD.get('lang')) + if lang == '': + # xml:lang could be explicitly set to '', we need to capture that + lang = None + elif lang is None: + # if no xml:lang is specified, use parent lang + lang = self.lang + if lang: + if tag in ('feed', 'rss', 'rdf:RDF'): + self.feeddata['language'] = lang.replace('_','-') + self.lang = lang + self.basestack.append(self.baseuri) + self.langstack.append(lang) + + # track namespaces + for prefix, uri in attrs: + if prefix.startswith('xmlns:'): + self.trackNamespace(prefix[6:], uri) + elif prefix == 'xmlns': + self.trackNamespace(None, uri) + + # track inline content + if self.incontent and not self.contentparams.get('type', u'xml').endswith(u'xml'): + if tag in ('xhtml:div', 'div'): + return # typepad does this 10/2007 + # element declared itself as escaped markup, but it isn't really + self.contentparams['type'] = u'application/xhtml+xml' + if self.incontent and self.contentparams.get('type') == u'application/xhtml+xml': + if tag.find(':') <> -1: + prefix, tag = tag.split(':', 1) + namespace = self.namespacesInUse.get(prefix, '') + if tag=='math' and namespace=='http://www.w3.org/1998/Math/MathML': + attrs.append(('xmlns',namespace)) + if tag=='svg' and namespace=='http://www.w3.org/2000/svg': + attrs.append(('xmlns',namespace)) + if tag == 'svg': + self.svgOK += 1 + return self.handle_data('<%s%s>' % (tag, self.strattrs(attrs)), escape=0) + + # match namespaces + if tag.find(':') <> -1: + prefix, suffix = tag.split(':', 1) + else: + prefix, suffix = '', tag + prefix = self.namespacemap.get(prefix, prefix) + if prefix: + prefix = prefix + '_' + + # special hack for better tracking of empty textinput/image elements in illformed feeds + if (not prefix) and tag not in ('title', 'link', 'description', 'name'): + self.intextinput = 0 + if (not prefix) and tag not in ('title', 'link', 'description', 'url', 'href', 'width', 'height'): + self.inimage = 0 + + # call special handler (if defined) or default handler + methodname = '_start_' + prefix + suffix + try: + method = getattr(self, methodname) + return method(attrsD) + except AttributeError: + # Since there's no handler or something has gone wrong we explicitly add the element and its attributes + unknown_tag = prefix + suffix + if len(attrsD) == 0: + # No attributes so merge it into the encosing dictionary + return self.push(unknown_tag, 1) + else: + # Has attributes so create it in its own dictionary + context = self._getContext() + context[unknown_tag] = attrsD + + def unknown_endtag(self, tag): + # match namespaces + if tag.find(':') <> -1: + prefix, suffix = tag.split(':', 1) + else: + prefix, suffix = '', tag + prefix = self.namespacemap.get(prefix, prefix) + if prefix: + prefix = prefix + '_' + if suffix == 'svg' and self.svgOK: + self.svgOK -= 1 + + # call special handler (if defined) or default handler + methodname = '_end_' + prefix + suffix + try: + if self.svgOK: + raise AttributeError() + method = getattr(self, methodname) + method() + except AttributeError: + self.pop(prefix + suffix) + + # track inline content + if self.incontent and not self.contentparams.get('type', u'xml').endswith(u'xml'): + # element declared itself as escaped markup, but it isn't really + if tag in ('xhtml:div', 'div'): + return # typepad does this 10/2007 + self.contentparams['type'] = u'application/xhtml+xml' + if self.incontent and self.contentparams.get('type') == u'application/xhtml+xml': + tag = tag.split(':')[-1] + self.handle_data('' % tag, escape=0) + + # track xml:base and xml:lang going out of scope + if self.basestack: + self.basestack.pop() + if self.basestack and self.basestack[-1]: + self.baseuri = self.basestack[-1] + if self.langstack: + self.langstack.pop() + if self.langstack: # and (self.langstack[-1] is not None): + self.lang = self.langstack[-1] + + self.depth -= 1 + + def handle_charref(self, ref): + # called for each character reference, e.g. for ' ', ref will be '160' + if not self.elementstack: + return + ref = ref.lower() + if ref in ('34', '38', '39', '60', '62', 'x22', 'x26', 'x27', 'x3c', 'x3e'): + text = '&#%s;' % ref + else: + if ref[0] == 'x': + c = int(ref[1:], 16) + else: + c = int(ref) + text = unichr(c).encode('utf-8') + self.elementstack[-1][2].append(text) + + def handle_entityref(self, ref): + # called for each entity reference, e.g. for '©', ref will be 'copy' + if not self.elementstack: + return + if ref in ('lt', 'gt', 'quot', 'amp', 'apos'): + text = '&%s;' % ref + elif ref in self.entities: + text = self.entities[ref] + if text.startswith('&#') and text.endswith(';'): + return self.handle_entityref(text) + else: + try: + name2codepoint[ref] + except KeyError: + text = '&%s;' % ref + else: + text = unichr(name2codepoint[ref]).encode('utf-8') + self.elementstack[-1][2].append(text) + + def handle_data(self, text, escape=1): + # called for each block of plain text, i.e. outside of any tag and + # not containing any character or entity references + if not self.elementstack: + return + if escape and self.contentparams.get('type') == u'application/xhtml+xml': + text = _xmlescape(text) + self.elementstack[-1][2].append(text) + + def handle_comment(self, text): + # called for each comment, e.g. + pass + + def handle_pi(self, text): + # called for each processing instruction, e.g. + pass + + def handle_decl(self, text): + pass + + def parse_declaration(self, i): + # override internal declaration handler to handle CDATA blocks + if self.rawdata[i:i+9] == '', i) + if k == -1: + # CDATA block began but didn't finish + k = len(self.rawdata) + return k + self.handle_data(_xmlescape(self.rawdata[i+9:k]), 0) + return k+3 + else: + k = self.rawdata.find('>', i) + if k >= 0: + return k+1 + else: + # We have an incomplete CDATA block. + return k + + def mapContentType(self, contentType): + contentType = contentType.lower() + if contentType == 'text' or contentType == 'plain': + contentType = u'text/plain' + elif contentType == 'html': + contentType = u'text/html' + elif contentType == 'xhtml': + contentType = u'application/xhtml+xml' + return contentType + + def trackNamespace(self, prefix, uri): + loweruri = uri.lower() + if not self.version: + if (prefix, loweruri) == (None, 'http://my.netscape.com/rdf/simple/0.9/'): + self.version = u'rss090' + elif loweruri == 'http://purl.org/rss/1.0/': + self.version = u'rss10' + elif loweruri == 'http://www.w3.org/2005/atom': + self.version = u'atom10' + if loweruri.find(u'backend.userland.com/rss') <> -1: + # match any backend.userland.com namespace + uri = u'http://backend.userland.com/rss' + loweruri = uri + if loweruri in self._matchnamespaces: + self.namespacemap[prefix] = self._matchnamespaces[loweruri] + self.namespacesInUse[self._matchnamespaces[loweruri]] = uri + else: + self.namespacesInUse[prefix or ''] = uri + + def resolveURI(self, uri): + return _urljoin(self.baseuri or u'', uri) + + def decodeEntities(self, element, data): + return data + + def strattrs(self, attrs): + return ''.join([' %s="%s"' % (t[0],_xmlescape(t[1],{'"':'"'})) for t in attrs]) + + def push(self, element, expectingText): + self.elementstack.append([element, expectingText, []]) + + def pop(self, element, stripWhitespace=1): + if not self.elementstack: + return + if self.elementstack[-1][0] != element: + return + + element, expectingText, pieces = self.elementstack.pop() + + if self.version == u'atom10' and self.contentparams.get('type', u'text') == u'application/xhtml+xml': + # remove enclosing child element, but only if it is a
and + # only if all the remaining content is nested underneath it. + # This means that the divs would be retained in the following: + #
foo
bar
+ while pieces and len(pieces)>1 and not pieces[-1].strip(): + del pieces[-1] + while pieces and len(pieces)>1 and not pieces[0].strip(): + del pieces[0] + if pieces and (pieces[0] == '
' or pieces[0].startswith('
': + depth = 0 + for piece in pieces[:-1]: + if piece.startswith(''): + depth += 1 + else: + pieces = pieces[1:-1] + + # Ensure each piece is a str for Python 3 + for (i, v) in enumerate(pieces): + if not isinstance(v, unicode): + pieces[i] = v.decode('utf-8') + + output = u''.join(pieces) + if stripWhitespace: + output = output.strip() + if not expectingText: + return output + + # decode base64 content + if base64 and self.contentparams.get('base64', 0): + try: + output = _base64decode(output) + except binascii.Error: + pass + except binascii.Incomplete: + pass + except TypeError: + # In Python 3, base64 takes and outputs bytes, not str + # This may not be the most correct way to accomplish this + output = _base64decode(output.encode('utf-8')).decode('utf-8') + + # resolve relative URIs + if (element in self.can_be_relative_uri) and output: + output = self.resolveURI(output) + + # decode entities within embedded markup + if not self.contentparams.get('base64', 0): + output = self.decodeEntities(element, output) + + # some feed formats require consumers to guess + # whether the content is html or plain text + if not self.version.startswith(u'atom') and self.contentparams.get('type') == u'text/plain': + if self.lookslikehtml(output): + self.contentparams['type'] = u'text/html' + + # remove temporary cruft from contentparams + try: + del self.contentparams['mode'] + except KeyError: + pass + try: + del self.contentparams['base64'] + except KeyError: + pass + + is_htmlish = self.mapContentType(self.contentparams.get('type', u'text/html')) in self.html_types + # resolve relative URIs within embedded markup + if is_htmlish and RESOLVE_RELATIVE_URIS: + if element in self.can_contain_relative_uris: + output = _resolveRelativeURIs(output, self.baseuri, self.encoding, self.contentparams.get('type', u'text/html')) + + # parse microformats + # (must do this before sanitizing because some microformats + # rely on elements that we sanitize) + if PARSE_MICROFORMATS and is_htmlish and element in ['content', 'description', 'summary']: + mfresults = _parseMicroformats(output, self.baseuri, self.encoding) + if mfresults: + for tag in mfresults.get('tags', []): + self._addTag(tag['term'], tag['scheme'], tag['label']) + for enclosure in mfresults.get('enclosures', []): + self._start_enclosure(enclosure) + for xfn in mfresults.get('xfn', []): + self._addXFN(xfn['relationships'], xfn['href'], xfn['name']) + vcard = mfresults.get('vcard') + if vcard: + self._getContext()['vcard'] = vcard + + # sanitize embedded markup + if is_htmlish and SANITIZE_HTML: + if element in self.can_contain_dangerous_markup: + output = _sanitizeHTML(output, self.encoding, self.contentparams.get('type', u'text/html')) + + if self.encoding and not isinstance(output, unicode): + output = output.decode(self.encoding, 'ignore') + + # address common error where people take data that is already + # utf-8, presume that it is iso-8859-1, and re-encode it. + if self.encoding in (u'utf-8', u'utf-8_INVALID_PYTHON_3') and isinstance(output, unicode): + try: + output = output.encode('iso-8859-1').decode('utf-8') + except (UnicodeEncodeError, UnicodeDecodeError): + pass + + # map win-1252 extensions to the proper code points + if isinstance(output, unicode): + output = output.translate(_cp1252) + + # categories/tags/keywords/whatever are handled in _end_category + if element == 'category': + return output + + if element == 'title' and -1 < self.title_depth <= self.depth: + return output + + # store output in appropriate place(s) + if self.inentry and not self.insource: + if element == 'content': + self.entries[-1].setdefault(element, []) + contentparams = copy.deepcopy(self.contentparams) + contentparams['value'] = output + self.entries[-1][element].append(contentparams) + elif element == 'link': + if not self.inimage: + # query variables in urls in link elements are improperly + # converted from `?a=1&b=2` to `?a=1&b;=2` as if they're + # unhandled character references. fix this special case. + output = re.sub("&([A-Za-z0-9_]+);", "&\g<1>", output) + self.entries[-1][element] = output + if output: + self.entries[-1]['links'][-1]['href'] = output + else: + if element == 'description': + element = 'summary' + old_value_depth = self.property_depth_map.setdefault(self.entries[-1], {}).get(element) + if old_value_depth is None or self.depth <= old_value_depth: + self.property_depth_map[self.entries[-1]][element] = self.depth + self.entries[-1][element] = output + if self.incontent: + contentparams = copy.deepcopy(self.contentparams) + contentparams['value'] = output + self.entries[-1][element + '_detail'] = contentparams + elif (self.infeed or self.insource):# and (not self.intextinput) and (not self.inimage): + context = self._getContext() + if element == 'description': + element = 'subtitle' + context[element] = output + if element == 'link': + # fix query variables; see above for the explanation + output = re.sub("&([A-Za-z0-9_]+);", "&\g<1>", output) + context[element] = output + context['links'][-1]['href'] = output + elif self.incontent: + contentparams = copy.deepcopy(self.contentparams) + contentparams['value'] = output + context[element + '_detail'] = contentparams + return output + + def pushContent(self, tag, attrsD, defaultContentType, expectingText): + self.incontent += 1 + if self.lang: + self.lang=self.lang.replace('_','-') + self.contentparams = FeedParserDict({ + 'type': self.mapContentType(attrsD.get('type', defaultContentType)), + 'language': self.lang, + 'base': self.baseuri}) + self.contentparams['base64'] = self._isBase64(attrsD, self.contentparams) + self.push(tag, expectingText) + + def popContent(self, tag): + value = self.pop(tag) + self.incontent -= 1 + self.contentparams.clear() + return value + + # a number of elements in a number of RSS variants are nominally plain + # text, but this is routinely ignored. This is an attempt to detect + # the most common cases. As false positives often result in silent + # data loss, this function errs on the conservative side. + @staticmethod + def lookslikehtml(s): + # must have a close tag or an entity reference to qualify + if not (re.search(r'',s) or re.search("&#?\w+;",s)): + return + + # all tags must be in a restricted subset of valid HTML tags + if filter(lambda t: t.lower() not in _HTMLSanitizer.acceptable_elements, + re.findall(r' -1: + prefix = name[:colonpos] + suffix = name[colonpos+1:] + prefix = self.namespacemap.get(prefix, prefix) + name = prefix + ':' + suffix + return name + + def _getAttribute(self, attrsD, name): + return attrsD.get(self._mapToStandardPrefix(name)) + + def _isBase64(self, attrsD, contentparams): + if attrsD.get('mode', '') == 'base64': + return 1 + if self.contentparams['type'].startswith(u'text/'): + return 0 + if self.contentparams['type'].endswith(u'+xml'): + return 0 + if self.contentparams['type'].endswith(u'/xml'): + return 0 + return 1 + + def _itsAnHrefDamnIt(self, attrsD): + href = attrsD.get('url', attrsD.get('uri', attrsD.get('href', None))) + if href: + try: + del attrsD['url'] + except KeyError: + pass + try: + del attrsD['uri'] + except KeyError: + pass + attrsD['href'] = href + return attrsD + + def _save(self, key, value, overwrite=False): + context = self._getContext() + if overwrite: + context[key] = value + else: + context.setdefault(key, value) + + def _start_rss(self, attrsD): + versionmap = {'0.91': u'rss091u', + '0.92': u'rss092', + '0.93': u'rss093', + '0.94': u'rss094'} + #If we're here then this is an RSS feed. + #If we don't have a version or have a version that starts with something + #other than RSS then there's been a mistake. Correct it. + if not self.version or not self.version.startswith(u'rss'): + attr_version = attrsD.get('version', '') + version = versionmap.get(attr_version) + if version: + self.version = version + elif attr_version.startswith('2.'): + self.version = u'rss20' + else: + self.version = u'rss' + + def _start_channel(self, attrsD): + self.infeed = 1 + self._cdf_common(attrsD) + + def _cdf_common(self, attrsD): + if 'lastmod' in attrsD: + self._start_modified({}) + self.elementstack[-1][-1] = attrsD['lastmod'] + self._end_modified() + if 'href' in attrsD: + self._start_link({}) + self.elementstack[-1][-1] = attrsD['href'] + self._end_link() + + def _start_feed(self, attrsD): + self.infeed = 1 + versionmap = {'0.1': u'atom01', + '0.2': u'atom02', + '0.3': u'atom03'} + if not self.version: + attr_version = attrsD.get('version') + version = versionmap.get(attr_version) + if version: + self.version = version + else: + self.version = u'atom' + + def _end_channel(self): + self.infeed = 0 + _end_feed = _end_channel + + def _start_image(self, attrsD): + context = self._getContext() + if not self.inentry: + context.setdefault('image', FeedParserDict()) + self.inimage = 1 + self.title_depth = -1 + self.push('image', 0) + + def _end_image(self): + self.pop('image') + self.inimage = 0 + + def _start_textinput(self, attrsD): + context = self._getContext() + context.setdefault('textinput', FeedParserDict()) + self.intextinput = 1 + self.title_depth = -1 + self.push('textinput', 0) + _start_textInput = _start_textinput + + def _end_textinput(self): + self.pop('textinput') + self.intextinput = 0 + _end_textInput = _end_textinput + + def _start_author(self, attrsD): + self.inauthor = 1 + self.push('author', 1) + # Append a new FeedParserDict when expecting an author + context = self._getContext() + context.setdefault('authors', []) + context['authors'].append(FeedParserDict()) + _start_managingeditor = _start_author + _start_dc_author = _start_author + _start_dc_creator = _start_author + _start_itunes_author = _start_author + + def _end_author(self): + self.pop('author') + self.inauthor = 0 + self._sync_author_detail() + _end_managingeditor = _end_author + _end_dc_author = _end_author + _end_dc_creator = _end_author + _end_itunes_author = _end_author + + def _start_itunes_owner(self, attrsD): + self.inpublisher = 1 + self.push('publisher', 0) + + def _end_itunes_owner(self): + self.pop('publisher') + self.inpublisher = 0 + self._sync_author_detail('publisher') + + def _start_contributor(self, attrsD): + self.incontributor = 1 + context = self._getContext() + context.setdefault('contributors', []) + context['contributors'].append(FeedParserDict()) + self.push('contributor', 0) + + def _end_contributor(self): + self.pop('contributor') + self.incontributor = 0 + + def _start_dc_contributor(self, attrsD): + self.incontributor = 1 + context = self._getContext() + context.setdefault('contributors', []) + context['contributors'].append(FeedParserDict()) + self.push('name', 0) + + def _end_dc_contributor(self): + self._end_name() + self.incontributor = 0 + + def _start_name(self, attrsD): + self.push('name', 0) + _start_itunes_name = _start_name + + def _end_name(self): + value = self.pop('name') + if self.inpublisher: + self._save_author('name', value, 'publisher') + elif self.inauthor: + self._save_author('name', value) + elif self.incontributor: + self._save_contributor('name', value) + elif self.intextinput: + context = self._getContext() + context['name'] = value + _end_itunes_name = _end_name + + def _start_width(self, attrsD): + self.push('width', 0) + + def _end_width(self): + value = self.pop('width') + try: + value = int(value) + except ValueError: + value = 0 + if self.inimage: + context = self._getContext() + context['width'] = value + + def _start_height(self, attrsD): + self.push('height', 0) + + def _end_height(self): + value = self.pop('height') + try: + value = int(value) + except ValueError: + value = 0 + if self.inimage: + context = self._getContext() + context['height'] = value + + def _start_url(self, attrsD): + self.push('href', 1) + _start_homepage = _start_url + _start_uri = _start_url + + def _end_url(self): + value = self.pop('href') + if self.inauthor: + self._save_author('href', value) + elif self.incontributor: + self._save_contributor('href', value) + _end_homepage = _end_url + _end_uri = _end_url + + def _start_email(self, attrsD): + self.push('email', 0) + _start_itunes_email = _start_email + + def _end_email(self): + value = self.pop('email') + if self.inpublisher: + self._save_author('email', value, 'publisher') + elif self.inauthor: + self._save_author('email', value) + elif self.incontributor: + self._save_contributor('email', value) + _end_itunes_email = _end_email + + def _getContext(self): + if self.insource: + context = self.sourcedata + elif self.inimage and 'image' in self.feeddata: + context = self.feeddata['image'] + elif self.intextinput: + context = self.feeddata['textinput'] + elif self.inentry: + context = self.entries[-1] + else: + context = self.feeddata + return context + + def _save_author(self, key, value, prefix='author'): + context = self._getContext() + context.setdefault(prefix + '_detail', FeedParserDict()) + context[prefix + '_detail'][key] = value + self._sync_author_detail() + context.setdefault('authors', [FeedParserDict()]) + context['authors'][-1][key] = value + + def _save_contributor(self, key, value): + context = self._getContext() + context.setdefault('contributors', [FeedParserDict()]) + context['contributors'][-1][key] = value + + def _sync_author_detail(self, key='author'): + context = self._getContext() + detail = context.get('%s_detail' % key) + if detail: + name = detail.get('name') + email = detail.get('email') + if name and email: + context[key] = u'%s (%s)' % (name, email) + elif name: + context[key] = name + elif email: + context[key] = email + else: + author, email = context.get(key), None + if not author: + return + emailmatch = re.search(ur'''(([a-zA-Z0-9\_\-\.\+]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?))(\?subject=\S+)?''', author) + if emailmatch: + email = emailmatch.group(0) + # probably a better way to do the following, but it passes all the tests + author = author.replace(email, u'') + author = author.replace(u'()', u'') + author = author.replace(u'<>', u'') + author = author.replace(u'<>', u'') + author = author.strip() + if author and (author[0] == u'('): + author = author[1:] + if author and (author[-1] == u')'): + author = author[:-1] + author = author.strip() + if author or email: + context.setdefault('%s_detail' % key, FeedParserDict()) + if author: + context['%s_detail' % key]['name'] = author + if email: + context['%s_detail' % key]['email'] = email + + def _start_subtitle(self, attrsD): + self.pushContent('subtitle', attrsD, u'text/plain', 1) + _start_tagline = _start_subtitle + _start_itunes_subtitle = _start_subtitle + + def _end_subtitle(self): + self.popContent('subtitle') + _end_tagline = _end_subtitle + _end_itunes_subtitle = _end_subtitle + + def _start_rights(self, attrsD): + self.pushContent('rights', attrsD, u'text/plain', 1) + _start_dc_rights = _start_rights + _start_copyright = _start_rights + + def _end_rights(self): + self.popContent('rights') + _end_dc_rights = _end_rights + _end_copyright = _end_rights + + def _start_item(self, attrsD): + self.entries.append(FeedParserDict()) + self.push('item', 0) + self.inentry = 1 + self.guidislink = 0 + self.title_depth = -1 + id = self._getAttribute(attrsD, 'rdf:about') + if id: + context = self._getContext() + context['id'] = id + self._cdf_common(attrsD) + _start_entry = _start_item + + def _end_item(self): + self.pop('item') + self.inentry = 0 + _end_entry = _end_item + + def _start_dc_language(self, attrsD): + self.push('language', 1) + _start_language = _start_dc_language + + def _end_dc_language(self): + self.lang = self.pop('language') + _end_language = _end_dc_language + + def _start_dc_publisher(self, attrsD): + self.push('publisher', 1) + _start_webmaster = _start_dc_publisher + + def _end_dc_publisher(self): + self.pop('publisher') + self._sync_author_detail('publisher') + _end_webmaster = _end_dc_publisher + + def _start_published(self, attrsD): + self.push('published', 1) + _start_dcterms_issued = _start_published + _start_issued = _start_published + _start_pubdate = _start_published + + def _end_published(self): + value = self.pop('published') + self._save('published_parsed', _parse_date(value), overwrite=True) + _end_dcterms_issued = _end_published + _end_issued = _end_published + _end_pubdate = _end_published + + def _start_updated(self, attrsD): + self.push('updated', 1) + _start_modified = _start_updated + _start_dcterms_modified = _start_updated + _start_dc_date = _start_updated + _start_lastbuilddate = _start_updated + + def _end_updated(self): + value = self.pop('updated') + parsed_value = _parse_date(value) + self._save('updated_parsed', parsed_value, overwrite=True) + _end_modified = _end_updated + _end_dcterms_modified = _end_updated + _end_dc_date = _end_updated + _end_lastbuilddate = _end_updated + + def _start_created(self, attrsD): + self.push('created', 1) + _start_dcterms_created = _start_created + + def _end_created(self): + value = self.pop('created') + self._save('created_parsed', _parse_date(value), overwrite=True) + _end_dcterms_created = _end_created + + def _start_expirationdate(self, attrsD): + self.push('expired', 1) + + def _end_expirationdate(self): + self._save('expired_parsed', _parse_date(self.pop('expired')), overwrite=True) + + def _start_cc_license(self, attrsD): + context = self._getContext() + value = self._getAttribute(attrsD, 'rdf:resource') + attrsD = FeedParserDict() + attrsD['rel'] = u'license' + if value: + attrsD['href']=value + context.setdefault('links', []).append(attrsD) + + def _start_creativecommons_license(self, attrsD): + self.push('license', 1) + _start_creativeCommons_license = _start_creativecommons_license + + def _end_creativecommons_license(self): + value = self.pop('license') + context = self._getContext() + attrsD = FeedParserDict() + attrsD['rel'] = u'license' + if value: + attrsD['href'] = value + context.setdefault('links', []).append(attrsD) + del context['license'] + _end_creativeCommons_license = _end_creativecommons_license + + def _addXFN(self, relationships, href, name): + context = self._getContext() + xfn = context.setdefault('xfn', []) + value = FeedParserDict({'relationships': relationships, 'href': href, 'name': name}) + if value not in xfn: + xfn.append(value) + + def _addTag(self, term, scheme, label): + context = self._getContext() + tags = context.setdefault('tags', []) + if (not term) and (not scheme) and (not label): + return + value = FeedParserDict({'term': term, 'scheme': scheme, 'label': label}) + if value not in tags: + tags.append(value) + + def _start_category(self, attrsD): + term = attrsD.get('term') + scheme = attrsD.get('scheme', attrsD.get('domain')) + label = attrsD.get('label') + self._addTag(term, scheme, label) + self.push('category', 1) + _start_dc_subject = _start_category + _start_keywords = _start_category + + def _start_media_category(self, attrsD): + attrsD.setdefault('scheme', u'http://search.yahoo.com/mrss/category_schema') + self._start_category(attrsD) + + def _end_itunes_keywords(self): + for term in self.pop('itunes_keywords').split(','): + if term.strip(): + self._addTag(term.strip(), u'http://www.itunes.com/', None) + + def _start_itunes_category(self, attrsD): + self._addTag(attrsD.get('text'), u'http://www.itunes.com/', None) + self.push('category', 1) + + def _end_category(self): + value = self.pop('category') + if not value: + return + context = self._getContext() + tags = context['tags'] + if value and len(tags) and not tags[-1]['term']: + tags[-1]['term'] = value + else: + self._addTag(value, None, None) + _end_dc_subject = _end_category + _end_keywords = _end_category + _end_itunes_category = _end_category + _end_media_category = _end_category + + def _start_cloud(self, attrsD): + self._getContext()['cloud'] = FeedParserDict(attrsD) + + def _start_link(self, attrsD): + attrsD.setdefault('rel', u'alternate') + if attrsD['rel'] == u'self': + attrsD.setdefault('type', u'application/atom+xml') + else: + attrsD.setdefault('type', u'text/html') + context = self._getContext() + attrsD = self._itsAnHrefDamnIt(attrsD) + if 'href' in attrsD: + attrsD['href'] = self.resolveURI(attrsD['href']) + expectingText = self.infeed or self.inentry or self.insource + context.setdefault('links', []) + if not (self.inentry and self.inimage): + context['links'].append(FeedParserDict(attrsD)) + if 'href' in attrsD: + expectingText = 0 + if (attrsD.get('rel') == u'alternate') and (self.mapContentType(attrsD.get('type')) in self.html_types): + context['link'] = attrsD['href'] + else: + self.push('link', expectingText) + + def _end_link(self): + value = self.pop('link') + + def _start_guid(self, attrsD): + self.guidislink = (attrsD.get('ispermalink', 'true') == 'true') + self.push('id', 1) + _start_id = _start_guid + + def _end_guid(self): + value = self.pop('id') + self._save('guidislink', self.guidislink and 'link' not in self._getContext()) + if self.guidislink: + # guid acts as link, but only if 'ispermalink' is not present or is 'true', + # and only if the item doesn't already have a link element + self._save('link', value) + _end_id = _end_guid + + def _start_title(self, attrsD): + if self.svgOK: + return self.unknown_starttag('title', attrsD.items()) + self.pushContent('title', attrsD, u'text/plain', self.infeed or self.inentry or self.insource) + _start_dc_title = _start_title + _start_media_title = _start_title + + def _end_title(self): + if self.svgOK: + return + value = self.popContent('title') + if not value: + return + self.title_depth = self.depth + _end_dc_title = _end_title + + def _end_media_title(self): + title_depth = self.title_depth + self._end_title() + self.title_depth = title_depth + + def _start_description(self, attrsD): + context = self._getContext() + if 'summary' in context: + self._summaryKey = 'content' + self._start_content(attrsD) + else: + self.pushContent('description', attrsD, u'text/html', self.infeed or self.inentry or self.insource) + _start_dc_description = _start_description + + def _start_abstract(self, attrsD): + self.pushContent('description', attrsD, u'text/plain', self.infeed or self.inentry or self.insource) + + def _end_description(self): + if self._summaryKey == 'content': + self._end_content() + else: + value = self.popContent('description') + self._summaryKey = None + _end_abstract = _end_description + _end_dc_description = _end_description + + def _start_info(self, attrsD): + self.pushContent('info', attrsD, u'text/plain', 1) + _start_feedburner_browserfriendly = _start_info + + def _end_info(self): + self.popContent('info') + _end_feedburner_browserfriendly = _end_info + + def _start_generator(self, attrsD): + if attrsD: + attrsD = self._itsAnHrefDamnIt(attrsD) + if 'href' in attrsD: + attrsD['href'] = self.resolveURI(attrsD['href']) + self._getContext()['generator_detail'] = FeedParserDict(attrsD) + self.push('generator', 1) + + def _end_generator(self): + value = self.pop('generator') + context = self._getContext() + if 'generator_detail' in context: + context['generator_detail']['name'] = value + + def _start_admin_generatoragent(self, attrsD): + self.push('generator', 1) + value = self._getAttribute(attrsD, 'rdf:resource') + if value: + self.elementstack[-1][2].append(value) + self.pop('generator') + self._getContext()['generator_detail'] = FeedParserDict({'href': value}) + + def _start_admin_errorreportsto(self, attrsD): + self.push('errorreportsto', 1) + value = self._getAttribute(attrsD, 'rdf:resource') + if value: + self.elementstack[-1][2].append(value) + self.pop('errorreportsto') + + def _start_summary(self, attrsD): + context = self._getContext() + if 'summary' in context: + self._summaryKey = 'content' + self._start_content(attrsD) + else: + self._summaryKey = 'summary' + self.pushContent(self._summaryKey, attrsD, u'text/plain', 1) + _start_itunes_summary = _start_summary + + def _end_summary(self): + if self._summaryKey == 'content': + self._end_content() + else: + self.popContent(self._summaryKey or 'summary') + self._summaryKey = None + _end_itunes_summary = _end_summary + + def _start_enclosure(self, attrsD): + attrsD = self._itsAnHrefDamnIt(attrsD) + context = self._getContext() + attrsD['rel'] = u'enclosure' + context.setdefault('links', []).append(FeedParserDict(attrsD)) + + def _start_source(self, attrsD): + if 'url' in attrsD: + # This means that we're processing a source element from an RSS 2.0 feed + self.sourcedata['href'] = attrsD[u'url'] + self.push('source', 1) + self.insource = 1 + self.title_depth = -1 + + def _end_source(self): + self.insource = 0 + value = self.pop('source') + if value: + self.sourcedata['title'] = value + self._getContext()['source'] = copy.deepcopy(self.sourcedata) + self.sourcedata.clear() + + def _start_content(self, attrsD): + self.pushContent('content', attrsD, u'text/plain', 1) + src = attrsD.get('src') + if src: + self.contentparams['src'] = src + self.push('content', 1) + + def _start_body(self, attrsD): + self.pushContent('content', attrsD, u'application/xhtml+xml', 1) + _start_xhtml_body = _start_body + + def _start_content_encoded(self, attrsD): + self.pushContent('content', attrsD, u'text/html', 1) + _start_fullitem = _start_content_encoded + + def _end_content(self): + copyToSummary = self.mapContentType(self.contentparams.get('type')) in ([u'text/plain'] + self.html_types) + value = self.popContent('content') + if copyToSummary: + self._save('summary', value) + + _end_body = _end_content + _end_xhtml_body = _end_content + _end_content_encoded = _end_content + _end_fullitem = _end_content + + def _start_itunes_image(self, attrsD): + self.push('itunes_image', 0) + if attrsD.get('href'): + self._getContext()['image'] = FeedParserDict({'href': attrsD.get('href')}) + elif attrsD.get('url'): + self._getContext()['image'] = FeedParserDict({'href': attrsD.get('url')}) + _start_itunes_link = _start_itunes_image + + def _end_itunes_block(self): + value = self.pop('itunes_block', 0) + self._getContext()['itunes_block'] = (value == 'yes') and 1 or 0 + + def _end_itunes_explicit(self): + value = self.pop('itunes_explicit', 0) + # Convert 'yes' -> True, 'clean' to False, and any other value to None + # False and None both evaluate as False, so the difference can be ignored + # by applications that only need to know if the content is explicit. + self._getContext()['itunes_explicit'] = (None, False, True)[(value == 'yes' and 2) or value == 'clean' or 0] + + def _start_media_content(self, attrsD): + context = self._getContext() + context.setdefault('media_content', []) + context['media_content'].append(attrsD) + + def _start_media_thumbnail(self, attrsD): + context = self._getContext() + context.setdefault('media_thumbnail', []) + self.push('url', 1) # new + context['media_thumbnail'].append(attrsD) + + def _end_media_thumbnail(self): + url = self.pop('url') + context = self._getContext() + if url != None and len(url.strip()) != 0: + if 'url' not in context['media_thumbnail'][-1]: + context['media_thumbnail'][-1]['url'] = url + + def _start_media_player(self, attrsD): + self.push('media_player', 0) + self._getContext()['media_player'] = FeedParserDict(attrsD) + + def _end_media_player(self): + value = self.pop('media_player') + context = self._getContext() + context['media_player']['content'] = value + + def _start_newlocation(self, attrsD): + self.push('newlocation', 1) + + def _end_newlocation(self): + url = self.pop('newlocation') + context = self._getContext() + # don't set newlocation if the context isn't right + if context is not self.feeddata: + return + context['newlocation'] = _makeSafeAbsoluteURI(self.baseuri, url.strip()) + +if _XML_AVAILABLE: + class _StrictFeedParser(_FeedParserMixin, xml.sax.handler.ContentHandler): + def __init__(self, baseuri, baselang, encoding): + xml.sax.handler.ContentHandler.__init__(self) + _FeedParserMixin.__init__(self, baseuri, baselang, encoding) + self.bozo = 0 + self.exc = None + self.decls = {} + + def startPrefixMapping(self, prefix, uri): + if not uri: + return + # Jython uses '' instead of None; standardize on None + prefix = prefix or None + self.trackNamespace(prefix, uri) + if prefix and uri == 'http://www.w3.org/1999/xlink': + self.decls['xmlns:' + prefix] = uri + + def startElementNS(self, name, qname, attrs): + namespace, localname = name + lowernamespace = str(namespace or '').lower() + if lowernamespace.find(u'backend.userland.com/rss') <> -1: + # match any backend.userland.com namespace + namespace = u'http://backend.userland.com/rss' + lowernamespace = namespace + if qname and qname.find(':') > 0: + givenprefix = qname.split(':')[0] + else: + givenprefix = None + prefix = self._matchnamespaces.get(lowernamespace, givenprefix) + if givenprefix and (prefix == None or (prefix == '' and lowernamespace == '')) and givenprefix not in self.namespacesInUse: + raise UndeclaredNamespace, "'%s' is not associated with a namespace" % givenprefix + localname = str(localname).lower() + + # qname implementation is horribly broken in Python 2.1 (it + # doesn't report any), and slightly broken in Python 2.2 (it + # doesn't report the xml: namespace). So we match up namespaces + # with a known list first, and then possibly override them with + # the qnames the SAX parser gives us (if indeed it gives us any + # at all). Thanks to MatejC for helping me test this and + # tirelessly telling me that it didn't work yet. + attrsD, self.decls = self.decls, {} + if localname=='math' and namespace=='http://www.w3.org/1998/Math/MathML': + attrsD['xmlns']=namespace + if localname=='svg' and namespace=='http://www.w3.org/2000/svg': + attrsD['xmlns']=namespace + + if prefix: + localname = prefix.lower() + ':' + localname + elif namespace and not qname: #Expat + for name,value in self.namespacesInUse.items(): + if name and value == namespace: + localname = name + ':' + localname + break + + for (namespace, attrlocalname), attrvalue in attrs.items(): + lowernamespace = (namespace or '').lower() + prefix = self._matchnamespaces.get(lowernamespace, '') + if prefix: + attrlocalname = prefix + ':' + attrlocalname + attrsD[str(attrlocalname).lower()] = attrvalue + for qname in attrs.getQNames(): + attrsD[str(qname).lower()] = attrs.getValueByQName(qname) + self.unknown_starttag(localname, attrsD.items()) + + def characters(self, text): + self.handle_data(text) + + def endElementNS(self, name, qname): + namespace, localname = name + lowernamespace = str(namespace or '').lower() + if qname and qname.find(':') > 0: + givenprefix = qname.split(':')[0] + else: + givenprefix = '' + prefix = self._matchnamespaces.get(lowernamespace, givenprefix) + if prefix: + localname = prefix + ':' + localname + elif namespace and not qname: #Expat + for name,value in self.namespacesInUse.items(): + if name and value == namespace: + localname = name + ':' + localname + break + localname = str(localname).lower() + self.unknown_endtag(localname) + + def error(self, exc): + self.bozo = 1 + self.exc = exc + + # drv_libxml2 calls warning() in some cases + warning = error + + def fatalError(self, exc): + self.error(exc) + raise exc + +class _BaseHTMLProcessor(sgmllib.SGMLParser): + special = re.compile('''[<>'"]''') + bare_ampersand = re.compile("&(?!#\d+;|#x[0-9a-fA-F]+;|\w+;)") + elements_no_end_tag = set([ + 'area', 'base', 'basefont', 'br', 'col', 'command', 'embed', 'frame', + 'hr', 'img', 'input', 'isindex', 'keygen', 'link', 'meta', 'param', + 'source', 'track', 'wbr' + ]) + + def __init__(self, encoding, _type): + self.encoding = encoding + self._type = _type + sgmllib.SGMLParser.__init__(self) + + def reset(self): + self.pieces = [] + sgmllib.SGMLParser.reset(self) + + def _shorttag_replace(self, match): + tag = match.group(1) + if tag in self.elements_no_end_tag: + return '<' + tag + ' />' + else: + return '<' + tag + '>' + + # By declaring these methods and overriding their compiled code + # with the code from sgmllib, the original code will execute in + # feedparser's scope instead of sgmllib's. This means that the + # `tagfind` and `charref` regular expressions will be found as + # they're declared above, not as they're declared in sgmllib. + def goahead(self, i): + pass + goahead.func_code = sgmllib.SGMLParser.goahead.func_code + + def __parse_starttag(self, i): + pass + __parse_starttag.func_code = sgmllib.SGMLParser.parse_starttag.func_code + + def parse_starttag(self,i): + j = self.__parse_starttag(i) + if self._type == 'application/xhtml+xml': + if j>2 and self.rawdata[j-2:j]=='/>': + self.unknown_endtag(self.lasttag) + return j + + def feed(self, data): + data = re.compile(r'\s]+?)\s*/>', self._shorttag_replace, data) + data = data.replace(''', "'") + data = data.replace('"', '"') + try: + bytes + if bytes is str: + raise NameError + self.encoding = self.encoding + u'_INVALID_PYTHON_3' + except NameError: + if self.encoding and isinstance(data, unicode): + data = data.encode(self.encoding) + sgmllib.SGMLParser.feed(self, data) + sgmllib.SGMLParser.close(self) + + def normalize_attrs(self, attrs): + if not attrs: + return attrs + # utility method to be called by descendants + attrs = dict([(k.lower(), v) for k, v in attrs]).items() + attrs = [(k, k in ('rel', 'type') and v.lower() or v) for k, v in attrs] + attrs.sort() + return attrs + + def unknown_starttag(self, tag, attrs): + # called for each start tag + # attrs is a list of (attr, value) tuples + # e.g. for
, tag='pre', attrs=[('class', 'screen')]
+        uattrs = []
+        strattrs=''
+        if attrs:
+            for key, value in attrs:
+                value=value.replace('>','>').replace('<','<').replace('"','"')
+                value = self.bare_ampersand.sub("&", value)
+                # thanks to Kevin Marks for this breathtaking hack to deal with (valid) high-bit attribute values in UTF-8 feeds
+                if not isinstance(value, unicode):
+                    value = value.decode(self.encoding, 'ignore')
+                try:
+                    # Currently, in Python 3 the key is already a str, and cannot be decoded again
+                    uattrs.append((unicode(key, self.encoding), value))
+                except TypeError:
+                    uattrs.append((key, value))
+            strattrs = u''.join([u' %s="%s"' % (key, value) for key, value in uattrs])
+            if self.encoding:
+                try:
+                    strattrs = strattrs.encode(self.encoding)
+                except (UnicodeEncodeError, LookupError):
+                    pass
+        if tag in self.elements_no_end_tag:
+            self.pieces.append('<%s%s />' % (tag, strattrs))
+        else:
+            self.pieces.append('<%s%s>' % (tag, strattrs))
+
+    def unknown_endtag(self, tag):
+        # called for each end tag, e.g. for 
, tag will be 'pre' + # Reconstruct the original end tag. + if tag not in self.elements_no_end_tag: + self.pieces.append("" % tag) + + def handle_charref(self, ref): + # called for each character reference, e.g. for ' ', ref will be '160' + # Reconstruct the original character reference. + ref = ref.lower() + if ref.startswith('x'): + value = int(ref[1:], 16) + else: + value = int(ref) + + if value in _cp1252: + self.pieces.append('&#%s;' % hex(ord(_cp1252[value]))[1:]) + else: + self.pieces.append('&#%s;' % ref) + + def handle_entityref(self, ref): + # called for each entity reference, e.g. for '©', ref will be 'copy' + # Reconstruct the original entity reference. + if ref in name2codepoint or ref == 'apos': + self.pieces.append('&%s;' % ref) + else: + self.pieces.append('&%s' % ref) + + def handle_data(self, text): + # called for each block of plain text, i.e. outside of any tag and + # not containing any character or entity references + # Store the original text verbatim. + self.pieces.append(text) + + def handle_comment(self, text): + # called for each HTML comment, e.g. + # Reconstruct the original comment. + self.pieces.append('' % text) + + def handle_pi(self, text): + # called for each processing instruction, e.g. + # Reconstruct original processing instruction. + self.pieces.append('' % text) + + def handle_decl(self, text): + # called for the DOCTYPE, if present, e.g. + # + # Reconstruct original DOCTYPE + self.pieces.append('' % text) + + _new_declname_match = re.compile(r'[a-zA-Z][-_.a-zA-Z0-9:]*\s*').match + def _scan_name(self, i, declstartpos): + rawdata = self.rawdata + n = len(rawdata) + if i == n: + return None, -1 + m = self._new_declname_match(rawdata, i) + if m: + s = m.group() + name = s.strip() + if (i + len(s)) == n: + return None, -1 # end of buffer + return name.lower(), m.end() + else: + self.handle_data(rawdata) +# self.updatepos(declstartpos, i) + return None, -1 + + def convert_charref(self, name): + return '&#%s;' % name + + def convert_entityref(self, name): + return '&%s;' % name + + def output(self): + '''Return processed HTML as a single string''' + return ''.join([str(p) for p in self.pieces]) + + def parse_declaration(self, i): + try: + return sgmllib.SGMLParser.parse_declaration(self, i) + except sgmllib.SGMLParseError: + # escape the doctype declaration and continue parsing + self.handle_data('<') + return i+1 + +class _LooseFeedParser(_FeedParserMixin, _BaseHTMLProcessor): + def __init__(self, baseuri, baselang, encoding, entities): + sgmllib.SGMLParser.__init__(self) + _FeedParserMixin.__init__(self, baseuri, baselang, encoding) + _BaseHTMLProcessor.__init__(self, encoding, 'application/xhtml+xml') + self.entities=entities + + def decodeEntities(self, element, data): + data = data.replace('<', '<') + data = data.replace('<', '<') + data = data.replace('<', '<') + data = data.replace('>', '>') + data = data.replace('>', '>') + data = data.replace('>', '>') + data = data.replace('&', '&') + data = data.replace('&', '&') + data = data.replace('"', '"') + data = data.replace('"', '"') + data = data.replace(''', ''') + data = data.replace(''', ''') + if not self.contentparams.get('type', u'xml').endswith(u'xml'): + data = data.replace('<', '<') + data = data.replace('>', '>') + data = data.replace('&', '&') + data = data.replace('"', '"') + data = data.replace(''', "'") + return data + + def strattrs(self, attrs): + return ''.join([' %s="%s"' % (n,v.replace('"','"')) for n,v in attrs]) + +class _MicroformatsParser: + STRING = 1 + DATE = 2 + URI = 3 + NODE = 4 + EMAIL = 5 + + known_xfn_relationships = set(['contact', 'acquaintance', 'friend', 'met', 'co-worker', 'coworker', 'colleague', 'co-resident', 'coresident', 'neighbor', 'child', 'parent', 'sibling', 'brother', 'sister', 'spouse', 'wife', 'husband', 'kin', 'relative', 'muse', 'crush', 'date', 'sweetheart', 'me']) + known_binary_extensions = set(['zip','rar','exe','gz','tar','tgz','tbz2','bz2','z','7z','dmg','img','sit','sitx','hqx','deb','rpm','bz2','jar','rar','iso','bin','msi','mp2','mp3','ogg','ogm','mp4','m4v','m4a','avi','wma','wmv']) + + def __init__(self, data, baseuri, encoding): + self.document = BeautifulSoup.BeautifulSoup(data) + self.baseuri = baseuri + self.encoding = encoding + if isinstance(data, unicode): + data = data.encode(encoding) + self.tags = [] + self.enclosures = [] + self.xfn = [] + self.vcard = None + + def vcardEscape(self, s): + if isinstance(s, basestring): + s = s.replace(',', '\\,').replace(';', '\\;').replace('\n', '\\n') + return s + + def vcardFold(self, s): + s = re.sub(';+$', '', s) + sFolded = '' + iMax = 75 + sPrefix = '' + while len(s) > iMax: + sFolded += sPrefix + s[:iMax] + '\n' + s = s[iMax:] + sPrefix = ' ' + iMax = 74 + sFolded += sPrefix + s + return sFolded + + def normalize(self, s): + return re.sub(r'\s+', ' ', s).strip() + + def unique(self, aList): + results = [] + for element in aList: + if element not in results: + results.append(element) + return results + + def toISO8601(self, dt): + return time.strftime('%Y-%m-%dT%H:%M:%SZ', dt) + + def getPropertyValue(self, elmRoot, sProperty, iPropertyType=4, bAllowMultiple=0, bAutoEscape=0): + all = lambda x: 1 + sProperty = sProperty.lower() + bFound = 0 + bNormalize = 1 + propertyMatch = {'class': re.compile(r'\b%s\b' % sProperty)} + if bAllowMultiple and (iPropertyType != self.NODE): + snapResults = [] + containers = elmRoot(['ul', 'ol'], propertyMatch) + for container in containers: + snapResults.extend(container('li')) + bFound = (len(snapResults) != 0) + if not bFound: + snapResults = elmRoot(all, propertyMatch) + bFound = (len(snapResults) != 0) + if (not bFound) and (sProperty == 'value'): + snapResults = elmRoot('pre') + bFound = (len(snapResults) != 0) + bNormalize = not bFound + if not bFound: + snapResults = [elmRoot] + bFound = (len(snapResults) != 0) + arFilter = [] + if sProperty == 'vcard': + snapFilter = elmRoot(all, propertyMatch) + for node in snapFilter: + if node.findParent(all, propertyMatch): + arFilter.append(node) + arResults = [] + for node in snapResults: + if node not in arFilter: + arResults.append(node) + bFound = (len(arResults) != 0) + if not bFound: + if bAllowMultiple: + return [] + elif iPropertyType == self.STRING: + return '' + elif iPropertyType == self.DATE: + return None + elif iPropertyType == self.URI: + return '' + elif iPropertyType == self.NODE: + return None + else: + return None + arValues = [] + for elmResult in arResults: + sValue = None + if iPropertyType == self.NODE: + if bAllowMultiple: + arValues.append(elmResult) + continue + else: + return elmResult + sNodeName = elmResult.name.lower() + if (iPropertyType == self.EMAIL) and (sNodeName == 'a'): + sValue = (elmResult.get('href') or '').split('mailto:').pop().split('?')[0] + if sValue: + sValue = bNormalize and self.normalize(sValue) or sValue.strip() + if (not sValue) and (sNodeName == 'abbr'): + sValue = elmResult.get('title') + if sValue: + sValue = bNormalize and self.normalize(sValue) or sValue.strip() + if (not sValue) and (iPropertyType == self.URI): + if sNodeName == 'a': + sValue = elmResult.get('href') + elif sNodeName == 'img': + sValue = elmResult.get('src') + elif sNodeName == 'object': + sValue = elmResult.get('data') + if sValue: + sValue = bNormalize and self.normalize(sValue) or sValue.strip() + if (not sValue) and (sNodeName == 'img'): + sValue = elmResult.get('alt') + if sValue: + sValue = bNormalize and self.normalize(sValue) or sValue.strip() + if not sValue: + sValue = elmResult.renderContents() + sValue = re.sub(r'<\S[^>]*>', '', sValue) + sValue = sValue.replace('\r\n', '\n') + sValue = sValue.replace('\r', '\n') + if sValue: + sValue = bNormalize and self.normalize(sValue) or sValue.strip() + if not sValue: + continue + if iPropertyType == self.DATE: + sValue = _parse_date_iso8601(sValue) + if bAllowMultiple: + arValues.append(bAutoEscape and self.vcardEscape(sValue) or sValue) + else: + return bAutoEscape and self.vcardEscape(sValue) or sValue + return arValues + + def findVCards(self, elmRoot, bAgentParsing=0): + sVCards = '' + + if not bAgentParsing: + arCards = self.getPropertyValue(elmRoot, 'vcard', bAllowMultiple=1) + else: + arCards = [elmRoot] + + for elmCard in arCards: + arLines = [] + + def processSingleString(sProperty): + sValue = self.getPropertyValue(elmCard, sProperty, self.STRING, bAutoEscape=1).decode(self.encoding) + if sValue: + arLines.append(self.vcardFold(sProperty.upper() + ':' + sValue)) + return sValue or u'' + + def processSingleURI(sProperty): + sValue = self.getPropertyValue(elmCard, sProperty, self.URI) + if sValue: + sContentType = '' + sEncoding = '' + sValueKey = '' + if sValue.startswith('data:'): + sEncoding = ';ENCODING=b' + sContentType = sValue.split(';')[0].split('/').pop() + sValue = sValue.split(',', 1).pop() + else: + elmValue = self.getPropertyValue(elmCard, sProperty) + if elmValue: + if sProperty != 'url': + sValueKey = ';VALUE=uri' + sContentType = elmValue.get('type', '').strip().split('/').pop().strip() + sContentType = sContentType.upper() + if sContentType == 'OCTET-STREAM': + sContentType = '' + if sContentType: + sContentType = ';TYPE=' + sContentType.upper() + arLines.append(self.vcardFold(sProperty.upper() + sEncoding + sContentType + sValueKey + ':' + sValue)) + + def processTypeValue(sProperty, arDefaultType, arForceType=None): + arResults = self.getPropertyValue(elmCard, sProperty, bAllowMultiple=1) + for elmResult in arResults: + arType = self.getPropertyValue(elmResult, 'type', self.STRING, 1, 1) + if arForceType: + arType = self.unique(arForceType + arType) + if not arType: + arType = arDefaultType + sValue = self.getPropertyValue(elmResult, 'value', self.EMAIL, 0) + if sValue: + arLines.append(self.vcardFold(sProperty.upper() + ';TYPE=' + ','.join(arType) + ':' + sValue)) + + # AGENT + # must do this before all other properties because it is destructive + # (removes nested class="vcard" nodes so they don't interfere with + # this vcard's other properties) + arAgent = self.getPropertyValue(elmCard, 'agent', bAllowMultiple=1) + for elmAgent in arAgent: + if re.compile(r'\bvcard\b').search(elmAgent.get('class')): + sAgentValue = self.findVCards(elmAgent, 1) + '\n' + sAgentValue = sAgentValue.replace('\n', '\\n') + sAgentValue = sAgentValue.replace(';', '\\;') + if sAgentValue: + arLines.append(self.vcardFold('AGENT:' + sAgentValue)) + # Completely remove the agent element from the parse tree + elmAgent.extract() + else: + sAgentValue = self.getPropertyValue(elmAgent, 'value', self.URI, bAutoEscape=1); + if sAgentValue: + arLines.append(self.vcardFold('AGENT;VALUE=uri:' + sAgentValue)) + + # FN (full name) + sFN = processSingleString('fn') + + # N (name) + elmName = self.getPropertyValue(elmCard, 'n') + if elmName: + sFamilyName = self.getPropertyValue(elmName, 'family-name', self.STRING, bAutoEscape=1) + sGivenName = self.getPropertyValue(elmName, 'given-name', self.STRING, bAutoEscape=1) + arAdditionalNames = self.getPropertyValue(elmName, 'additional-name', self.STRING, 1, 1) + self.getPropertyValue(elmName, 'additional-names', self.STRING, 1, 1) + arHonorificPrefixes = self.getPropertyValue(elmName, 'honorific-prefix', self.STRING, 1, 1) + self.getPropertyValue(elmName, 'honorific-prefixes', self.STRING, 1, 1) + arHonorificSuffixes = self.getPropertyValue(elmName, 'honorific-suffix', self.STRING, 1, 1) + self.getPropertyValue(elmName, 'honorific-suffixes', self.STRING, 1, 1) + arLines.append(self.vcardFold('N:' + sFamilyName + ';' + + sGivenName + ';' + + ','.join(arAdditionalNames) + ';' + + ','.join(arHonorificPrefixes) + ';' + + ','.join(arHonorificSuffixes))) + elif sFN: + # implied "N" optimization + # http://microformats.org/wiki/hcard#Implied_.22N.22_Optimization + arNames = self.normalize(sFN).split() + if len(arNames) == 2: + bFamilyNameFirst = (arNames[0].endswith(',') or + len(arNames[1]) == 1 or + ((len(arNames[1]) == 2) and (arNames[1].endswith('.')))) + if bFamilyNameFirst: + arLines.append(self.vcardFold('N:' + arNames[0] + ';' + arNames[1])) + else: + arLines.append(self.vcardFold('N:' + arNames[1] + ';' + arNames[0])) + + # SORT-STRING + sSortString = self.getPropertyValue(elmCard, 'sort-string', self.STRING, bAutoEscape=1) + if sSortString: + arLines.append(self.vcardFold('SORT-STRING:' + sSortString)) + + # NICKNAME + arNickname = self.getPropertyValue(elmCard, 'nickname', self.STRING, 1, 1) + if arNickname: + arLines.append(self.vcardFold('NICKNAME:' + ','.join(arNickname))) + + # PHOTO + processSingleURI('photo') + + # BDAY + dtBday = self.getPropertyValue(elmCard, 'bday', self.DATE) + if dtBday: + arLines.append(self.vcardFold('BDAY:' + self.toISO8601(dtBday))) + + # ADR (address) + arAdr = self.getPropertyValue(elmCard, 'adr', bAllowMultiple=1) + for elmAdr in arAdr: + arType = self.getPropertyValue(elmAdr, 'type', self.STRING, 1, 1) + if not arType: + arType = ['intl','postal','parcel','work'] # default adr types, see RFC 2426 section 3.2.1 + sPostOfficeBox = self.getPropertyValue(elmAdr, 'post-office-box', self.STRING, 0, 1) + sExtendedAddress = self.getPropertyValue(elmAdr, 'extended-address', self.STRING, 0, 1) + sStreetAddress = self.getPropertyValue(elmAdr, 'street-address', self.STRING, 0, 1) + sLocality = self.getPropertyValue(elmAdr, 'locality', self.STRING, 0, 1) + sRegion = self.getPropertyValue(elmAdr, 'region', self.STRING, 0, 1) + sPostalCode = self.getPropertyValue(elmAdr, 'postal-code', self.STRING, 0, 1) + sCountryName = self.getPropertyValue(elmAdr, 'country-name', self.STRING, 0, 1) + arLines.append(self.vcardFold('ADR;TYPE=' + ','.join(arType) + ':' + + sPostOfficeBox + ';' + + sExtendedAddress + ';' + + sStreetAddress + ';' + + sLocality + ';' + + sRegion + ';' + + sPostalCode + ';' + + sCountryName)) + + # LABEL + processTypeValue('label', ['intl','postal','parcel','work']) + + # TEL (phone number) + processTypeValue('tel', ['voice']) + + # EMAIL + processTypeValue('email', ['internet'], ['internet']) + + # MAILER + processSingleString('mailer') + + # TZ (timezone) + processSingleString('tz') + + # GEO (geographical information) + elmGeo = self.getPropertyValue(elmCard, 'geo') + if elmGeo: + sLatitude = self.getPropertyValue(elmGeo, 'latitude', self.STRING, 0, 1) + sLongitude = self.getPropertyValue(elmGeo, 'longitude', self.STRING, 0, 1) + arLines.append(self.vcardFold('GEO:' + sLatitude + ';' + sLongitude)) + + # TITLE + processSingleString('title') + + # ROLE + processSingleString('role') + + # LOGO + processSingleURI('logo') + + # ORG (organization) + elmOrg = self.getPropertyValue(elmCard, 'org') + if elmOrg: + sOrganizationName = self.getPropertyValue(elmOrg, 'organization-name', self.STRING, 0, 1) + if not sOrganizationName: + # implied "organization-name" optimization + # http://microformats.org/wiki/hcard#Implied_.22organization-name.22_Optimization + sOrganizationName = self.getPropertyValue(elmCard, 'org', self.STRING, 0, 1) + if sOrganizationName: + arLines.append(self.vcardFold('ORG:' + sOrganizationName)) + else: + arOrganizationUnit = self.getPropertyValue(elmOrg, 'organization-unit', self.STRING, 1, 1) + arLines.append(self.vcardFold('ORG:' + sOrganizationName + ';' + ';'.join(arOrganizationUnit))) + + # CATEGORY + arCategory = self.getPropertyValue(elmCard, 'category', self.STRING, 1, 1) + self.getPropertyValue(elmCard, 'categories', self.STRING, 1, 1) + if arCategory: + arLines.append(self.vcardFold('CATEGORIES:' + ','.join(arCategory))) + + # NOTE + processSingleString('note') + + # REV + processSingleString('rev') + + # SOUND + processSingleURI('sound') + + # UID + processSingleString('uid') + + # URL + processSingleURI('url') + + # CLASS + processSingleString('class') + + # KEY + processSingleURI('key') + + if arLines: + arLines = [u'BEGIN:vCard',u'VERSION:3.0'] + arLines + [u'END:vCard'] + # XXX - this is super ugly; properly fix this with issue 148 + for i, s in enumerate(arLines): + if not isinstance(s, unicode): + arLines[i] = s.decode('utf-8', 'ignore') + sVCards += u'\n'.join(arLines) + u'\n' + + return sVCards.strip() + + def isProbablyDownloadable(self, elm): + attrsD = elm.attrMap + if 'href' not in attrsD: + return 0 + linktype = attrsD.get('type', '').strip() + if linktype.startswith('audio/') or \ + linktype.startswith('video/') or \ + (linktype.startswith('application/') and not linktype.endswith('xml')): + return 1 + try: + path = urlparse.urlparse(attrsD['href'])[2] + except ValueError: + return 0 + if path.find('.') == -1: + return 0 + fileext = path.split('.').pop().lower() + return fileext in self.known_binary_extensions + + def findTags(self): + all = lambda x: 1 + for elm in self.document(all, {'rel': re.compile(r'\btag\b')}): + href = elm.get('href') + if not href: + continue + urlscheme, domain, path, params, query, fragment = \ + urlparse.urlparse(_urljoin(self.baseuri, href)) + segments = path.split('/') + tag = segments.pop() + if not tag: + if segments: + tag = segments.pop() + else: + # there are no tags + continue + tagscheme = urlparse.urlunparse((urlscheme, domain, '/'.join(segments), '', '', '')) + if not tagscheme.endswith('/'): + tagscheme += '/' + self.tags.append(FeedParserDict({"term": tag, "scheme": tagscheme, "label": elm.string or ''})) + + def findEnclosures(self): + all = lambda x: 1 + enclosure_match = re.compile(r'\benclosure\b') + for elm in self.document(all, {'href': re.compile(r'.+')}): + if not enclosure_match.search(elm.get('rel', u'')) and not self.isProbablyDownloadable(elm): + continue + if elm.attrMap not in self.enclosures: + self.enclosures.append(elm.attrMap) + if elm.string and not elm.get('title'): + self.enclosures[-1]['title'] = elm.string + + def findXFN(self): + all = lambda x: 1 + for elm in self.document(all, {'rel': re.compile('.+'), 'href': re.compile('.+')}): + rels = elm.get('rel', u'').split() + xfn_rels = [r for r in rels if r in self.known_xfn_relationships] + if xfn_rels: + self.xfn.append({"relationships": xfn_rels, "href": elm.get('href', ''), "name": elm.string}) + +def _parseMicroformats(htmlSource, baseURI, encoding): + if not BeautifulSoup: + return + try: + p = _MicroformatsParser(htmlSource, baseURI, encoding) + except UnicodeEncodeError: + # sgmllib throws this exception when performing lookups of tags + # with non-ASCII characters in them. + return + p.vcard = p.findVCards(p.document) + p.findTags() + p.findEnclosures() + p.findXFN() + return {"tags": p.tags, "enclosures": p.enclosures, "xfn": p.xfn, "vcard": p.vcard} + +class _RelativeURIResolver(_BaseHTMLProcessor): + relative_uris = set([('a', 'href'), + ('applet', 'codebase'), + ('area', 'href'), + ('blockquote', 'cite'), + ('body', 'background'), + ('del', 'cite'), + ('form', 'action'), + ('frame', 'longdesc'), + ('frame', 'src'), + ('iframe', 'longdesc'), + ('iframe', 'src'), + ('head', 'profile'), + ('img', 'longdesc'), + ('img', 'src'), + ('img', 'usemap'), + ('input', 'src'), + ('input', 'usemap'), + ('ins', 'cite'), + ('link', 'href'), + ('object', 'classid'), + ('object', 'codebase'), + ('object', 'data'), + ('object', 'usemap'), + ('q', 'cite'), + ('script', 'src'), + ('video', 'poster')]) + + def __init__(self, baseuri, encoding, _type): + _BaseHTMLProcessor.__init__(self, encoding, _type) + self.baseuri = baseuri + + def resolveURI(self, uri): + return _makeSafeAbsoluteURI(self.baseuri, uri.strip()) + + def unknown_starttag(self, tag, attrs): + attrs = self.normalize_attrs(attrs) + attrs = [(key, ((tag, key) in self.relative_uris) and self.resolveURI(value) or value) for key, value in attrs] + _BaseHTMLProcessor.unknown_starttag(self, tag, attrs) + +def _resolveRelativeURIs(htmlSource, baseURI, encoding, _type): + if not _SGML_AVAILABLE: + return htmlSource + + p = _RelativeURIResolver(baseURI, encoding, _type) + p.feed(htmlSource) + return p.output() + +def _makeSafeAbsoluteURI(base, rel=None): + # bail if ACCEPTABLE_URI_SCHEMES is empty + if not ACCEPTABLE_URI_SCHEMES: + try: + return _urljoin(base, rel or u'') + except ValueError: + return u'' + if not base: + return rel or u'' + if not rel: + try: + scheme = urlparse.urlparse(base)[0] + except ValueError: + return u'' + if not scheme or scheme in ACCEPTABLE_URI_SCHEMES: + return base + return u'' + try: + uri = _urljoin(base, rel) + except ValueError: + return u'' + if uri.strip().split(':', 1)[0] not in ACCEPTABLE_URI_SCHEMES: + return u'' + return uri + +class _HTMLSanitizer(_BaseHTMLProcessor): + acceptable_elements = set(['a', 'abbr', 'acronym', 'address', 'area', + 'article', 'aside', 'audio', 'b', 'big', 'blockquote', 'br', 'button', + 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', + 'command', 'datagrid', 'datalist', 'dd', 'del', 'details', 'dfn', + 'dialog', 'dir', 'div', 'dl', 'dt', 'em', 'event-source', 'fieldset', + 'figcaption', 'figure', 'footer', 'font', 'form', 'header', 'h1', + 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'input', 'ins', + 'keygen', 'kbd', 'label', 'legend', 'li', 'm', 'map', 'menu', 'meter', + 'multicol', 'nav', 'nextid', 'ol', 'output', 'optgroup', 'option', + 'p', 'pre', 'progress', 'q', 's', 'samp', 'section', 'select', + 'small', 'sound', 'source', 'spacer', 'span', 'strike', 'strong', + 'sub', 'sup', 'table', 'tbody', 'td', 'textarea', 'time', 'tfoot', + 'th', 'thead', 'tr', 'tt', 'u', 'ul', 'var', 'video', 'noscript']) + + acceptable_attributes = set(['abbr', 'accept', 'accept-charset', 'accesskey', + 'action', 'align', 'alt', 'autocomplete', 'autofocus', 'axis', + 'background', 'balance', 'bgcolor', 'bgproperties', 'border', + 'bordercolor', 'bordercolordark', 'bordercolorlight', 'bottompadding', + 'cellpadding', 'cellspacing', 'ch', 'challenge', 'char', 'charoff', + 'choff', 'charset', 'checked', 'cite', 'class', 'clear', 'color', 'cols', + 'colspan', 'compact', 'contenteditable', 'controls', 'coords', 'data', + 'datafld', 'datapagesize', 'datasrc', 'datetime', 'default', 'delay', + 'dir', 'disabled', 'draggable', 'dynsrc', 'enctype', 'end', 'face', 'for', + 'form', 'frame', 'galleryimg', 'gutter', 'headers', 'height', 'hidefocus', + 'hidden', 'high', 'href', 'hreflang', 'hspace', 'icon', 'id', 'inputmode', + 'ismap', 'keytype', 'label', 'leftspacing', 'lang', 'list', 'longdesc', + 'loop', 'loopcount', 'loopend', 'loopstart', 'low', 'lowsrc', 'max', + 'maxlength', 'media', 'method', 'min', 'multiple', 'name', 'nohref', + 'noshade', 'nowrap', 'open', 'optimum', 'pattern', 'ping', 'point-size', + 'poster', 'pqg', 'preload', 'prompt', 'radiogroup', 'readonly', 'rel', + 'repeat-max', 'repeat-min', 'replace', 'required', 'rev', 'rightspacing', + 'rows', 'rowspan', 'rules', 'scope', 'selected', 'shape', 'size', 'span', + 'src', 'start', 'step', 'summary', 'suppress', 'tabindex', 'target', + 'template', 'title', 'toppadding', 'type', 'unselectable', 'usemap', + 'urn', 'valign', 'value', 'variable', 'volume', 'vspace', 'vrml', + 'width', 'wrap', 'xml:lang']) + + unacceptable_elements_with_end_tag = set(['script', 'applet', 'style']) + + acceptable_css_properties = set(['azimuth', 'background-color', + 'border-bottom-color', 'border-collapse', 'border-color', + 'border-left-color', 'border-right-color', 'border-top-color', 'clear', + 'color', 'cursor', 'direction', 'display', 'elevation', 'float', 'font', + 'font-family', 'font-size', 'font-style', 'font-variant', 'font-weight', + 'height', 'letter-spacing', 'line-height', 'overflow', 'pause', + 'pause-after', 'pause-before', 'pitch', 'pitch-range', 'richness', + 'speak', 'speak-header', 'speak-numeral', 'speak-punctuation', + 'speech-rate', 'stress', 'text-align', 'text-decoration', 'text-indent', + 'unicode-bidi', 'vertical-align', 'voice-family', 'volume', + 'white-space', 'width']) + + # survey of common keywords found in feeds + acceptable_css_keywords = set(['auto', 'aqua', 'black', 'block', 'blue', + 'bold', 'both', 'bottom', 'brown', 'center', 'collapse', 'dashed', + 'dotted', 'fuchsia', 'gray', 'green', '!important', 'italic', 'left', + 'lime', 'maroon', 'medium', 'none', 'navy', 'normal', 'nowrap', 'olive', + 'pointer', 'purple', 'red', 'right', 'solid', 'silver', 'teal', 'top', + 'transparent', 'underline', 'white', 'yellow']) + + valid_css_values = re.compile('^(#[0-9a-f]+|rgb\(\d+%?,\d*%?,?\d*%?\)?|' + + '\d{0,2}\.?\d{0,2}(cm|em|ex|in|mm|pc|pt|px|%|,|\))?)$') + + mathml_elements = set(['annotation', 'annotation-xml', 'maction', 'math', + 'merror', 'mfenced', 'mfrac', 'mi', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', + 'mphantom', 'mprescripts', 'mroot', 'mrow', 'mspace', 'msqrt', 'mstyle', + 'msub', 'msubsup', 'msup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', + 'munderover', 'none', 'semantics']) + + mathml_attributes = set(['actiontype', 'align', 'columnalign', 'columnalign', + 'columnalign', 'close', 'columnlines', 'columnspacing', 'columnspan', 'depth', + 'display', 'displaystyle', 'encoding', 'equalcolumns', 'equalrows', + 'fence', 'fontstyle', 'fontweight', 'frame', 'height', 'linethickness', + 'lspace', 'mathbackground', 'mathcolor', 'mathvariant', 'mathvariant', + 'maxsize', 'minsize', 'open', 'other', 'rowalign', 'rowalign', 'rowalign', + 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'scriptlevel', 'selection', + 'separator', 'separators', 'stretchy', 'width', 'width', 'xlink:href', + 'xlink:show', 'xlink:type', 'xmlns', 'xmlns:xlink']) + + # svgtiny - foreignObject + linearGradient + radialGradient + stop + svg_elements = set(['a', 'animate', 'animateColor', 'animateMotion', + 'animateTransform', 'circle', 'defs', 'desc', 'ellipse', 'foreignObject', + 'font-face', 'font-face-name', 'font-face-src', 'g', 'glyph', 'hkern', + 'linearGradient', 'line', 'marker', 'metadata', 'missing-glyph', 'mpath', + 'path', 'polygon', 'polyline', 'radialGradient', 'rect', 'set', 'stop', + 'svg', 'switch', 'text', 'title', 'tspan', 'use']) + + # svgtiny + class + opacity + offset + xmlns + xmlns:xlink + svg_attributes = set(['accent-height', 'accumulate', 'additive', 'alphabetic', + 'arabic-form', 'ascent', 'attributeName', 'attributeType', + 'baseProfile', 'bbox', 'begin', 'by', 'calcMode', 'cap-height', + 'class', 'color', 'color-rendering', 'content', 'cx', 'cy', 'd', 'dx', + 'dy', 'descent', 'display', 'dur', 'end', 'fill', 'fill-opacity', + 'fill-rule', 'font-family', 'font-size', 'font-stretch', 'font-style', + 'font-variant', 'font-weight', 'from', 'fx', 'fy', 'g1', 'g2', + 'glyph-name', 'gradientUnits', 'hanging', 'height', 'horiz-adv-x', + 'horiz-origin-x', 'id', 'ideographic', 'k', 'keyPoints', 'keySplines', + 'keyTimes', 'lang', 'mathematical', 'marker-end', 'marker-mid', + 'marker-start', 'markerHeight', 'markerUnits', 'markerWidth', 'max', + 'min', 'name', 'offset', 'opacity', 'orient', 'origin', + 'overline-position', 'overline-thickness', 'panose-1', 'path', + 'pathLength', 'points', 'preserveAspectRatio', 'r', 'refX', 'refY', + 'repeatCount', 'repeatDur', 'requiredExtensions', 'requiredFeatures', + 'restart', 'rotate', 'rx', 'ry', 'slope', 'stemh', 'stemv', + 'stop-color', 'stop-opacity', 'strikethrough-position', + 'strikethrough-thickness', 'stroke', 'stroke-dasharray', + 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', + 'stroke-miterlimit', 'stroke-opacity', 'stroke-width', 'systemLanguage', + 'target', 'text-anchor', 'to', 'transform', 'type', 'u1', 'u2', + 'underline-position', 'underline-thickness', 'unicode', 'unicode-range', + 'units-per-em', 'values', 'version', 'viewBox', 'visibility', 'width', + 'widths', 'x', 'x-height', 'x1', 'x2', 'xlink:actuate', 'xlink:arcrole', + 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', + 'xml:base', 'xml:lang', 'xml:space', 'xmlns', 'xmlns:xlink', 'y', 'y1', + 'y2', 'zoomAndPan']) + + svg_attr_map = None + svg_elem_map = None + + acceptable_svg_properties = set([ 'fill', 'fill-opacity', 'fill-rule', + 'stroke', 'stroke-width', 'stroke-linecap', 'stroke-linejoin', + 'stroke-opacity']) + + def reset(self): + _BaseHTMLProcessor.reset(self) + self.unacceptablestack = 0 + self.mathmlOK = 0 + self.svgOK = 0 + + def unknown_starttag(self, tag, attrs): + acceptable_attributes = self.acceptable_attributes + keymap = {} + if not tag in self.acceptable_elements or self.svgOK: + if tag in self.unacceptable_elements_with_end_tag: + self.unacceptablestack += 1 + + # add implicit namespaces to html5 inline svg/mathml + if self._type.endswith('html'): + if not dict(attrs).get('xmlns'): + if tag=='svg': + attrs.append( ('xmlns','http://www.w3.org/2000/svg') ) + if tag=='math': + attrs.append( ('xmlns','http://www.w3.org/1998/Math/MathML') ) + + # not otherwise acceptable, perhaps it is MathML or SVG? + if tag=='math' and ('xmlns','http://www.w3.org/1998/Math/MathML') in attrs: + self.mathmlOK += 1 + if tag=='svg' and ('xmlns','http://www.w3.org/2000/svg') in attrs: + self.svgOK += 1 + + # chose acceptable attributes based on tag class, else bail + if self.mathmlOK and tag in self.mathml_elements: + acceptable_attributes = self.mathml_attributes + elif self.svgOK and tag in self.svg_elements: + # for most vocabularies, lowercasing is a good idea. Many + # svg elements, however, are camel case + if not self.svg_attr_map: + lower=[attr.lower() for attr in self.svg_attributes] + mix=[a for a in self.svg_attributes if a not in lower] + self.svg_attributes = lower + self.svg_attr_map = dict([(a.lower(),a) for a in mix]) + + lower=[attr.lower() for attr in self.svg_elements] + mix=[a for a in self.svg_elements if a not in lower] + self.svg_elements = lower + self.svg_elem_map = dict([(a.lower(),a) for a in mix]) + acceptable_attributes = self.svg_attributes + tag = self.svg_elem_map.get(tag,tag) + keymap = self.svg_attr_map + elif not tag in self.acceptable_elements: + return + + # declare xlink namespace, if needed + if self.mathmlOK or self.svgOK: + if filter(lambda (n,v): n.startswith('xlink:'),attrs): + if not ('xmlns:xlink','http://www.w3.org/1999/xlink') in attrs: + attrs.append(('xmlns:xlink','http://www.w3.org/1999/xlink')) + + clean_attrs = [] + for key, value in self.normalize_attrs(attrs): + if key in acceptable_attributes: + key=keymap.get(key,key) + # make sure the uri uses an acceptable uri scheme + if key == u'href': + value = _makeSafeAbsoluteURI(value) + clean_attrs.append((key,value)) + elif key=='style': + clean_value = self.sanitize_style(value) + if clean_value: + clean_attrs.append((key,clean_value)) + _BaseHTMLProcessor.unknown_starttag(self, tag, clean_attrs) + + def unknown_endtag(self, tag): + if not tag in self.acceptable_elements: + if tag in self.unacceptable_elements_with_end_tag: + self.unacceptablestack -= 1 + if self.mathmlOK and tag in self.mathml_elements: + if tag == 'math' and self.mathmlOK: + self.mathmlOK -= 1 + elif self.svgOK and tag in self.svg_elements: + tag = self.svg_elem_map.get(tag,tag) + if tag == 'svg' and self.svgOK: + self.svgOK -= 1 + else: + return + _BaseHTMLProcessor.unknown_endtag(self, tag) + + def handle_pi(self, text): + pass + + def handle_decl(self, text): + pass + + def handle_data(self, text): + if not self.unacceptablestack: + _BaseHTMLProcessor.handle_data(self, text) + + def sanitize_style(self, style): + # disallow urls + style=re.compile('url\s*\(\s*[^\s)]+?\s*\)\s*').sub(' ',style) + + # gauntlet + if not re.match("""^([:,;#%.\sa-zA-Z0-9!]|\w-\w|'[\s\w]+'|"[\s\w]+"|\([\d,\s]+\))*$""", style): + return '' + # This replaced a regexp that used re.match and was prone to pathological back-tracking. + if re.sub("\s*[-\w]+\s*:\s*[^:;]*;?", '', style).strip(): + return '' + + clean = [] + for prop,value in re.findall("([-\w]+)\s*:\s*([^:;]*)",style): + if not value: + continue + if prop.lower() in self.acceptable_css_properties: + clean.append(prop + ': ' + value + ';') + elif prop.split('-')[0].lower() in ['background','border','margin','padding']: + for keyword in value.split(): + if not keyword in self.acceptable_css_keywords and \ + not self.valid_css_values.match(keyword): + break + else: + clean.append(prop + ': ' + value + ';') + elif self.svgOK and prop.lower() in self.acceptable_svg_properties: + clean.append(prop + ': ' + value + ';') + + return ' '.join(clean) + + def parse_comment(self, i, report=1): + ret = _BaseHTMLProcessor.parse_comment(self, i, report) + if ret >= 0: + return ret + # if ret == -1, this may be a malicious attempt to circumvent + # sanitization, or a page-destroying unclosed comment + match = re.compile(r'--[^>]*>').search(self.rawdata, i+4) + if match: + return match.end() + # unclosed comment; deliberately fail to handle_data() + return len(self.rawdata) + + +def _sanitizeHTML(htmlSource, encoding, _type): + if not _SGML_AVAILABLE: + return htmlSource + p = _HTMLSanitizer(encoding, _type) + htmlSource = htmlSource.replace(''): + data = data.split('>', 1)[1] + if data.count(' stream + + This function lets you define parsers that take any input source + (URL, pathname to local or network file, or actual data as a string) + and deal with it in a uniform manner. Returned object is guaranteed + to have all the basic stdio read methods (read, readline, readlines). + Just .close() the object when you're done with it. + + If the etag argument is supplied, it will be used as the value of an + If-None-Match request header. + + If the modified argument is supplied, it can be a tuple of 9 integers + (as returned by gmtime() in the standard Python time module) or a date + string in any format supported by feedparser. Regardless, it MUST + be in GMT (Greenwich Mean Time). It will be reformatted into an + RFC 1123-compliant date and used as the value of an If-Modified-Since + request header. + + If the agent argument is supplied, it will be used as the value of a + User-Agent request header. + + If the referrer argument is supplied, it will be used as the value of a + Referer[sic] request header. + + If handlers is supplied, it is a list of handlers used to build a + urllib2 opener. + + if request_headers is supplied it is a dictionary of HTTP request headers + that will override the values generated by FeedParser. + """ + + if hasattr(url_file_stream_or_string, 'read'): + return url_file_stream_or_string + + if isinstance(url_file_stream_or_string, basestring) \ + and urlparse.urlparse(url_file_stream_or_string)[0] in ('http', 'https', 'ftp', 'file', 'feed'): + # Deal with the feed URI scheme + if url_file_stream_or_string.startswith('feed:http'): + url_file_stream_or_string = url_file_stream_or_string[5:] + elif url_file_stream_or_string.startswith('feed:'): + url_file_stream_or_string = 'http:' + url_file_stream_or_string[5:] + if not agent: + agent = USER_AGENT + # Test for inline user:password credentials for HTTP basic auth + auth = None + if base64 and not url_file_stream_or_string.startswith('ftp:'): + urltype, rest = urllib.splittype(url_file_stream_or_string) + realhost, rest = urllib.splithost(rest) + if realhost: + user_passwd, realhost = urllib.splituser(realhost) + if user_passwd: + url_file_stream_or_string = '%s://%s%s' % (urltype, realhost, rest) + auth = base64.standard_b64encode(user_passwd).strip() + + # iri support + if isinstance(url_file_stream_or_string, unicode): + url_file_stream_or_string = _convert_to_idn(url_file_stream_or_string) + + # try to open with urllib2 (to use optional headers) + request = _build_urllib2_request(url_file_stream_or_string, agent, etag, modified, referrer, auth, request_headers) + opener = urllib2.build_opener(*tuple(handlers + [_FeedURLHandler()])) + opener.addheaders = [] # RMK - must clear so we only send our custom User-Agent + try: + return opener.open(request) + finally: + opener.close() # JohnD + + # try to open with native open function (if url_file_stream_or_string is a filename) + try: + return open(url_file_stream_or_string, 'rb') + except (IOError, UnicodeEncodeError, TypeError): + # if url_file_stream_or_string is a unicode object that + # cannot be converted to the encoding returned by + # sys.getfilesystemencoding(), a UnicodeEncodeError + # will be thrown + # If url_file_stream_or_string is a string that contains NULL + # (such as an XML document encoded in UTF-32), TypeError will + # be thrown. + pass + + # treat url_file_stream_or_string as string + if isinstance(url_file_stream_or_string, unicode): + return _StringIO(url_file_stream_or_string.encode('utf-8')) + return _StringIO(url_file_stream_or_string) + +def _convert_to_idn(url): + """Convert a URL to IDN notation""" + # this function should only be called with a unicode string + # strategy: if the host cannot be encoded in ascii, then + # it'll be necessary to encode it in idn form + parts = list(urlparse.urlsplit(url)) + try: + parts[1].encode('ascii') + except UnicodeEncodeError: + # the url needs to be converted to idn notation + host = parts[1].rsplit(':', 1) + newhost = [] + port = u'' + if len(host) == 2: + port = host.pop() + for h in host[0].split('.'): + newhost.append(h.encode('idna').decode('utf-8')) + parts[1] = '.'.join(newhost) + if port: + parts[1] += ':' + port + return urlparse.urlunsplit(parts) + else: + return url + +def _build_urllib2_request(url, agent, etag, modified, referrer, auth, request_headers): + request = urllib2.Request(url) + request.add_header('User-Agent', agent) + if etag: + request.add_header('If-None-Match', etag) + if isinstance(modified, basestring): + modified = _parse_date(modified) + elif isinstance(modified, datetime.datetime): + modified = modified.utctimetuple() + if modified: + # format into an RFC 1123-compliant timestamp. We can't use + # time.strftime() since the %a and %b directives can be affected + # by the current locale, but RFC 2616 states that dates must be + # in English. + short_weekdays = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] + months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] + request.add_header('If-Modified-Since', '%s, %02d %s %04d %02d:%02d:%02d GMT' % (short_weekdays[modified[6]], modified[2], months[modified[1] - 1], modified[0], modified[3], modified[4], modified[5])) + if referrer: + request.add_header('Referer', referrer) + if gzip and zlib: + request.add_header('Accept-encoding', 'gzip, deflate') + elif gzip: + request.add_header('Accept-encoding', 'gzip') + elif zlib: + request.add_header('Accept-encoding', 'deflate') + else: + request.add_header('Accept-encoding', '') + if auth: + request.add_header('Authorization', 'Basic %s' % auth) + if ACCEPT_HEADER: + request.add_header('Accept', ACCEPT_HEADER) + # use this for whatever -- cookies, special headers, etc + # [('Cookie','Something'),('x-special-header','Another Value')] + for header_name, header_value in request_headers.items(): + request.add_header(header_name, header_value) + request.add_header('A-IM', 'feed') # RFC 3229 support + return request + +_date_handlers = [] +def registerDateHandler(func): + '''Register a date handler function (takes string, returns 9-tuple date in GMT)''' + _date_handlers.insert(0, func) + +# ISO-8601 date parsing routines written by Fazal Majid. +# The ISO 8601 standard is very convoluted and irregular - a full ISO 8601 +# parser is beyond the scope of feedparser and would be a worthwhile addition +# to the Python library. +# A single regular expression cannot parse ISO 8601 date formats into groups +# as the standard is highly irregular (for instance is 030104 2003-01-04 or +# 0301-04-01), so we use templates instead. +# Please note the order in templates is significant because we need a +# greedy match. +_iso8601_tmpl = ['YYYY-?MM-?DD', 'YYYY-0MM?-?DD', 'YYYY-MM', 'YYYY-?OOO', + 'YY-?MM-?DD', 'YY-?OOO', 'YYYY', + '-YY-?MM', '-OOO', '-YY', + '--MM-?DD', '--MM', + '---DD', + 'CC', ''] +_iso8601_re = [ + tmpl.replace( + 'YYYY', r'(?P\d{4})').replace( + 'YY', r'(?P\d\d)').replace( + 'MM', r'(?P[01]\d)').replace( + 'DD', r'(?P[0123]\d)').replace( + 'OOO', r'(?P[0123]\d\d)').replace( + 'CC', r'(?P\d\d$)') + + r'(T?(?P\d{2}):(?P\d{2})' + + r'(:(?P\d{2}))?' + + r'(\.(?P\d+))?' + + r'(?P[+-](?P\d{2})(:(?P\d{2}))?|Z)?)?' + for tmpl in _iso8601_tmpl] +try: + del tmpl +except NameError: + pass +_iso8601_matches = [re.compile(regex).match for regex in _iso8601_re] +try: + del regex +except NameError: + pass +def _parse_date_iso8601(dateString): + '''Parse a variety of ISO-8601-compatible formats like 20040105''' + m = None + for _iso8601_match in _iso8601_matches: + m = _iso8601_match(dateString) + if m: + break + if not m: + return + if m.span() == (0, 0): + return + params = m.groupdict() + ordinal = params.get('ordinal', 0) + if ordinal: + ordinal = int(ordinal) + else: + ordinal = 0 + year = params.get('year', '--') + if not year or year == '--': + year = time.gmtime()[0] + elif len(year) == 2: + # ISO 8601 assumes current century, i.e. 93 -> 2093, NOT 1993 + year = 100 * int(time.gmtime()[0] / 100) + int(year) + else: + year = int(year) + month = params.get('month', '-') + if not month or month == '-': + # ordinals are NOT normalized by mktime, we simulate them + # by setting month=1, day=ordinal + if ordinal: + month = 1 + else: + month = time.gmtime()[1] + month = int(month) + day = params.get('day', 0) + if not day: + # see above + if ordinal: + day = ordinal + elif params.get('century', 0) or \ + params.get('year', 0) or params.get('month', 0): + day = 1 + else: + day = time.gmtime()[2] + else: + day = int(day) + # special case of the century - is the first year of the 21st century + # 2000 or 2001 ? The debate goes on... + if 'century' in params: + year = (int(params['century']) - 1) * 100 + 1 + # in ISO 8601 most fields are optional + for field in ['hour', 'minute', 'second', 'tzhour', 'tzmin']: + if not params.get(field, None): + params[field] = 0 + hour = int(params.get('hour', 0)) + minute = int(params.get('minute', 0)) + second = int(float(params.get('second', 0))) + # weekday is normalized by mktime(), we can ignore it + weekday = 0 + daylight_savings_flag = -1 + tm = [year, month, day, hour, minute, second, weekday, + ordinal, daylight_savings_flag] + # ISO 8601 time zone adjustments + tz = params.get('tz') + if tz and tz != 'Z': + if tz[0] == '-': + tm[3] += int(params.get('tzhour', 0)) + tm[4] += int(params.get('tzmin', 0)) + elif tz[0] == '+': + tm[3] -= int(params.get('tzhour', 0)) + tm[4] -= int(params.get('tzmin', 0)) + else: + return None + # Python's time.mktime() is a wrapper around the ANSI C mktime(3c) + # which is guaranteed to normalize d/m/y/h/m/s. + # Many implementations have bugs, but we'll pretend they don't. + return time.localtime(time.mktime(tuple(tm))) +registerDateHandler(_parse_date_iso8601) + +# 8-bit date handling routines written by ytrewq1. +_korean_year = u'\ub144' # b3e2 in euc-kr +_korean_month = u'\uc6d4' # bff9 in euc-kr +_korean_day = u'\uc77c' # c0cf in euc-kr +_korean_am = u'\uc624\uc804' # bfc0 c0fc in euc-kr +_korean_pm = u'\uc624\ud6c4' # bfc0 c8c4 in euc-kr + +_korean_onblog_date_re = \ + re.compile('(\d{4})%s\s+(\d{2})%s\s+(\d{2})%s\s+(\d{2}):(\d{2}):(\d{2})' % \ + (_korean_year, _korean_month, _korean_day)) +_korean_nate_date_re = \ + re.compile(u'(\d{4})-(\d{2})-(\d{2})\s+(%s|%s)\s+(\d{,2}):(\d{,2}):(\d{,2})' % \ + (_korean_am, _korean_pm)) +def _parse_date_onblog(dateString): + '''Parse a string according to the OnBlog 8-bit date format''' + m = _korean_onblog_date_re.match(dateString) + if not m: + return + w3dtfdate = '%(year)s-%(month)s-%(day)sT%(hour)s:%(minute)s:%(second)s%(zonediff)s' % \ + {'year': m.group(1), 'month': m.group(2), 'day': m.group(3),\ + 'hour': m.group(4), 'minute': m.group(5), 'second': m.group(6),\ + 'zonediff': '+09:00'} + return _parse_date_w3dtf(w3dtfdate) +registerDateHandler(_parse_date_onblog) + +def _parse_date_nate(dateString): + '''Parse a string according to the Nate 8-bit date format''' + m = _korean_nate_date_re.match(dateString) + if not m: + return + hour = int(m.group(5)) + ampm = m.group(4) + if (ampm == _korean_pm): + hour += 12 + hour = str(hour) + if len(hour) == 1: + hour = '0' + hour + w3dtfdate = '%(year)s-%(month)s-%(day)sT%(hour)s:%(minute)s:%(second)s%(zonediff)s' % \ + {'year': m.group(1), 'month': m.group(2), 'day': m.group(3),\ + 'hour': hour, 'minute': m.group(6), 'second': m.group(7),\ + 'zonediff': '+09:00'} + return _parse_date_w3dtf(w3dtfdate) +registerDateHandler(_parse_date_nate) + +# Unicode strings for Greek date strings +_greek_months = \ + { \ + u'\u0399\u03b1\u03bd': u'Jan', # c9e1ed in iso-8859-7 + u'\u03a6\u03b5\u03b2': u'Feb', # d6e5e2 in iso-8859-7 + u'\u039c\u03ac\u03ce': u'Mar', # ccdcfe in iso-8859-7 + u'\u039c\u03b1\u03ce': u'Mar', # cce1fe in iso-8859-7 + u'\u0391\u03c0\u03c1': u'Apr', # c1f0f1 in iso-8859-7 + u'\u039c\u03ac\u03b9': u'May', # ccdce9 in iso-8859-7 + u'\u039c\u03b1\u03ca': u'May', # cce1fa in iso-8859-7 + u'\u039c\u03b1\u03b9': u'May', # cce1e9 in iso-8859-7 + u'\u0399\u03bf\u03cd\u03bd': u'Jun', # c9effded in iso-8859-7 + u'\u0399\u03bf\u03bd': u'Jun', # c9efed in iso-8859-7 + u'\u0399\u03bf\u03cd\u03bb': u'Jul', # c9effdeb in iso-8859-7 + u'\u0399\u03bf\u03bb': u'Jul', # c9f9eb in iso-8859-7 + u'\u0391\u03cd\u03b3': u'Aug', # c1fde3 in iso-8859-7 + u'\u0391\u03c5\u03b3': u'Aug', # c1f5e3 in iso-8859-7 + u'\u03a3\u03b5\u03c0': u'Sep', # d3e5f0 in iso-8859-7 + u'\u039f\u03ba\u03c4': u'Oct', # cfeaf4 in iso-8859-7 + u'\u039d\u03bf\u03ad': u'Nov', # cdefdd in iso-8859-7 + u'\u039d\u03bf\u03b5': u'Nov', # cdefe5 in iso-8859-7 + u'\u0394\u03b5\u03ba': u'Dec', # c4e5ea in iso-8859-7 + } + +_greek_wdays = \ + { \ + u'\u039a\u03c5\u03c1': u'Sun', # caf5f1 in iso-8859-7 + u'\u0394\u03b5\u03c5': u'Mon', # c4e5f5 in iso-8859-7 + u'\u03a4\u03c1\u03b9': u'Tue', # d4f1e9 in iso-8859-7 + u'\u03a4\u03b5\u03c4': u'Wed', # d4e5f4 in iso-8859-7 + u'\u03a0\u03b5\u03bc': u'Thu', # d0e5ec in iso-8859-7 + u'\u03a0\u03b1\u03c1': u'Fri', # d0e1f1 in iso-8859-7 + u'\u03a3\u03b1\u03b2': u'Sat', # d3e1e2 in iso-8859-7 + } + +_greek_date_format_re = \ + re.compile(u'([^,]+),\s+(\d{2})\s+([^\s]+)\s+(\d{4})\s+(\d{2}):(\d{2}):(\d{2})\s+([^\s]+)') + +def _parse_date_greek(dateString): + '''Parse a string according to a Greek 8-bit date format.''' + m = _greek_date_format_re.match(dateString) + if not m: + return + wday = _greek_wdays[m.group(1)] + month = _greek_months[m.group(3)] + rfc822date = '%(wday)s, %(day)s %(month)s %(year)s %(hour)s:%(minute)s:%(second)s %(zonediff)s' % \ + {'wday': wday, 'day': m.group(2), 'month': month, 'year': m.group(4),\ + 'hour': m.group(5), 'minute': m.group(6), 'second': m.group(7),\ + 'zonediff': m.group(8)} + return _parse_date_rfc822(rfc822date) +registerDateHandler(_parse_date_greek) + +# Unicode strings for Hungarian date strings +_hungarian_months = \ + { \ + u'janu\u00e1r': u'01', # e1 in iso-8859-2 + u'febru\u00e1ri': u'02', # e1 in iso-8859-2 + u'm\u00e1rcius': u'03', # e1 in iso-8859-2 + u'\u00e1prilis': u'04', # e1 in iso-8859-2 + u'm\u00e1ujus': u'05', # e1 in iso-8859-2 + u'j\u00fanius': u'06', # fa in iso-8859-2 + u'j\u00falius': u'07', # fa in iso-8859-2 + u'augusztus': u'08', + u'szeptember': u'09', + u'okt\u00f3ber': u'10', # f3 in iso-8859-2 + u'november': u'11', + u'december': u'12', + } + +_hungarian_date_format_re = \ + re.compile(u'(\d{4})-([^-]+)-(\d{,2})T(\d{,2}):(\d{2})((\+|-)(\d{,2}:\d{2}))') + +def _parse_date_hungarian(dateString): + '''Parse a string according to a Hungarian 8-bit date format.''' + m = _hungarian_date_format_re.match(dateString) + if not m or m.group(2) not in _hungarian_months: + return None + month = _hungarian_months[m.group(2)] + day = m.group(3) + if len(day) == 1: + day = '0' + day + hour = m.group(4) + if len(hour) == 1: + hour = '0' + hour + w3dtfdate = '%(year)s-%(month)s-%(day)sT%(hour)s:%(minute)s%(zonediff)s' % \ + {'year': m.group(1), 'month': month, 'day': day,\ + 'hour': hour, 'minute': m.group(5),\ + 'zonediff': m.group(6)} + return _parse_date_w3dtf(w3dtfdate) +registerDateHandler(_parse_date_hungarian) + +# W3DTF-style date parsing adapted from PyXML xml.utils.iso8601, written by +# Drake and licensed under the Python license. Removed all range checking +# for month, day, hour, minute, and second, since mktime will normalize +# these later +# Modified to also support MSSQL-style datetimes as defined at: +# http://msdn.microsoft.com/en-us/library/ms186724.aspx +# (which basically means allowing a space as a date/time/timezone separator) +def _parse_date_w3dtf(dateString): + def __extract_date(m): + year = int(m.group('year')) + if year < 100: + year = 100 * int(time.gmtime()[0] / 100) + int(year) + if year < 1000: + return 0, 0, 0 + julian = m.group('julian') + if julian: + julian = int(julian) + month = julian / 30 + 1 + day = julian % 30 + 1 + jday = None + while jday != julian: + t = time.mktime((year, month, day, 0, 0, 0, 0, 0, 0)) + jday = time.gmtime(t)[-2] + diff = abs(jday - julian) + if jday > julian: + if diff < day: + day = day - diff + else: + month = month - 1 + day = 31 + elif jday < julian: + if day + diff < 28: + day = day + diff + else: + month = month + 1 + return year, month, day + month = m.group('month') + day = 1 + if month is None: + month = 1 + else: + month = int(month) + day = m.group('day') + if day: + day = int(day) + else: + day = 1 + return year, month, day + + def __extract_time(m): + if not m: + return 0, 0, 0 + hours = m.group('hours') + if not hours: + return 0, 0, 0 + hours = int(hours) + minutes = int(m.group('minutes')) + seconds = m.group('seconds') + if seconds: + seconds = int(seconds) + else: + seconds = 0 + return hours, minutes, seconds + + def __extract_tzd(m): + '''Return the Time Zone Designator as an offset in seconds from UTC.''' + if not m: + return 0 + tzd = m.group('tzd') + if not tzd: + return 0 + if tzd == 'Z': + return 0 + hours = int(m.group('tzdhours')) + minutes = m.group('tzdminutes') + if minutes: + minutes = int(minutes) + else: + minutes = 0 + offset = (hours*60 + minutes) * 60 + if tzd[0] == '+': + return -offset + return offset + + __date_re = ('(?P\d\d\d\d)' + '(?:(?P-|)' + '(?:(?P\d\d)(?:(?P=dsep)(?P\d\d))?' + '|(?P\d\d\d)))?') + __tzd_re = ' ?(?P[-+](?P\d\d)(?::?(?P\d\d))|Z)?' + __time_re = ('(?P\d\d)(?P:|)(?P\d\d)' + '(?:(?P=tsep)(?P\d\d)(?:[.,]\d+)?)?' + + __tzd_re) + __datetime_re = '%s(?:[T ]%s)?' % (__date_re, __time_re) + __datetime_rx = re.compile(__datetime_re) + m = __datetime_rx.match(dateString) + if (m is None) or (m.group() != dateString): + return + gmt = __extract_date(m) + __extract_time(m) + (0, 0, 0) + if gmt[0] == 0: + return + return time.gmtime(time.mktime(gmt) + __extract_tzd(m) - time.timezone) +registerDateHandler(_parse_date_w3dtf) + +# Define the strings used by the RFC822 datetime parser +_rfc822_months = ['jan', 'feb', 'mar', 'apr', 'may', 'jun', + 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'] +_rfc822_daynames = ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun'] + +# Only the first three letters of the month name matter +_rfc822_month = "(?P%s)(?:[a-z]*,?)" % ('|'.join(_rfc822_months)) +# The year may be 2 or 4 digits; capture the century if it exists +_rfc822_year = "(?P(?:\d{2})?\d{2})" +_rfc822_day = "(?P *\d{1,2})" +_rfc822_date = "%s %s %s" % (_rfc822_day, _rfc822_month, _rfc822_year) + +_rfc822_hour = "(?P\d{2}):(?P\d{2})(?::(?P\d{2}))?" +_rfc822_tz = "(?Put|gmt(?:[+-]\d{2}:\d{2})?|[aecmp][sd]?t|[zamny]|[+-]\d{4})" +_rfc822_tznames = { + 'ut': 0, 'gmt': 0, 'z': 0, + 'adt': -3, 'ast': -4, 'at': -4, + 'edt': -4, 'est': -5, 'et': -5, + 'cdt': -5, 'cst': -6, 'ct': -6, + 'mdt': -6, 'mst': -7, 'mt': -7, + 'pdt': -7, 'pst': -8, 'pt': -8, + 'a': -1, 'n': 1, + 'm': -12, 'y': 12, + } +# The timezone may be prefixed by 'Etc/' +_rfc822_time = "%s (?:etc/)?%s" % (_rfc822_hour, _rfc822_tz) + +_rfc822_dayname = "(?P%s)" % ('|'.join(_rfc822_daynames)) +_rfc822_match = re.compile( + "(?:%s, )?%s(?: %s)?" % (_rfc822_dayname, _rfc822_date, _rfc822_time) +).match + +def _parse_date_group_rfc822(m): + # Calculate a date and timestamp + for k in ('year', 'day', 'hour', 'minute', 'second'): + m[k] = int(m[k]) + m['month'] = _rfc822_months.index(m['month']) + 1 + # If the year is 2 digits, assume everything in the 90's is the 1990's + if m['year'] < 100: + m['year'] += (1900, 2000)[m['year'] < 90] + stamp = datetime.datetime(*[m[i] for i in + ('year', 'month', 'day', 'hour', 'minute', 'second')]) + + # Use the timezone information to calculate the difference between + # the given date and timestamp and Universal Coordinated Time + tzhour = 0 + tzmin = 0 + if m['tz'] and m['tz'].startswith('gmt'): + # Handle GMT and GMT+hh:mm timezone syntax (the trailing + # timezone info will be handled by the next `if` block) + m['tz'] = ''.join(m['tz'][3:].split(':')) or 'gmt' + if not m['tz']: + pass + elif m['tz'].startswith('+'): + tzhour = int(m['tz'][1:3]) + tzmin = int(m['tz'][3:]) + elif m['tz'].startswith('-'): + tzhour = int(m['tz'][1:3]) * -1 + tzmin = int(m['tz'][3:]) * -1 + else: + tzhour = _rfc822_tznames[m['tz']] + delta = datetime.timedelta(0, 0, 0, 0, tzmin, tzhour) + + # Return the date and timestamp in UTC + return (stamp - delta).utctimetuple() + +def _parse_date_rfc822(dt): + """Parse RFC 822 dates and times, with one minor + difference: years may be 4DIGIT or 2DIGIT. + http://tools.ietf.org/html/rfc822#section-5""" + try: + m = _rfc822_match(dt.lower()).groupdict(0) + except AttributeError: + return None + + return _parse_date_group_rfc822(m) +registerDateHandler(_parse_date_rfc822) + +def _parse_date_rfc822_grubby(dt): + """Parse date format similar to RFC 822, but + the comma after the dayname is optional and + month/day are inverted""" + _rfc822_date_grubby = "%s %s %s" % (_rfc822_month, _rfc822_day, _rfc822_year) + _rfc822_match_grubby = re.compile( + "(?:%s[,]? )?%s(?: %s)?" % (_rfc822_dayname, _rfc822_date_grubby, _rfc822_time) + ).match + + try: + m = _rfc822_match_grubby(dt.lower()).groupdict(0) + except AttributeError: + return None + + return _parse_date_group_rfc822(m) +registerDateHandler(_parse_date_rfc822_grubby) + +def _parse_date_asctime(dt): + """Parse asctime-style dates""" + dayname, month, day, remainder = dt.split(None, 3) + # Convert month and day into zero-padded integers + month = '%02i ' % (_rfc822_months.index(month.lower()) + 1) + day = '%02i ' % (int(day),) + dt = month + day + remainder + return time.strptime(dt, '%m %d %H:%M:%S %Y')[:-1] + (0, ) +registerDateHandler(_parse_date_asctime) + +def _parse_date_perforce(aDateString): + """parse a date in yyyy/mm/dd hh:mm:ss TTT format""" + # Fri, 2006/09/15 08:19:53 EDT + _my_date_pattern = re.compile( \ + r'(\w{,3}), (\d{,4})/(\d{,2})/(\d{2}) (\d{,2}):(\d{2}):(\d{2}) (\w{,3})') + + m = _my_date_pattern.search(aDateString) + if m is None: + return None + dow, year, month, day, hour, minute, second, tz = m.groups() + months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] + dateString = "%s, %s %s %s %s:%s:%s %s" % (dow, day, months[int(month) - 1], year, hour, minute, second, tz) + tm = rfc822.parsedate_tz(dateString) + if tm: + return time.gmtime(rfc822.mktime_tz(tm)) +registerDateHandler(_parse_date_perforce) + +def _parse_date(dateString): + '''Parses a variety of date formats into a 9-tuple in GMT''' + if not dateString: + return None + for handler in _date_handlers: + try: + date9tuple = handler(dateString) + except (KeyError, OverflowError, ValueError): + continue + if not date9tuple: + continue + if len(date9tuple) != 9: + continue + return date9tuple + return None + +# Each marker represents some of the characters of the opening XML +# processing instruction (' +RE_XML_DECLARATION = re.compile('^<\?xml[^>]*?>') + +# Capture the value of the XML processing instruction's encoding attribute. +# Example: +RE_XML_PI_ENCODING = re.compile(_s2bytes('^<\?.*encoding=[\'"](.*?)[\'"].*\?>')) + +def convert_to_utf8(http_headers, data): + '''Detect and convert the character encoding to UTF-8. + + http_headers is a dictionary + data is a raw string (not Unicode)''' + + # This is so much trickier than it sounds, it's not even funny. + # According to RFC 3023 ('XML Media Types'), if the HTTP Content-Type + # is application/xml, application/*+xml, + # application/xml-external-parsed-entity, or application/xml-dtd, + # the encoding given in the charset parameter of the HTTP Content-Type + # takes precedence over the encoding given in the XML prefix within the + # document, and defaults to 'utf-8' if neither are specified. But, if + # the HTTP Content-Type is text/xml, text/*+xml, or + # text/xml-external-parsed-entity, the encoding given in the XML prefix + # within the document is ALWAYS IGNORED and only the encoding given in + # the charset parameter of the HTTP Content-Type header should be + # respected, and it defaults to 'us-ascii' if not specified. + + # Furthermore, discussion on the atom-syntax mailing list with the + # author of RFC 3023 leads me to the conclusion that any document + # served with a Content-Type of text/* and no charset parameter + # must be treated as us-ascii. (We now do this.) And also that it + # must always be flagged as non-well-formed. (We now do this too.) + + # If Content-Type is unspecified (input was local file or non-HTTP source) + # or unrecognized (server just got it totally wrong), then go by the + # encoding given in the XML prefix of the document and default to + # 'iso-8859-1' as per the HTTP specification (RFC 2616). + + # Then, assuming we didn't find a character encoding in the HTTP headers + # (and the HTTP Content-type allowed us to look in the body), we need + # to sniff the first few bytes of the XML data and try to determine + # whether the encoding is ASCII-compatible. Section F of the XML + # specification shows the way here: + # http://www.w3.org/TR/REC-xml/#sec-guessing-no-ext-info + + # If the sniffed encoding is not ASCII-compatible, we need to make it + # ASCII compatible so that we can sniff further into the XML declaration + # to find the encoding attribute, which will tell us the true encoding. + + # Of course, none of this guarantees that we will be able to parse the + # feed in the declared character encoding (assuming it was declared + # correctly, which many are not). iconv_codec can help a lot; + # you should definitely install it if you can. + # http://cjkpython.i18n.org/ + + bom_encoding = u'' + xml_encoding = u'' + rfc3023_encoding = u'' + + # Look at the first few bytes of the document to guess what + # its encoding may be. We only need to decode enough of the + # document that we can use an ASCII-compatible regular + # expression to search for an XML encoding declaration. + # The heuristic follows the XML specification, section F: + # http://www.w3.org/TR/REC-xml/#sec-guessing-no-ext-info + # Check for BOMs first. + if data[:4] == codecs.BOM_UTF32_BE: + bom_encoding = u'utf-32be' + data = data[4:] + elif data[:4] == codecs.BOM_UTF32_LE: + bom_encoding = u'utf-32le' + data = data[4:] + elif data[:2] == codecs.BOM_UTF16_BE and data[2:4] != ZERO_BYTES: + bom_encoding = u'utf-16be' + data = data[2:] + elif data[:2] == codecs.BOM_UTF16_LE and data[2:4] != ZERO_BYTES: + bom_encoding = u'utf-16le' + data = data[2:] + elif data[:3] == codecs.BOM_UTF8: + bom_encoding = u'utf-8' + data = data[3:] + # Check for the characters '''' + if RE_XML_DECLARATION.search(data): + data = RE_XML_DECLARATION.sub(new_declaration, data) + else: + data = new_declaration + u'\n' + data + data = data.encode('utf-8') + break + # if still no luck, give up + if not known_encoding: + error = CharacterEncodingUnknown( + 'document encoding unknown, I tried ' + + '%s, %s, utf-8, windows-1252, and iso-8859-2 but nothing worked' % + (rfc3023_encoding, xml_encoding)) + rfc3023_encoding = u'' + elif proposed_encoding != rfc3023_encoding: + error = CharacterEncodingOverride( + 'document declared as %s, but parsed as %s' % + (rfc3023_encoding, proposed_encoding)) + rfc3023_encoding = proposed_encoding + + return data, rfc3023_encoding, error + +# Match XML entity declarations. +# Example: +RE_ENTITY_PATTERN = re.compile(_s2bytes(r'^\s*]*?)>'), re.MULTILINE) + +# Match XML DOCTYPE declarations. +# Example: +RE_DOCTYPE_PATTERN = re.compile(_s2bytes(r'^\s*]*?)>'), re.MULTILINE) + +# Match safe entity declarations. +# This will allow hexadecimal character references through, +# as well as text, but not arbitrary nested entities. +# Example: cubed "³" +# Example: copyright "(C)" +# Forbidden: explode1 "&explode2;&explode2;" +RE_SAFE_ENTITY_PATTERN = re.compile(_s2bytes('\s+(\w+)\s+"(&#\w+;|[^&"]*)"')) + +def replace_doctype(data): + '''Strips and replaces the DOCTYPE, returns (rss_version, stripped_data) + + rss_version may be 'rss091n' or None + stripped_data is the same XML document with a replaced DOCTYPE + ''' + + # Divide the document into two groups by finding the location + # of the first element that doesn't begin with '\n\n]>') + data = RE_DOCTYPE_PATTERN.sub(replacement, head) + data + + # Precompute the safe entities for the loose parser. + safe_entities = dict((k.decode('utf-8'), v.decode('utf-8')) + for k, v in RE_SAFE_ENTITY_PATTERN.findall(replacement)) + return version, data, safe_entities + +def parse(url_file_stream_or_string, etag=None, modified=None, agent=None, referrer=None, handlers=None, request_headers=None, response_headers=None): + '''Parse a feed from a URL, file, stream, or string. + + request_headers, if given, is a dict from http header name to value to add + to the request; this overrides internally generated values. + ''' + + if handlers is None: + handlers = [] + if request_headers is None: + request_headers = {} + if response_headers is None: + response_headers = {} + + result = FeedParserDict() + result['feed'] = FeedParserDict() + result['entries'] = [] + result['bozo'] = 0 + if not isinstance(handlers, list): + handlers = [handlers] + try: + f = _open_resource(url_file_stream_or_string, etag, modified, agent, referrer, handlers, request_headers) + data = f.read() + except Exception, e: + result['bozo'] = 1 + result['bozo_exception'] = e + data = None + f = None + + if hasattr(f, 'headers'): + result['headers'] = dict(f.headers) + # overwrite existing headers using response_headers + if 'headers' in result: + result['headers'].update(response_headers) + elif response_headers: + result['headers'] = copy.deepcopy(response_headers) + + # lowercase all of the HTTP headers for comparisons per RFC 2616 + if 'headers' in result: + http_headers = dict((k.lower(), v) for k, v in result['headers'].items()) + else: + http_headers = {} + + # if feed is gzip-compressed, decompress it + if f and data and http_headers: + if gzip and 'gzip' in http_headers.get('content-encoding', ''): + try: + data = gzip.GzipFile(fileobj=_StringIO(data)).read() + except (IOError, struct.error), e: + # IOError can occur if the gzip header is bad. + # struct.error can occur if the data is damaged. + result['bozo'] = 1 + result['bozo_exception'] = e + if isinstance(e, struct.error): + # A gzip header was found but the data is corrupt. + # Ideally, we should re-request the feed without the + # 'Accept-encoding: gzip' header, but we don't. + data = None + elif zlib and 'deflate' in http_headers.get('content-encoding', ''): + try: + data = zlib.decompress(data) + except zlib.error, e: + try: + # The data may have no headers and no checksum. + data = zlib.decompress(data, -15) + except zlib.error, e: + result['bozo'] = 1 + result['bozo_exception'] = e + + # save HTTP headers + if http_headers: + if 'etag' in http_headers: + etag = http_headers.get('etag', u'') + if not isinstance(etag, unicode): + etag = etag.decode('utf-8', 'ignore') + if etag: + result['etag'] = etag + if 'last-modified' in http_headers: + modified = http_headers.get('last-modified', u'') + if modified: + result['modified'] = modified + result['modified_parsed'] = _parse_date(modified) + if hasattr(f, 'url'): + if not isinstance(f.url, unicode): + result['href'] = f.url.decode('utf-8', 'ignore') + else: + result['href'] = f.url + result['status'] = 200 + if hasattr(f, 'status'): + result['status'] = f.status + if hasattr(f, 'close'): + f.close() + + if data is None: + return result + + # Stop processing if the server sent HTTP 304 Not Modified. + if getattr(f, 'code', 0) == 304: + result['version'] = u'' + result['debug_message'] = 'The feed has not changed since you last checked, ' + \ + 'so the server sent no data. This is a feature, not a bug!' + return result + + data, result['encoding'], error = convert_to_utf8(http_headers, data) + use_strict_parser = result['encoding'] and True or False + if error is not None: + result['bozo'] = 1 + result['bozo_exception'] = error + + result['version'], data, entities = replace_doctype(data) + + # Ensure that baseuri is an absolute URI using an acceptable URI scheme. + contentloc = http_headers.get('content-location', u'') + href = result.get('href', u'') + baseuri = _makeSafeAbsoluteURI(href, contentloc) or _makeSafeAbsoluteURI(contentloc) or href + + baselang = http_headers.get('content-language', None) + if not isinstance(baselang, unicode) and baselang is not None: + baselang = baselang.decode('utf-8', 'ignore') + + if not _XML_AVAILABLE: + use_strict_parser = 0 + if use_strict_parser: + # initialize the SAX parser + feedparser = _StrictFeedParser(baseuri, baselang, 'utf-8') + saxparser = xml.sax.make_parser(PREFERRED_XML_PARSERS) + saxparser.setFeature(xml.sax.handler.feature_namespaces, 1) + try: + # disable downloading external doctype references, if possible + saxparser.setFeature(xml.sax.handler.feature_external_ges, 0) + except xml.sax.SAXNotSupportedException: + pass + saxparser.setContentHandler(feedparser) + saxparser.setErrorHandler(feedparser) + source = xml.sax.xmlreader.InputSource() + source.setByteStream(_StringIO(data)) + try: + saxparser.parse(source) + except xml.sax.SAXException, e: + result['bozo'] = 1 + result['bozo_exception'] = feedparser.exc or e + use_strict_parser = 0 + if not use_strict_parser and _SGML_AVAILABLE: + feedparser = _LooseFeedParser(baseuri, baselang, 'utf-8', entities) + feedparser.feed(data.decode('utf-8', 'replace')) + result['feed'] = feedparser.feeddata + result['entries'] = feedparser.entries + result['version'] = result['version'] or feedparser.version + result['namespaces'] = feedparser.namespacesInUse + return result diff --git a/lib/feedparser/feedparsertest.py b/lib/feedparser/feedparsertest.py new file mode 100644 index 00000000..aadcf79d --- /dev/null +++ b/lib/feedparser/feedparsertest.py @@ -0,0 +1,859 @@ +#!/usr/bin/env python + +__author__ = "Mark Pilgrim " +__license__ = """ +Copyright (c) 2010-2012 Kurt McKee +Copyright (c) 2004-2008 Mark Pilgrim +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE.""" + +import codecs +import datetime +import glob +import operator +import os +import posixpath +import pprint +import re +import struct +import sys +import threading +import time +import unittest +import urllib +import warnings +import zlib +import BaseHTTPServer +import SimpleHTTPServer + +import feedparser + +if not feedparser._XML_AVAILABLE: + sys.stderr.write('No XML parsers available, unit testing can not proceed\n') + sys.exit(1) + +try: + # the utf_32 codec was introduced in Python 2.6; it's necessary to + # check this as long as feedparser supports Python 2.4 and 2.5 + codecs.lookup('utf_32') +except LookupError: + _UTF32_AVAILABLE = False +else: + _UTF32_AVAILABLE = True + +_s2bytes = feedparser._s2bytes +_l2bytes = feedparser._l2bytes + +#---------- custom HTTP server (used to serve test feeds) ---------- + +_PORT = 8097 # not really configurable, must match hardcoded port in tests +_HOST = '127.0.0.1' # also not really configurable + +class FeedParserTestRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): + headers_re = re.compile(_s2bytes(r"^Header:\s+([^:]+):(.+)$"), re.MULTILINE) + + def send_head(self): + """Send custom headers defined in test case + + Example: + + """ + # Short-circuit the HTTP status test `test_redirect_to_304()` + if self.path == '/-/return-304.xml': + self.send_response(304) + self.send_header('Content-type', 'text/xml') + self.end_headers() + return feedparser._StringIO(u''.encode('utf-8')) + path = self.translate_path(self.path) + # the compression tests' filenames determine the header sent + if self.path.startswith('/tests/compression'): + if self.path.endswith('gz'): + headers = {'Content-Encoding': 'gzip'} + else: + headers = {'Content-Encoding': 'deflate'} + headers['Content-type'] = 'application/xml' + else: + headers = dict([(k.decode('utf-8'), v.decode('utf-8').strip()) for k, v in self.headers_re.findall(open(path, 'rb').read())]) + f = open(path, 'rb') + if (self.headers.get('if-modified-since') == headers.get('Last-Modified', 'nom')) \ + or (self.headers.get('if-none-match') == headers.get('ETag', 'nomatch')): + status = 304 + else: + status = 200 + headers.setdefault('Status', status) + self.send_response(int(headers['Status'])) + headers.setdefault('Content-type', self.guess_type(path)) + self.send_header("Content-type", headers['Content-type']) + self.send_header("Content-Length", str(os.stat(f.name)[6])) + for k, v in headers.items(): + if k not in ('Status', 'Content-type'): + self.send_header(k, v) + self.end_headers() + return f + + def log_request(self, *args): + pass + +class FeedParserTestServer(threading.Thread): + """HTTP Server that runs in a thread and handles a predetermined number of requests""" + + def __init__(self, requests): + threading.Thread.__init__(self) + self.requests = requests + self.ready = threading.Event() + + def run(self): + self.httpd = BaseHTTPServer.HTTPServer((_HOST, _PORT), FeedParserTestRequestHandler) + self.ready.set() + while self.requests: + self.httpd.handle_request() + self.requests -= 1 + self.ready.clear() + +#---------- dummy test case class (test methods are added dynamically) ---------- +unicode1_re = re.compile(_s2bytes(" u'")) +unicode2_re = re.compile(_s2bytes(' u"')) + +# _bytes is only used in everythingIsUnicode(). +# In Python 2 it's str, and in Python 3 it's bytes. +_bytes = type(_s2bytes('')) + +def everythingIsUnicode(d): + """Takes a dictionary, recursively verifies that every value is unicode""" + for k, v in d.iteritems(): + if isinstance(v, dict) and k != 'headers': + if not everythingIsUnicode(v): + return False + elif isinstance(v, list): + for i in v: + if isinstance(i, dict) and not everythingIsUnicode(i): + return False + elif isinstance(i, _bytes): + return False + elif isinstance(v, _bytes): + return False + return True + +def failUnlessEval(self, xmlfile, evalString, msg=None): + """Fail unless eval(evalString, env)""" + env = feedparser.parse(xmlfile) + try: + if not eval(evalString, globals(), env): + failure=(msg or 'not eval(%s) \nWITH env(%s)' % (evalString, pprint.pformat(env))) + raise self.failureException, failure + if not everythingIsUnicode(env): + raise self.failureException, "not everything is unicode \nWITH env(%s)" % (pprint.pformat(env), ) + except SyntaxError: + # Python 3 doesn't have the `u""` syntax, so evalString needs to be modified, + # which will require the failure message to be updated + evalString = re.sub(unicode1_re, _s2bytes(" '"), evalString) + evalString = re.sub(unicode2_re, _s2bytes(' "'), evalString) + if not eval(evalString, globals(), env): + failure=(msg or 'not eval(%s) \nWITH env(%s)' % (evalString, pprint.pformat(env))) + raise self.failureException, failure + +class BaseTestCase(unittest.TestCase): + failUnlessEval = failUnlessEval + +class TestCase(BaseTestCase): + pass + +class TestTemporaryFallbackBehavior(unittest.TestCase): + "These tests are temporarily here because of issues 310 and 328" + def test_issue_328_fallback_behavior(self): + warnings.filterwarnings('error') + + d = feedparser.FeedParserDict() + d['published'] = u'pub string' + d['published_parsed'] = u'pub tuple' + d['updated'] = u'upd string' + d['updated_parsed'] = u'upd tuple' + # Ensure that `updated` doesn't map to `published` when it exists + self.assertTrue('published' in d) + self.assertTrue('published_parsed' in d) + self.assertTrue('updated' in d) + self.assertTrue('updated_parsed' in d) + self.assertEqual(d['published'], 'pub string') + self.assertEqual(d['published_parsed'], 'pub tuple') + self.assertEqual(d['updated'], 'upd string') + self.assertEqual(d['updated_parsed'], 'upd tuple') + + d = feedparser.FeedParserDict() + d['published'] = u'pub string' + d['published_parsed'] = u'pub tuple' + # Ensure that `updated` doesn't actually exist + self.assertTrue('updated' not in d) + self.assertTrue('updated_parsed' not in d) + # Ensure that accessing `updated` throws a DeprecationWarning + try: + d['updated'] + except DeprecationWarning: + # Expected behavior + pass + else: + # Wrong behavior + self.assertEqual(True, False) + try: + d['updated_parsed'] + except DeprecationWarning: + # Expected behavior + pass + else: + # Wrong behavior + self.assertEqual(True, False) + # Ensure that `updated` maps to `published` + warnings.filterwarnings('ignore') + self.assertEqual(d['updated'], u'pub string') + self.assertEqual(d['updated_parsed'], u'pub tuple') + warnings.resetwarnings() + + +class TestEverythingIsUnicode(unittest.TestCase): + "Ensure that `everythingIsUnicode()` is working appropriately" + def test_everything_is_unicode(self): + self.assertTrue(everythingIsUnicode( + {'a': u'a', 'b': [u'b', {'c': u'c'}], 'd': {'e': u'e'}} + )) + def test_not_everything_is_unicode(self): + self.assertFalse(everythingIsUnicode({'a': _s2bytes('a')})) + self.assertFalse(everythingIsUnicode({'a': [_s2bytes('a')]})) + self.assertFalse(everythingIsUnicode({'a': {'b': _s2bytes('b')}})) + self.assertFalse(everythingIsUnicode({'a': [{'b': _s2bytes('b')}]})) + +class TestLooseParser(BaseTestCase): + "Test the sgmllib-based parser by manipulating feedparser " \ + "into believing no XML parsers are installed" + def __init__(self, arg): + unittest.TestCase.__init__(self, arg) + self._xml_available = feedparser._XML_AVAILABLE + def setUp(self): + feedparser._XML_AVAILABLE = 0 + def tearDown(self): + feedparser._XML_AVAILABLE = self._xml_available + +class TestStrictParser(BaseTestCase): + pass + +class TestMicroformats(BaseTestCase): + pass + +class TestEncodings(BaseTestCase): + def test_doctype_replacement(self): + "Ensure that non-ASCII-compatible encodings don't hide " \ + "disallowed ENTITY declarations" + doc = """ + + + + ]> + &exponential3;""" + doc = codecs.BOM_UTF16_BE + doc.encode('utf-16be') + result = feedparser.parse(doc) + self.assertEqual(result['feed']['title'], u'&exponential3') + def test_gb2312_converted_to_gb18030_in_xml_encoding(self): + # \u55de was chosen because it exists in gb18030 but not gb2312 + feed = u''' + \u55de''' + result = feedparser.parse(feed.encode('gb18030'), response_headers={ + 'Content-Type': 'text/xml' + }) + self.assertEqual(result.encoding, 'gb18030') + +class TestFeedParserDict(unittest.TestCase): + "Ensure that FeedParserDict returns values as expected and won't crash" + def setUp(self): + self.d = feedparser.FeedParserDict() + def _check_key(self, k): + self.assertTrue(k in self.d) + self.assertTrue(hasattr(self.d, k)) + self.assertEqual(self.d[k], 1) + self.assertEqual(getattr(self.d, k), 1) + def _check_no_key(self, k): + self.assertTrue(k not in self.d) + self.assertTrue(not hasattr(self.d, k)) + def test_empty(self): + keys = ( + 'a','entries', 'id', 'guid', 'summary', 'subtitle', 'description', + 'category', 'enclosures', 'license', 'categories', + ) + for k in keys: + self._check_no_key(k) + self.assertTrue('items' not in self.d) + self.assertTrue(hasattr(self.d, 'items')) # dict.items() exists + def test_neutral(self): + self.d['a'] = 1 + self._check_key('a') + def test_single_mapping_target_1(self): + self.d['id'] = 1 + self._check_key('id') + self._check_key('guid') + def test_single_mapping_target_2(self): + self.d['guid'] = 1 + self._check_key('id') + self._check_key('guid') + def test_multiple_mapping_target_1(self): + self.d['summary'] = 1 + self._check_key('summary') + self._check_key('description') + def test_multiple_mapping_target_2(self): + self.d['subtitle'] = 1 + self._check_key('subtitle') + self._check_key('description') + def test_multiple_mapping_mapped_key(self): + self.d['description'] = 1 + self._check_key('summary') + self._check_key('description') + def test_license(self): + self.d['links'] = [] + try: + self.d['license'] + self.assertTrue(False) + except KeyError: + pass + self.d['links'].append({'rel': 'license'}) + try: + self.d['license'] + self.assertTrue(False) + except KeyError: + pass + self.d['links'].append({'rel': 'license', 'href': 'http://dom.test/'}) + self.assertEqual(self.d['license'], 'http://dom.test/') + def test_category(self): + self.d['tags'] = [] + try: + self.d['category'] + self.assertTrue(False) + except KeyError: + pass + self.d['tags'] = [{}] + try: + self.d['category'] + self.assertTrue(False) + except KeyError: + pass + self.d['tags'] = [{'term': 'cat'}] + self.assertEqual(self.d['category'], 'cat') + self.d['tags'].append({'term': 'dog'}) + self.assertEqual(self.d['category'], 'cat') + +class TestOpenResource(unittest.TestCase): + "Ensure that `_open_resource()` interprets its arguments as URIs, " \ + "file-like objects, or in-memory feeds as expected" + def test_fileobj(self): + r = feedparser._open_resource(sys.stdin, '', '', '', '', [], {}) + self.assertTrue(r is sys.stdin) + def test_feed(self): + f = feedparser.parse(u'feed://localhost:8097/tests/http/target.xml') + self.assertEqual(f.href, u'http://localhost:8097/tests/http/target.xml') + def test_feed_http(self): + f = feedparser.parse(u'feed:http://localhost:8097/tests/http/target.xml') + self.assertEqual(f.href, u'http://localhost:8097/tests/http/target.xml') + def test_bytes(self): + s = 'text'.encode('utf-8') + r = feedparser._open_resource(s, '', '', '', '', [], {}) + self.assertEqual(s, r.read()) + def test_string(self): + s = 'text' + r = feedparser._open_resource(s, '', '', '', '', [], {}) + self.assertEqual(s.encode('utf-8'), r.read()) + def test_unicode_1(self): + s = u'text' + r = feedparser._open_resource(s, '', '', '', '', [], {}) + self.assertEqual(s.encode('utf-8'), r.read()) + def test_unicode_2(self): + s = u't\u00e9xt' + r = feedparser._open_resource(s, '', '', '', '', [], {}) + self.assertEqual(s.encode('utf-8'), r.read()) + +class TestMakeSafeAbsoluteURI(unittest.TestCase): + "Exercise the URI joining and sanitization code" + base = u'http://d.test/d/f.ext' + def _mktest(rel, expect, doc): + def fn(self): + value = feedparser._makeSafeAbsoluteURI(self.base, rel) + self.assertEqual(value, expect) + fn.__doc__ = doc + return fn + + # make the test cases; the call signature is: + # (relative_url, expected_return_value, test_doc_string) + test_abs = _mktest(u'https://s.test/', u'https://s.test/', 'absolute uri') + test_rel = _mktest(u'/new', u'http://d.test/new', 'relative uri') + test_bad = _mktest(u'x://bad.test/', u'', 'unacceptable uri protocol') + test_mag = _mktest(u'magnet:?xt=a', u'magnet:?xt=a', 'magnet uri') + + def test_catch_ValueError(self): + 'catch ValueError in Python 2.7 and up' + uri = u'http://bad]test/' + value1 = feedparser._makeSafeAbsoluteURI(uri) + value2 = feedparser._makeSafeAbsoluteURI(self.base, uri) + swap = feedparser.ACCEPTABLE_URI_SCHEMES + feedparser.ACCEPTABLE_URI_SCHEMES = () + value3 = feedparser._makeSafeAbsoluteURI(self.base, uri) + feedparser.ACCEPTABLE_URI_SCHEMES = swap + # Only Python 2.7 and up throw a ValueError, otherwise uri is returned + self.assertTrue(value1 in (uri, u'')) + self.assertTrue(value2 in (uri, u'')) + self.assertTrue(value3 in (uri, u'')) + +class TestConvertToIdn(unittest.TestCase): + "Test IDN support (unavailable in Jython as of Jython 2.5.2)" + # this is the greek test domain + hostname = u'\u03c0\u03b1\u03c1\u03ac\u03b4\u03b5\u03b9\u03b3\u03bc\u03b1' + hostname += u'.\u03b4\u03bf\u03ba\u03b9\u03bc\u03ae' + def test_control(self): + r = feedparser._convert_to_idn(u'http://example.test/') + self.assertEqual(r, u'http://example.test/') + def test_idn(self): + r = feedparser._convert_to_idn(u'http://%s/' % (self.hostname,)) + self.assertEqual(r, u'http://xn--hxajbheg2az3al.xn--jxalpdlp/') + def test_port(self): + r = feedparser._convert_to_idn(u'http://%s:8080/' % (self.hostname,)) + self.assertEqual(r, u'http://xn--hxajbheg2az3al.xn--jxalpdlp:8080/') + +class TestCompression(unittest.TestCase): + "Test the gzip and deflate support in the HTTP code" + def test_gzip_good(self): + f = feedparser.parse('http://localhost:8097/tests/compression/gzip.gz') + self.assertEqual(f.version, 'atom10') + def test_gzip_not_compressed(self): + f = feedparser.parse('http://localhost:8097/tests/compression/gzip-not-compressed.gz') + self.assertEqual(f.bozo, 1) + self.assertTrue(isinstance(f.bozo_exception, IOError)) + self.assertEqual(f['feed']['title'], 'gzip') + def test_gzip_struct_error(self): + f = feedparser.parse('http://localhost:8097/tests/compression/gzip-struct-error.gz') + self.assertEqual(f.bozo, 1) + self.assertTrue(isinstance(f.bozo_exception, struct.error)) + def test_zlib_good(self): + f = feedparser.parse('http://localhost:8097/tests/compression/deflate.z') + self.assertEqual(f.version, 'atom10') + def test_zlib_no_headers(self): + f = feedparser.parse('http://localhost:8097/tests/compression/deflate-no-headers.z') + self.assertEqual(f.version, 'atom10') + def test_zlib_not_compressed(self): + f = feedparser.parse('http://localhost:8097/tests/compression/deflate-not-compressed.z') + self.assertEqual(f.bozo, 1) + self.assertTrue(isinstance(f.bozo_exception, zlib.error)) + self.assertEqual(f['feed']['title'], 'deflate') + +class TestHTTPStatus(unittest.TestCase): + "Test HTTP redirection and other status codes" + def test_301(self): + f = feedparser.parse('http://localhost:8097/tests/http/http_status_301.xml') + self.assertEqual(f.status, 301) + self.assertEqual(f.href, 'http://localhost:8097/tests/http/target.xml') + self.assertEqual(f.entries[0].title, 'target') + def test_302(self): + f = feedparser.parse('http://localhost:8097/tests/http/http_status_302.xml') + self.assertEqual(f.status, 302) + self.assertEqual(f.href, 'http://localhost:8097/tests/http/target.xml') + self.assertEqual(f.entries[0].title, 'target') + def test_303(self): + f = feedparser.parse('http://localhost:8097/tests/http/http_status_303.xml') + self.assertEqual(f.status, 303) + self.assertEqual(f.href, 'http://localhost:8097/tests/http/target.xml') + self.assertEqual(f.entries[0].title, 'target') + def test_307(self): + f = feedparser.parse('http://localhost:8097/tests/http/http_status_307.xml') + self.assertEqual(f.status, 307) + self.assertEqual(f.href, 'http://localhost:8097/tests/http/target.xml') + self.assertEqual(f.entries[0].title, 'target') + def test_304(self): + # first retrieve the url + u = 'http://localhost:8097/tests/http/http_status_304.xml' + f = feedparser.parse(u) + self.assertEqual(f.status, 200) + self.assertEqual(f.entries[0].title, 'title 304') + # extract the etag and last-modified headers + e = [v for k, v in f.headers.items() if k.lower() == 'etag'][0] + mh = [v for k, v in f.headers.items() if k.lower() == 'last-modified'][0] + ms = f.updated + mt = f.updated_parsed + md = datetime.datetime(*mt[0:7]) + self.assertTrue(isinstance(mh, basestring)) + self.assertTrue(isinstance(ms, basestring)) + self.assertTrue(isinstance(mt, time.struct_time)) + self.assertTrue(isinstance(md, datetime.datetime)) + # test that sending back the etag results in a 304 + f = feedparser.parse(u, etag=e) + self.assertEqual(f.status, 304) + # test that sending back last-modified (string) results in a 304 + f = feedparser.parse(u, modified=ms) + self.assertEqual(f.status, 304) + # test that sending back last-modified (9-tuple) results in a 304 + f = feedparser.parse(u, modified=mt) + self.assertEqual(f.status, 304) + # test that sending back last-modified (datetime) results in a 304 + f = feedparser.parse(u, modified=md) + self.assertEqual(f.status, 304) + def test_404(self): + f = feedparser.parse('http://localhost:8097/tests/http/http_status_404.xml') + self.assertEqual(f.status, 404) + def test_9001(self): + f = feedparser.parse('http://localhost:8097/tests/http/http_status_9001.xml') + self.assertEqual(f.bozo, 1) + def test_redirect_to_304(self): + # ensure that an http redirect to an http 304 doesn't + # trigger a bozo_exception + u = 'http://localhost:8097/tests/http/http_redirect_to_304.xml' + f = feedparser.parse(u) + self.assertTrue(f.bozo == 0) + self.assertTrue(f.status == 302) + +class TestDateParsers(unittest.TestCase): + "Test the various date parsers; most of the test cases are constructed " \ + "dynamically based on the contents of the `date_tests` dict, below" + def test_None(self): + self.assertTrue(feedparser._parse_date(None) is None) + def _check_date(self, func, dtstring, dttuple): + try: + tup = func(dtstring) + except (OverflowError, ValueError): + tup = None + self.assertEqual(tup, dttuple) + self.assertEqual(tup, feedparser._parse_date(dtstring)) + def test_year_10000_date(self): + # On some systems this date string will trigger an OverflowError. + # On Jython and x64 systems, however, it's interpreted just fine. + try: + date = feedparser._parse_date_rfc822(u'Sun, 31 Dec 9999 23:59:59 -9999') + except OverflowError: + date = None + self.assertTrue(date in (None, (10000, 1, 5, 4, 38, 59, 2, 5, 0))) + +date_tests = { + feedparser._parse_date_greek: ( + (u'', None), # empty string + (u'\u039a\u03c5\u03c1, 11 \u0399\u03bf\u03cd\u03bb 2004 12:00:00 EST', (2004, 7, 11, 17, 0, 0, 6, 193, 0)), + ), + feedparser._parse_date_hungarian: ( + (u'', None), # empty string + (u'2004-j\u00falius-13T9:15-05:00', (2004, 7, 13, 14, 15, 0, 1, 195, 0)), + ), + feedparser._parse_date_iso8601: ( + (u'', None), # empty string + (u'-0312', (2003, 12, 1, 0, 0, 0, 0, 335, 0)), # 2-digit year/month only variant + (u'031231', (2003, 12, 31, 0, 0, 0, 2, 365, 0)), # 2-digit year/month/day only, no hyphens + (u'03-12-31', (2003, 12, 31, 0, 0, 0, 2, 365, 0)), # 2-digit year/month/day only + (u'-03-12', (2003, 12, 1, 0, 0, 0, 0, 335, 0)), # 2-digit year/month only + (u'03335', (2003, 12, 1, 0, 0, 0, 0, 335, 0)), # 2-digit year/ordinal, no hyphens + (u'2003-12-31T10:14:55.1234Z', (2003, 12, 31, 10, 14, 55, 2, 365, 0)), # fractional seconds + # Special case for Google's extra zero in the month + (u'2003-012-31T10:14:55+00:00', (2003, 12, 31, 10, 14, 55, 2, 365, 0)), + ), + feedparser._parse_date_nate: ( + (u'', None), # empty string + (u'2004-05-25 \uc624\ud6c4 11:23:17', (2004, 5, 25, 14, 23, 17, 1, 146, 0)), + ), + feedparser._parse_date_onblog: ( + (u'', None), # empty string + (u'2004\ub144 05\uc6d4 28\uc77c 01:31:15', (2004, 5, 27, 16, 31, 15, 3, 148, 0)), + ), + feedparser._parse_date_perforce: ( + (u'', None), # empty string + (u'Fri, 2006/09/15 08:19:53 EDT', (2006, 9, 15, 12, 19, 53, 4, 258, 0)), + ), + feedparser._parse_date_rfc822: ( + (u'', None), # empty string + (u'Thu, 01 Jan 0100 00:00:01 +0100', (99, 12, 31, 23, 0, 1, 3, 365, 0)), # ancient date + (u'Thu, 01 Jan 04 19:48:21 GMT', (2004, 1, 1, 19, 48, 21, 3, 1, 0)), # 2-digit year + (u'Thu, 01 Jan 2004 19:48:21 GMT', (2004, 1, 1, 19, 48, 21, 3, 1, 0)), # 4-digit year + (u'Thu, 5 Apr 2012 10:00:00 GMT', (2012, 4, 5, 10, 0, 0, 3, 96, 0)), # 1-digit day + (u'Wed, 19 Aug 2009 18:28:00 Etc/GMT', (2009, 8, 19, 18, 28, 0, 2, 231, 0)), # etc/gmt timezone + (u'Wed, 19 Feb 2012 22:40:00 GMT-01:01', (2012, 2, 19, 23, 41, 0, 6, 50, 0)), # gmt+hh:mm timezone + (u'Mon, 13 Feb, 2012 06:28:00 UTC', (2012, 2, 13, 6, 28, 0, 0, 44, 0)), # extraneous comma + (u'Thu, 01 Jan 2004 00:00 GMT', (2004, 1, 1, 0, 0, 0, 3, 1, 0)), # no seconds + (u'Thu, 01 Jan 2004', (2004, 1, 1, 0, 0, 0, 3, 1, 0)), # no time + # Additional tests to handle Disney's long month names and invalid timezones + (u'Mon, 26 January 2004 16:31:00 AT', (2004, 1, 26, 20, 31, 0, 0, 26, 0)), + (u'Mon, 26 January 2004 16:31:00 ET', (2004, 1, 26, 21, 31, 0, 0, 26, 0)), + (u'Mon, 26 January 2004 16:31:00 CT', (2004, 1, 26, 22, 31, 0, 0, 26, 0)), + (u'Mon, 26 January 2004 16:31:00 MT', (2004, 1, 26, 23, 31, 0, 0, 26, 0)), + (u'Mon, 26 January 2004 16:31:00 PT', (2004, 1, 27, 0, 31, 0, 1, 27, 0)), + ), + feedparser._parse_date_rfc822_grubby: ( + (u'Thu Aug 30 2012 17:26:16 +0200', (2012, 8, 30, 15, 26, 16, 3, 243, 0)), + ), + feedparser._parse_date_asctime: ( + (u'Sun Jan 4 16:29:06 2004', (2004, 1, 4, 16, 29, 6, 6, 4, 0)), + ), + feedparser._parse_date_w3dtf: ( + (u'', None), # empty string + (u'2003-12-31T10:14:55Z', (2003, 12, 31, 10, 14, 55, 2, 365, 0)), # UTC + (u'2003-12-31T10:14:55-08:00', (2003, 12, 31, 18, 14, 55, 2, 365, 0)), # San Francisco timezone + (u'2003-12-31T18:14:55+08:00', (2003, 12, 31, 10, 14, 55, 2, 365, 0)), # Tokyo timezone + (u'2007-04-23T23:25:47.538+10:00', (2007, 4, 23, 13, 25, 47, 0, 113, 0)), # fractional seconds + (u'2003-12-31', (2003, 12, 31, 0, 0, 0, 2, 365, 0)), # year/month/day only + (u'20031231', (2003, 12, 31, 0, 0, 0, 2, 365, 0)), # year/month/day only, no hyphens + (u'2003-12', (2003, 12, 1, 0, 0, 0, 0, 335, 0)), # year/month only + (u'2003', (2003, 1, 1, 0, 0, 0, 2, 1, 0)), # year only + # MSSQL-style dates + (u'2004-07-08 23:56:58 -00:20', (2004, 7, 9, 0, 16, 58, 4, 191, 0)), # with timezone + (u'2004-07-08 23:56:58', (2004, 7, 8, 23, 56, 58, 3, 190, 0)), # without timezone + (u'2004-07-08 23:56:58.0', (2004, 7, 8, 23, 56, 58, 3, 190, 0)), # with fractional second + # Special cases for out-of-range times + (u'2003-12-31T25:14:55Z', (2004, 1, 1, 1, 14, 55, 3, 1, 0)), # invalid (25 hours) + (u'2003-12-31T10:61:55Z', (2003, 12, 31, 11, 1, 55, 2, 365, 0)), # invalid (61 minutes) + (u'2003-12-31T10:14:61Z', (2003, 12, 31, 10, 15, 1, 2, 365, 0)), # invalid (61 seconds) + # Special cases for rollovers in leap years + (u'2004-02-28T18:14:55-08:00', (2004, 2, 29, 2, 14, 55, 6, 60, 0)), # feb 28 in leap year + (u'2003-02-28T18:14:55-08:00', (2003, 3, 1, 2, 14, 55, 5, 60, 0)), # feb 28 in non-leap year + (u'2000-02-28T18:14:55-08:00', (2000, 2, 29, 2, 14, 55, 1, 60, 0)), # feb 28 in leap year on century divisible by 400 + ) +} + +def make_date_test(f, s, t): + return lambda self: self._check_date(f, s, t) + +for func, items in date_tests.iteritems(): + for i, (dtstring, dttuple) in enumerate(items): + uniqfunc = make_date_test(func, dtstring, dttuple) + setattr(TestDateParsers, 'test_%s_%02i' % (func.__name__, i), uniqfunc) + + +class TestHTMLGuessing(unittest.TestCase): + "Exercise the HTML sniffing code" + def _mktest(text, expect, doc): + def fn(self): + value = bool(feedparser._FeedParserMixin.lookslikehtml(text)) + self.assertEqual(value, expect) + fn.__doc__ = doc + return fn + + test_text_1 = _mktest(u'plain text', False, u'plain text') + test_text_2 = _mktest(u'2 < 3', False, u'plain text with angle bracket') + test_html_1 = _mktest(u'a', True, u'anchor tag') + test_html_2 = _mktest(u'i', True, u'italics tag') + test_html_3 = _mktest(u'b', True, u'bold tag') + test_html_4 = _mktest(u'', False, u'allowed tag, no end tag') + test_html_5 = _mktest(u' .. ', False, u'disallowed tag') + test_entity_1 = _mktest(u'AT&T', False, u'corporation name') + test_entity_2 = _mktest(u'©', True, u'named entity reference') + test_entity_3 = _mktest(u'©', True, u'numeric entity reference') + test_entity_4 = _mktest(u'©', True, u'hex numeric entity reference') + +#---------- additional api unit tests, not backed by files + +class TestBuildRequest(unittest.TestCase): + "Test that HTTP request objects are created as expected" + def test_extra_headers(self): + """You can pass in extra headers and they go into the request object.""" + + request = feedparser._build_urllib2_request( + 'http://example.com/feed', + 'agent-name', + None, None, None, None, + {'Cache-Control': 'max-age=0'}) + # nb, urllib2 folds the case of the headers + self.assertEqual( + request.get_header('Cache-control'), 'max-age=0') + + +class TestLxmlBug(unittest.TestCase): + def test_lxml_etree_bug(self): + try: + import lxml.etree + except ImportError: + pass + else: + doc = u"&illformed_charref".encode('utf8') + # Importing lxml.etree currently causes libxml2 to + # throw SAXException instead of SAXParseException. + feedparser.parse(feedparser._StringIO(doc)) + self.assertTrue(True) + +#---------- parse test files and create test methods ---------- +def convert_to_utf8(data): + "Identify data's encoding using its byte order mark" \ + "and convert it to its utf-8 equivalent" + if data[:4] == _l2bytes([0x4c, 0x6f, 0xa7, 0x94]): + return data.decode('cp037').encode('utf-8') + elif data[:4] == _l2bytes([0x00, 0x00, 0xfe, 0xff]): + if not _UTF32_AVAILABLE: + return None + return data.decode('utf-32be').encode('utf-8') + elif data[:4] == _l2bytes([0xff, 0xfe, 0x00, 0x00]): + if not _UTF32_AVAILABLE: + return None + return data.decode('utf-32le').encode('utf-8') + elif data[:4] == _l2bytes([0x00, 0x00, 0x00, 0x3c]): + if not _UTF32_AVAILABLE: + return None + return data.decode('utf-32be').encode('utf-8') + elif data[:4] == _l2bytes([0x3c, 0x00, 0x00, 0x00]): + if not _UTF32_AVAILABLE: + return None + return data.decode('utf-32le').encode('utf-8') + elif data[:4] == _l2bytes([0x00, 0x3c, 0x00, 0x3f]): + return data.decode('utf-16be').encode('utf-8') + elif data[:4] == _l2bytes([0x3c, 0x00, 0x3f, 0x00]): + return data.decode('utf-16le').encode('utf-8') + elif (data[:2] == _l2bytes([0xfe, 0xff])) and (data[2:4] != _l2bytes([0x00, 0x00])): + return data[2:].decode('utf-16be').encode('utf-8') + elif (data[:2] == _l2bytes([0xff, 0xfe])) and (data[2:4] != _l2bytes([0x00, 0x00])): + return data[2:].decode('utf-16le').encode('utf-8') + elif data[:3] == _l2bytes([0xef, 0xbb, 0xbf]): + return data[3:] + # no byte order mark was found + return data + +skip_re = re.compile(_s2bytes("SkipUnless:\s*(.*?)\n")) +desc_re = re.compile(_s2bytes("Description:\s*(.*?)\s*Expect:\s*(.*)\s*-->")) +def getDescription(xmlfile, data): + """Extract test data + + Each test case is an XML file which contains not only a test feed + but also the description of the test and the condition that we + would expect the parser to create when it parses the feed. Example: + + """ + skip_results = skip_re.search(data) + if skip_results: + skipUnless = skip_results.group(1).strip() + else: + skipUnless = '1' + search_results = desc_re.search(data) + if not search_results: + raise RuntimeError, "can't parse %s" % xmlfile + description, evalString = map(lambda s: s.strip(), list(search_results.groups())) + description = xmlfile + ": " + unicode(description, 'utf8') + return description, evalString, skipUnless + +def buildTestCase(xmlfile, description, evalString): + func = lambda self, xmlfile=xmlfile, evalString=evalString: \ + self.failUnlessEval(xmlfile, evalString) + func.__doc__ = description + return func + +def runtests(): + "Read the files in the tests/ directory, dynamically add tests to the " \ + "TestCases above, spawn the HTTP server, and run the test suite" + if sys.argv[1:]: + allfiles = filter(lambda s: s.endswith('.xml'), reduce(operator.add, map(glob.glob, sys.argv[1:]), [])) + sys.argv = [sys.argv[0]] #+ sys.argv[2:] + else: + allfiles = glob.glob(os.path.join('.', 'tests', '**', '**', '*.xml')) + wellformedfiles = glob.glob(os.path.join('.', 'tests', 'wellformed', '**', '*.xml')) + illformedfiles = glob.glob(os.path.join('.', 'tests', 'illformed', '*.xml')) + encodingfiles = glob.glob(os.path.join('.', 'tests', 'encoding', '*.xml')) + entitiesfiles = glob.glob(os.path.join('.', 'tests', 'entities', '*.xml')) + microformatfiles = glob.glob(os.path.join('.', 'tests', 'microformats', '**', '*.xml')) + httpd = None + # there are several compression test cases that must be accounted for + # as well as a number of http status tests that redirect to a target + # and a few `_open_resource`-related tests + httpcount = 6 + 17 + 2 + httpcount += len([f for f in allfiles if 'http' in f]) + httpcount += len([f for f in wellformedfiles if 'http' in f]) + httpcount += len([f for f in illformedfiles if 'http' in f]) + httpcount += len([f for f in encodingfiles if 'http' in f]) + try: + for c, xmlfile in enumerate(allfiles + encodingfiles + illformedfiles + entitiesfiles): + addTo = TestCase + if xmlfile in encodingfiles: + addTo = TestEncodings + elif xmlfile in entitiesfiles: + addTo = (TestStrictParser, TestLooseParser) + elif xmlfile in microformatfiles: + addTo = TestMicroformats + elif xmlfile in wellformedfiles: + addTo = (TestStrictParser, TestLooseParser) + data = open(xmlfile, 'rb').read() + if 'encoding' in xmlfile: + data = convert_to_utf8(data) + if data is None: + # convert_to_utf8 found a byte order mark for utf_32 + # but it's not supported in this installation of Python + if 'http' in xmlfile: + httpcount -= 1 + (xmlfile in wellformedfiles) + continue + description, evalString, skipUnless = getDescription(xmlfile, data) + testName = 'test_%06d' % c + ishttp = 'http' in xmlfile + try: + if not eval(skipUnless): raise NotImplementedError + except (ImportError, LookupError, NotImplementedError, AttributeError): + if ishttp: + httpcount -= 1 + (xmlfile in wellformedfiles) + continue + if ishttp: + xmlfile = 'http://%s:%s/%s' % (_HOST, _PORT, posixpath.normpath(xmlfile.replace('\\', '/'))) + testFunc = buildTestCase(xmlfile, description, evalString) + if isinstance(addTo, tuple): + setattr(addTo[0], testName, testFunc) + setattr(addTo[1], testName, testFunc) + else: + setattr(addTo, testName, testFunc) + if feedparser.TIDY_MARKUP and feedparser._mxtidy: + sys.stderr.write('\nWarning: feedparser.TIDY_MARKUP invalidates tests, turning it off temporarily\n\n') + feedparser.TIDY_MARKUP = 0 + if httpcount: + httpd = FeedParserTestServer(httpcount) + httpd.daemon = True + httpd.start() + httpd.ready.wait() + testsuite = unittest.TestSuite() + testloader = unittest.TestLoader() + testsuite.addTest(testloader.loadTestsFromTestCase(TestCase)) + testsuite.addTest(testloader.loadTestsFromTestCase(TestStrictParser)) + testsuite.addTest(testloader.loadTestsFromTestCase(TestLooseParser)) + testsuite.addTest(testloader.loadTestsFromTestCase(TestEncodings)) + testsuite.addTest(testloader.loadTestsFromTestCase(TestDateParsers)) + testsuite.addTest(testloader.loadTestsFromTestCase(TestHTMLGuessing)) + testsuite.addTest(testloader.loadTestsFromTestCase(TestHTTPStatus)) + testsuite.addTest(testloader.loadTestsFromTestCase(TestCompression)) + testsuite.addTest(testloader.loadTestsFromTestCase(TestConvertToIdn)) + testsuite.addTest(testloader.loadTestsFromTestCase(TestMicroformats)) + testsuite.addTest(testloader.loadTestsFromTestCase(TestOpenResource)) + testsuite.addTest(testloader.loadTestsFromTestCase(TestFeedParserDict)) + testsuite.addTest(testloader.loadTestsFromTestCase(TestMakeSafeAbsoluteURI)) + testsuite.addTest(testloader.loadTestsFromTestCase(TestEverythingIsUnicode)) + testsuite.addTest(testloader.loadTestsFromTestCase(TestTemporaryFallbackBehavior)) + testsuite.addTest(testloader.loadTestsFromTestCase(TestLxmlBug)) + testresults = unittest.TextTestRunner(verbosity=1).run(testsuite) + + # Return 0 if successful, 1 if there was a failure + sys.exit(not testresults.wasSuccessful()) + finally: + if httpd: + if httpd.requests: + # Should never get here unless something went horribly wrong, like the + # user hitting Ctrl-C. Tell our HTTP server that it's done, then do + # one more request to flush it. This rarely works; the combination of + # threading, self-terminating HTTP servers, and unittest is really + # quite flaky. Just what you want in a testing framework, no? + httpd.requests = 0 + if httpd.ready: + urllib.urlopen('http://127.0.0.1:8097/tests/wellformed/rss/aaa_wellformed.xml').read() + httpd.join(0) + +if __name__ == "__main__": + runtests() diff --git a/lib/feedparser/sgmllib3.py b/lib/feedparser/sgmllib3.py new file mode 100644 index 00000000..88a02a30 --- /dev/null +++ b/lib/feedparser/sgmllib3.py @@ -0,0 +1,547 @@ +"""A parser for SGML, using the derived class as a static DTD.""" + +# XXX This only supports those SGML features used by HTML. + +# XXX There should be a way to distinguish between PCDATA (parsed +# character data -- the normal case), RCDATA (replaceable character +# data -- only char and entity references and end tags are special) +# and CDATA (character data -- only end tags are special). RCDATA is +# not supported at all. + +import _markupbase +import re + +__all__ = ["SGMLParser", "SGMLParseError"] + +# Regular expressions used for parsing + +interesting = re.compile('[&<]') +incomplete = re.compile('&([a-zA-Z][a-zA-Z0-9]*|#[0-9]*)?|' + '<([a-zA-Z][^<>]*|' + '/([a-zA-Z][^<>]*)?|' + '![^<>]*)?') + +entityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]') +charref = re.compile('&#([0-9]+)[^0-9]') + +starttagopen = re.compile('<[>a-zA-Z]') +shorttagopen = re.compile('<[a-zA-Z][-.a-zA-Z0-9]*/') +shorttag = re.compile('<([a-zA-Z][-.a-zA-Z0-9]*)/([^/]*)/') +piclose = re.compile('>') +endbracket = re.compile('[<>]') +tagfind = re.compile('[a-zA-Z][-_.a-zA-Z0-9]*') +attrfind = re.compile( + r'\s*([a-zA-Z_][-:.a-zA-Z_0-9]*)(\s*=\s*' + r'(\'[^\']*\'|"[^"]*"|[][\-a-zA-Z0-9./,:;+*%?!&$\(\)_#=~\'"@]*))?') + + +class SGMLParseError(RuntimeError): + """Exception raised for all parse errors.""" + pass + + +# SGML parser base class -- find tags and call handler functions. +# Usage: p = SGMLParser(); p.feed(data); ...; p.close(). +# The dtd is defined by deriving a class which defines methods +# with special names to handle tags: start_foo and end_foo to handle +# and , respectively, or do_foo to handle by itself. +# (Tags are converted to lower case for this purpose.) The data +# between tags is passed to the parser by calling self.handle_data() +# with some data as argument (the data may be split up in arbitrary +# chunks). Entity references are passed by calling +# self.handle_entityref() with the entity reference as argument. + +class SGMLParser(_markupbase.ParserBase): + # Definition of entities -- derived classes may override + entity_or_charref = re.compile('&(?:' + '([a-zA-Z][-.a-zA-Z0-9]*)|#([0-9]+)' + ')(;?)') + + def __init__(self, verbose=0): + """Initialize and reset this instance.""" + self.verbose = verbose + self.reset() + + def reset(self): + """Reset this instance. Loses all unprocessed data.""" + self.__starttag_text = None + self.rawdata = '' + self.stack = [] + self.lasttag = '???' + self.nomoretags = 0 + self.literal = 0 + _markupbase.ParserBase.reset(self) + + def setnomoretags(self): + """Enter literal mode (CDATA) till EOF. + + Intended for derived classes only. + """ + self.nomoretags = self.literal = 1 + + def setliteral(self, *args): + """Enter literal mode (CDATA). + + Intended for derived classes only. + """ + self.literal = 1 + + def feed(self, data): + """Feed some data to the parser. + + Call this as often as you want, with as little or as much text + as you want (may include '\n'). (This just saves the text, + all the processing is done by goahead().) + """ + + self.rawdata = self.rawdata + data + self.goahead(0) + + def close(self): + """Handle the remaining data.""" + self.goahead(1) + + def error(self, message): + raise SGMLParseError(message) + + # Internal -- handle data as far as reasonable. May leave state + # and data to be processed by a subsequent call. If 'end' is + # true, force handling all data as if followed by EOF marker. + def goahead(self, end): + rawdata = self.rawdata + i = 0 + n = len(rawdata) + while i < n: + if self.nomoretags: + self.handle_data(rawdata[i:n]) + i = n + break + match = interesting.search(rawdata, i) + if match: j = match.start() + else: j = n + if i < j: + self.handle_data(rawdata[i:j]) + i = j + if i == n: break + if rawdata[i] == '<': + if starttagopen.match(rawdata, i): + if self.literal: + self.handle_data(rawdata[i]) + i = i+1 + continue + k = self.parse_starttag(i) + if k < 0: break + i = k + continue + if rawdata.startswith(" (i + 1): + self.handle_data("<") + i = i+1 + else: + # incomplete + break + continue + if rawdata.startswith(" + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/bozo_bogus_encoding.xml b/lib/feedparser/tests/encoding/bozo_bogus_encoding.xml new file mode 100644 index 00000000..89638b7b --- /dev/null +++ b/lib/feedparser/tests/encoding/bozo_bogus_encoding.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/bozo_double-encoded-html.xml b/lib/feedparser/tests/encoding/bozo_double-encoded-html.xml new file mode 100644 index 00000000..b268d6a9 --- /dev/null +++ b/lib/feedparser/tests/encoding/bozo_double-encoded-html.xml @@ -0,0 +1,13 @@ + + + + + + … + + + + diff --git a/lib/feedparser/tests/encoding/bozo_encoding_mismatch_crash.xml b/lib/feedparser/tests/encoding/bozo_encoding_mismatch_crash.xml new file mode 100644 index 00000000..315980b9 --- /dev/null +++ b/lib/feedparser/tests/encoding/bozo_encoding_mismatch_crash.xml @@ -0,0 +1,10 @@ + + + +]]> + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/bozo_http_i18n.xml b/lib/feedparser/tests/encoding/bozo_http_i18n.xml new file mode 100644 index 00000000..5dae7973 --- /dev/null +++ b/lib/feedparser/tests/encoding/bozo_http_i18n.xml @@ -0,0 +1,11 @@ + + + + + Iñtërnâtiônàlizætiøn + diff --git a/lib/feedparser/tests/encoding/bozo_http_text_plain.xml b/lib/feedparser/tests/encoding/bozo_http_text_plain.xml new file mode 100644 index 00000000..7e0adfe8 --- /dev/null +++ b/lib/feedparser/tests/encoding/bozo_http_text_plain.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/bozo_http_text_plain_charset.xml b/lib/feedparser/tests/encoding/bozo_http_text_plain_charset.xml new file mode 100644 index 00000000..89c36e87 --- /dev/null +++ b/lib/feedparser/tests/encoding/bozo_http_text_plain_charset.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/bozo_invalid-bytes-with-bom.xml b/lib/feedparser/tests/encoding/bozo_invalid-bytes-with-bom.xml new file mode 100644 index 00000000..4c1b349f --- /dev/null +++ b/lib/feedparser/tests/encoding/bozo_invalid-bytes-with-bom.xml @@ -0,0 +1,10 @@ + + + +Valid UTF8: ѨInvalid UTF8: Espaa +
+
+
+ + + + + +” ]]> + + + diff --git a/lib/feedparser/tests/encoding/csucs4.xml b/lib/feedparser/tests/encoding/csucs4.xml new file mode 100644 index 00000000..6a5e88ae Binary files /dev/null and b/lib/feedparser/tests/encoding/csucs4.xml differ diff --git a/lib/feedparser/tests/encoding/csunicode.xml b/lib/feedparser/tests/encoding/csunicode.xml new file mode 100644 index 00000000..aac9a437 Binary files /dev/null and b/lib/feedparser/tests/encoding/csunicode.xml differ diff --git a/lib/feedparser/tests/encoding/demoronize-1.xml b/lib/feedparser/tests/encoding/demoronize-1.xml new file mode 100644 index 00000000..8b2345f6 --- /dev/null +++ b/lib/feedparser/tests/encoding/demoronize-1.xml @@ -0,0 +1,13 @@ + + + + + + don’t + + + + diff --git a/lib/feedparser/tests/encoding/demoronize-2.xml b/lib/feedparser/tests/encoding/demoronize-2.xml new file mode 100644 index 00000000..f96d4549 --- /dev/null +++ b/lib/feedparser/tests/encoding/demoronize-2.xml @@ -0,0 +1,13 @@ + + + + + + don’t + + + + diff --git a/lib/feedparser/tests/encoding/demoronize-3.xml b/lib/feedparser/tests/encoding/demoronize-3.xml new file mode 100644 index 00000000..c54ef84a --- /dev/null +++ b/lib/feedparser/tests/encoding/demoronize-3.xml @@ -0,0 +1,13 @@ + + + + + + don&#146;t + + + + diff --git a/lib/feedparser/tests/encoding/double-encoded-html.xml b/lib/feedparser/tests/encoding/double-encoded-html.xml new file mode 100644 index 00000000..f98916c9 --- /dev/null +++ b/lib/feedparser/tests/encoding/double-encoded-html.xml @@ -0,0 +1,13 @@ + + + + + + … + + + + diff --git a/lib/feedparser/tests/encoding/encoding_attribute_crash.xml b/lib/feedparser/tests/encoding/encoding_attribute_crash.xml new file mode 100644 index 00000000..b270005a --- /dev/null +++ b/lib/feedparser/tests/encoding/encoding_attribute_crash.xml @@ -0,0 +1,9 @@ + + + +]]> + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/encoding_attribute_crash_2.xml b/lib/feedparser/tests/encoding/encoding_attribute_crash_2.xml new file mode 100644 index 00000000..a000acc9 --- /dev/null +++ b/lib/feedparser/tests/encoding/encoding_attribute_crash_2.xml @@ -0,0 +1,9 @@ + + + +<a href="http://example.com"><img src="http://example.com/logo.gif" alt="The image &acirc;&#128;&#156;http://example.com/logo.gif&acirc;&#128;&#65533; cannot be displayed, because it contains errors."></a><br> + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/euc-kr-attribute.xml b/lib/feedparser/tests/encoding/euc-kr-attribute.xml new file mode 100644 index 00000000..0dd60882 --- /dev/null +++ b/lib/feedparser/tests/encoding/euc-kr-attribute.xml @@ -0,0 +1,14 @@ + + + + + + <img alt="" /> + + + + diff --git a/lib/feedparser/tests/encoding/euc-kr-item.xml b/lib/feedparser/tests/encoding/euc-kr-item.xml new file mode 100644 index 00000000..29a316da --- /dev/null +++ b/lib/feedparser/tests/encoding/euc-kr-item.xml @@ -0,0 +1,14 @@ + + + + + + + + + + diff --git a/lib/feedparser/tests/encoding/euc-kr.xml b/lib/feedparser/tests/encoding/euc-kr.xml new file mode 100644 index 00000000..96e110f5 --- /dev/null +++ b/lib/feedparser/tests/encoding/euc-kr.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/lib/feedparser/tests/encoding/http_application_atom_xml_charset.xml b/lib/feedparser/tests/encoding/http_application_atom_xml_charset.xml new file mode 100644 index 00000000..a945704e --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_atom_xml_charset.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_atom_xml_charset_overrides_encoding.xml b/lib/feedparser/tests/encoding/http_application_atom_xml_charset_overrides_encoding.xml new file mode 100644 index 00000000..f587bcc5 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_atom_xml_charset_overrides_encoding.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_atom_xml_default.xml b/lib/feedparser/tests/encoding/http_application_atom_xml_default.xml new file mode 100644 index 00000000..6ef0efec --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_atom_xml_default.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_atom_xml_encoding.xml b/lib/feedparser/tests/encoding/http_application_atom_xml_encoding.xml new file mode 100644 index 00000000..4b46cab7 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_atom_xml_encoding.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_atom_xml_gb2312_charset.xml b/lib/feedparser/tests/encoding/http_application_atom_xml_gb2312_charset.xml new file mode 100644 index 00000000..5a31ff01 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_atom_xml_gb2312_charset.xml @@ -0,0 +1,9 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_atom_xml_gb2312_charset_overrides_encoding.xml b/lib/feedparser/tests/encoding/http_application_atom_xml_gb2312_charset_overrides_encoding.xml new file mode 100644 index 00000000..bb3c3fcd --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_atom_xml_gb2312_charset_overrides_encoding.xml @@ -0,0 +1,9 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_atom_xml_gb2312_encoding.xml b/lib/feedparser/tests/encoding/http_application_atom_xml_gb2312_encoding.xml new file mode 100644 index 00000000..ab91a82d --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_atom_xml_gb2312_encoding.xml @@ -0,0 +1,9 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_rss_xml_charset.xml b/lib/feedparser/tests/encoding/http_application_rss_xml_charset.xml new file mode 100644 index 00000000..8ca929b1 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_rss_xml_charset.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_rss_xml_charset_overrides_encoding.xml b/lib/feedparser/tests/encoding/http_application_rss_xml_charset_overrides_encoding.xml new file mode 100644 index 00000000..80c214f1 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_rss_xml_charset_overrides_encoding.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_rss_xml_default.xml b/lib/feedparser/tests/encoding/http_application_rss_xml_default.xml new file mode 100644 index 00000000..781e703e --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_rss_xml_default.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_rss_xml_encoding.xml b/lib/feedparser/tests/encoding/http_application_rss_xml_encoding.xml new file mode 100644 index 00000000..53ee7ff1 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_rss_xml_encoding.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/http_application_xml_charset.xml b/lib/feedparser/tests/encoding/http_application_xml_charset.xml new file mode 100644 index 00000000..2ea8437e --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_xml_charset.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/http_application_xml_charset_overrides_encoding.xml b/lib/feedparser/tests/encoding/http_application_xml_charset_overrides_encoding.xml new file mode 100644 index 00000000..cd314dd0 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_xml_charset_overrides_encoding.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/http_application_xml_default.xml b/lib/feedparser/tests/encoding/http_application_xml_default.xml new file mode 100644 index 00000000..309496c6 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_xml_default.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/http_application_xml_dtd_charset.xml b/lib/feedparser/tests/encoding/http_application_xml_dtd_charset.xml new file mode 100644 index 00000000..99bfcba9 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_xml_dtd_charset.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_xml_dtd_charset_overrides_encoding.xml b/lib/feedparser/tests/encoding/http_application_xml_dtd_charset_overrides_encoding.xml new file mode 100644 index 00000000..fa01fef0 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_xml_dtd_charset_overrides_encoding.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_xml_dtd_default.xml b/lib/feedparser/tests/encoding/http_application_xml_dtd_default.xml new file mode 100644 index 00000000..390e70e4 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_xml_dtd_default.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_xml_dtd_encoding.xml b/lib/feedparser/tests/encoding/http_application_xml_dtd_encoding.xml new file mode 100644 index 00000000..ae67ce1d --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_xml_dtd_encoding.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_xml_encoding.xml b/lib/feedparser/tests/encoding/http_application_xml_encoding.xml new file mode 100644 index 00000000..771663f9 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_xml_encoding.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/http_application_xml_epe_charset.xml b/lib/feedparser/tests/encoding/http_application_xml_epe_charset.xml new file mode 100644 index 00000000..52ef0024 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_xml_epe_charset.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_xml_epe_charset_overrides_encoding.xml b/lib/feedparser/tests/encoding/http_application_xml_epe_charset_overrides_encoding.xml new file mode 100644 index 00000000..ce10433e --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_xml_epe_charset_overrides_encoding.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_xml_epe_default.xml b/lib/feedparser/tests/encoding/http_application_xml_epe_default.xml new file mode 100644 index 00000000..85af8596 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_xml_epe_default.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_application_xml_epe_encoding.xml b/lib/feedparser/tests/encoding/http_application_xml_epe_encoding.xml new file mode 100644 index 00000000..4085fa28 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_application_xml_epe_encoding.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_encoding_attribute_crash.xml b/lib/feedparser/tests/encoding/http_encoding_attribute_crash.xml new file mode 100644 index 00000000..19c9dd63 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_encoding_attribute_crash.xml @@ -0,0 +1,13 @@ + + + + +
+Browser market shares at ‘ongoing’ +
+
+
diff --git a/lib/feedparser/tests/encoding/http_i18n.xml b/lib/feedparser/tests/encoding/http_i18n.xml new file mode 100644 index 00000000..e61ad6ae --- /dev/null +++ b/lib/feedparser/tests/encoding/http_i18n.xml @@ -0,0 +1,13 @@ + + + + + Iñtërnâtiônàlizætiøn + + 2004-06-02T19:07:55-04:00 + If your parser thinks this is well-formed, it's right. + diff --git a/lib/feedparser/tests/encoding/http_text_atom_xml_charset.xml b/lib/feedparser/tests/encoding/http_text_atom_xml_charset.xml new file mode 100644 index 00000000..bffafae6 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_atom_xml_charset.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_text_atom_xml_charset_overrides_encoding.xml b/lib/feedparser/tests/encoding/http_text_atom_xml_charset_overrides_encoding.xml new file mode 100644 index 00000000..be4fbf9e --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_atom_xml_charset_overrides_encoding.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_text_atom_xml_default.xml b/lib/feedparser/tests/encoding/http_text_atom_xml_default.xml new file mode 100644 index 00000000..2d3088f7 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_atom_xml_default.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_text_atom_xml_encoding.xml b/lib/feedparser/tests/encoding/http_text_atom_xml_encoding.xml new file mode 100644 index 00000000..f3a25faa --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_atom_xml_encoding.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_text_rss_xml_charset.xml b/lib/feedparser/tests/encoding/http_text_rss_xml_charset.xml new file mode 100644 index 00000000..88aa4176 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_rss_xml_charset.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_text_rss_xml_charset_overrides_encoding.xml b/lib/feedparser/tests/encoding/http_text_rss_xml_charset_overrides_encoding.xml new file mode 100644 index 00000000..84436b53 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_rss_xml_charset_overrides_encoding.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_text_rss_xml_default.xml b/lib/feedparser/tests/encoding/http_text_rss_xml_default.xml new file mode 100644 index 00000000..d7a90255 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_rss_xml_default.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_text_rss_xml_encoding.xml b/lib/feedparser/tests/encoding/http_text_rss_xml_encoding.xml new file mode 100644 index 00000000..a786e7eb --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_rss_xml_encoding.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/http_text_xml_bogus_charset.xml b/lib/feedparser/tests/encoding/http_text_xml_bogus_charset.xml new file mode 100644 index 00000000..09997938 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_xml_bogus_charset.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/http_text_xml_bogus_param.xml b/lib/feedparser/tests/encoding/http_text_xml_bogus_param.xml new file mode 100644 index 00000000..b76cc1f5 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_xml_bogus_param.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/http_text_xml_charset.xml b/lib/feedparser/tests/encoding/http_text_xml_charset.xml new file mode 100644 index 00000000..3917214e --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_xml_charset.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/http_text_xml_charset_2.xml b/lib/feedparser/tests/encoding/http_text_xml_charset_2.xml new file mode 100644 index 00000000..aac1bec9 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_xml_charset_2.xml @@ -0,0 +1,16 @@ + + + + + +Foo +http://purl.org/rss/2.0/?item +This is a test. + + + diff --git a/lib/feedparser/tests/encoding/http_text_xml_charset_overrides_encoding.xml b/lib/feedparser/tests/encoding/http_text_xml_charset_overrides_encoding.xml new file mode 100644 index 00000000..5b05f6b3 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_xml_charset_overrides_encoding.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/http_text_xml_charset_overrides_encoding_2.xml b/lib/feedparser/tests/encoding/http_text_xml_charset_overrides_encoding_2.xml new file mode 100644 index 00000000..0a0eed40 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_xml_charset_overrides_encoding_2.xml @@ -0,0 +1,17 @@ + + + + + + +Foo +http://purl.org/rss/2.0/?item +This is a test. + + + diff --git a/lib/feedparser/tests/encoding/http_text_xml_default.xml b/lib/feedparser/tests/encoding/http_text_xml_default.xml new file mode 100644 index 00000000..eb7236f5 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_xml_default.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/http_text_xml_epe_charset.xml b/lib/feedparser/tests/encoding/http_text_xml_epe_charset.xml new file mode 100644 index 00000000..2552bedf --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_xml_epe_charset.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_text_xml_epe_charset_overrides_encoding.xml b/lib/feedparser/tests/encoding/http_text_xml_epe_charset_overrides_encoding.xml new file mode 100644 index 00000000..353429e1 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_xml_epe_charset_overrides_encoding.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_text_xml_epe_default.xml b/lib/feedparser/tests/encoding/http_text_xml_epe_default.xml new file mode 100644 index 00000000..7f5c0ee5 --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_xml_epe_default.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_text_xml_epe_encoding.xml b/lib/feedparser/tests/encoding/http_text_xml_epe_encoding.xml new file mode 100644 index 00000000..b85e3bca --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_xml_epe_encoding.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/http_text_xml_qs.xml b/lib/feedparser/tests/encoding/http_text_xml_qs.xml new file mode 100644 index 00000000..fa5f346b --- /dev/null +++ b/lib/feedparser/tests/encoding/http_text_xml_qs.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/encoding/iso-10646-ucs-2.xml b/lib/feedparser/tests/encoding/iso-10646-ucs-2.xml new file mode 100644 index 00000000..e2d2e93a Binary files /dev/null and b/lib/feedparser/tests/encoding/iso-10646-ucs-2.xml differ diff --git a/lib/feedparser/tests/encoding/iso-10646-ucs-4.xml b/lib/feedparser/tests/encoding/iso-10646-ucs-4.xml new file mode 100644 index 00000000..c1116596 Binary files /dev/null and b/lib/feedparser/tests/encoding/iso-10646-ucs-4.xml differ diff --git a/lib/feedparser/tests/encoding/no_content_type_default.xml b/lib/feedparser/tests/encoding/no_content_type_default.xml new file mode 100644 index 00000000..cab1544e --- /dev/null +++ b/lib/feedparser/tests/encoding/no_content_type_default.xml @@ -0,0 +1,7 @@ + + + + diff --git a/lib/feedparser/tests/encoding/no_content_type_encoding.xml b/lib/feedparser/tests/encoding/no_content_type_encoding.xml new file mode 100644 index 00000000..6ad16c69 --- /dev/null +++ b/lib/feedparser/tests/encoding/no_content_type_encoding.xml @@ -0,0 +1,7 @@ + + + + diff --git a/lib/feedparser/tests/encoding/u16.xml b/lib/feedparser/tests/encoding/u16.xml new file mode 100644 index 00000000..3110f17a Binary files /dev/null and b/lib/feedparser/tests/encoding/u16.xml differ diff --git a/lib/feedparser/tests/encoding/ucs-2.xml b/lib/feedparser/tests/encoding/ucs-2.xml new file mode 100644 index 00000000..d4e3defb Binary files /dev/null and b/lib/feedparser/tests/encoding/ucs-2.xml differ diff --git a/lib/feedparser/tests/encoding/ucs-4.xml b/lib/feedparser/tests/encoding/ucs-4.xml new file mode 100644 index 00000000..143fdcad Binary files /dev/null and b/lib/feedparser/tests/encoding/ucs-4.xml differ diff --git a/lib/feedparser/tests/encoding/utf-16be-autodetect.xml b/lib/feedparser/tests/encoding/utf-16be-autodetect.xml new file mode 100644 index 00000000..08976b7a Binary files /dev/null and b/lib/feedparser/tests/encoding/utf-16be-autodetect.xml differ diff --git a/lib/feedparser/tests/encoding/utf-16be-bom.xml b/lib/feedparser/tests/encoding/utf-16be-bom.xml new file mode 100644 index 00000000..1f629657 Binary files /dev/null and b/lib/feedparser/tests/encoding/utf-16be-bom.xml differ diff --git a/lib/feedparser/tests/encoding/utf-16be.xml b/lib/feedparser/tests/encoding/utf-16be.xml new file mode 100644 index 00000000..c9a0f145 Binary files /dev/null and b/lib/feedparser/tests/encoding/utf-16be.xml differ diff --git a/lib/feedparser/tests/encoding/utf-16le-autodetect.xml b/lib/feedparser/tests/encoding/utf-16le-autodetect.xml new file mode 100644 index 00000000..60938826 Binary files /dev/null and b/lib/feedparser/tests/encoding/utf-16le-autodetect.xml differ diff --git a/lib/feedparser/tests/encoding/utf-16le-bom.xml b/lib/feedparser/tests/encoding/utf-16le-bom.xml new file mode 100644 index 00000000..89cb4f77 Binary files /dev/null and b/lib/feedparser/tests/encoding/utf-16le-bom.xml differ diff --git a/lib/feedparser/tests/encoding/utf-16le.xml b/lib/feedparser/tests/encoding/utf-16le.xml new file mode 100644 index 00000000..ec8effdc Binary files /dev/null and b/lib/feedparser/tests/encoding/utf-16le.xml differ diff --git a/lib/feedparser/tests/encoding/utf-32be-autodetect.xml b/lib/feedparser/tests/encoding/utf-32be-autodetect.xml new file mode 100644 index 00000000..deabb603 Binary files /dev/null and b/lib/feedparser/tests/encoding/utf-32be-autodetect.xml differ diff --git a/lib/feedparser/tests/encoding/utf-32be-bom.xml b/lib/feedparser/tests/encoding/utf-32be-bom.xml new file mode 100644 index 00000000..f09e8aef Binary files /dev/null and b/lib/feedparser/tests/encoding/utf-32be-bom.xml differ diff --git a/lib/feedparser/tests/encoding/utf-32be.xml b/lib/feedparser/tests/encoding/utf-32be.xml new file mode 100644 index 00000000..f9120310 Binary files /dev/null and b/lib/feedparser/tests/encoding/utf-32be.xml differ diff --git a/lib/feedparser/tests/encoding/utf-32le-autodetect.xml b/lib/feedparser/tests/encoding/utf-32le-autodetect.xml new file mode 100644 index 00000000..37fd72a6 Binary files /dev/null and b/lib/feedparser/tests/encoding/utf-32le-autodetect.xml differ diff --git a/lib/feedparser/tests/encoding/utf-32le-bom.xml b/lib/feedparser/tests/encoding/utf-32le-bom.xml new file mode 100644 index 00000000..c62cae40 Binary files /dev/null and b/lib/feedparser/tests/encoding/utf-32le-bom.xml differ diff --git a/lib/feedparser/tests/encoding/utf-32le.xml b/lib/feedparser/tests/encoding/utf-32le.xml new file mode 100644 index 00000000..4b83b240 Binary files /dev/null and b/lib/feedparser/tests/encoding/utf-32le.xml differ diff --git a/lib/feedparser/tests/encoding/utf-8-bom.xml b/lib/feedparser/tests/encoding/utf-8-bom.xml new file mode 100644 index 00000000..07903156 --- /dev/null +++ b/lib/feedparser/tests/encoding/utf-8-bom.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/utf16.xml b/lib/feedparser/tests/encoding/utf16.xml new file mode 100644 index 00000000..053b03e3 Binary files /dev/null and b/lib/feedparser/tests/encoding/utf16.xml differ diff --git a/lib/feedparser/tests/encoding/utf_16.xml b/lib/feedparser/tests/encoding/utf_16.xml new file mode 100644 index 00000000..63dd6a69 Binary files /dev/null and b/lib/feedparser/tests/encoding/utf_16.xml differ diff --git a/lib/feedparser/tests/encoding/utf_32.xml b/lib/feedparser/tests/encoding/utf_32.xml new file mode 100644 index 00000000..74890483 Binary files /dev/null and b/lib/feedparser/tests/encoding/utf_32.xml differ diff --git a/lib/feedparser/tests/encoding/x80_437.xml b/lib/feedparser/tests/encoding/x80_437.xml new file mode 100644 index 00000000..747bffe6 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_437.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_850.xml b/lib/feedparser/tests/encoding/x80_850.xml new file mode 100644 index 00000000..89b51ddf --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_850.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_852.xml b/lib/feedparser/tests/encoding/x80_852.xml new file mode 100644 index 00000000..1fb1898e --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_852.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_855.xml b/lib/feedparser/tests/encoding/x80_855.xml new file mode 100644 index 00000000..fbd5240f --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_855.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_857.xml b/lib/feedparser/tests/encoding/x80_857.xml new file mode 100644 index 00000000..2ebe0847 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_857.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_860.xml b/lib/feedparser/tests/encoding/x80_860.xml new file mode 100644 index 00000000..dbe53c9c --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_860.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_861.xml b/lib/feedparser/tests/encoding/x80_861.xml new file mode 100644 index 00000000..a2a69ddf --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_861.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_862.xml b/lib/feedparser/tests/encoding/x80_862.xml new file mode 100644 index 00000000..70947b41 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_862.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_863.xml b/lib/feedparser/tests/encoding/x80_863.xml new file mode 100644 index 00000000..dce7c360 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_863.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_865.xml b/lib/feedparser/tests/encoding/x80_865.xml new file mode 100644 index 00000000..bfe7e3a6 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_865.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_866.xml b/lib/feedparser/tests/encoding/x80_866.xml new file mode 100644 index 00000000..d83badab --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_866.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp037.xml b/lib/feedparser/tests/encoding/x80_cp037.xml new file mode 100644 index 00000000..bf80bdeb --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp037.xml @@ -0,0 +1 @@ +Lo@~K@~on%LZ``%⒉䕓z@@mmmmM}}]KM}}]%ąz@@@@@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp1125.xml b/lib/feedparser/tests/encoding/x80_cp1125.xml new file mode 100644 index 00000000..ab540d1e --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp1125.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp1250.xml b/lib/feedparser/tests/encoding/x80_cp1250.xml new file mode 100644 index 00000000..c32c6abe --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp1250.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp1251.xml b/lib/feedparser/tests/encoding/x80_cp1251.xml new file mode 100644 index 00000000..5892eb39 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp1251.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp1252.xml b/lib/feedparser/tests/encoding/x80_cp1252.xml new file mode 100644 index 00000000..960f8dfc --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp1252.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp1253.xml b/lib/feedparser/tests/encoding/x80_cp1253.xml new file mode 100644 index 00000000..0f3fae96 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp1253.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp1254.xml b/lib/feedparser/tests/encoding/x80_cp1254.xml new file mode 100644 index 00000000..5a5160f5 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp1254.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp1255.xml b/lib/feedparser/tests/encoding/x80_cp1255.xml new file mode 100644 index 00000000..64fa7b6a --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp1255.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp1256.xml b/lib/feedparser/tests/encoding/x80_cp1256.xml new file mode 100644 index 00000000..87ad5178 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp1256.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp1257.xml b/lib/feedparser/tests/encoding/x80_cp1257.xml new file mode 100644 index 00000000..9496f0b5 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp1257.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp1258.xml b/lib/feedparser/tests/encoding/x80_cp1258.xml new file mode 100644 index 00000000..4fc927e7 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp1258.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp437.xml b/lib/feedparser/tests/encoding/x80_cp437.xml new file mode 100644 index 00000000..d6fb55ca --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp437.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp500.xml b/lib/feedparser/tests/encoding/x80_cp500.xml new file mode 100644 index 00000000..bc7abbdc --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp500.xml @@ -0,0 +1 @@ +Lo@~K@~on%LO``%⒉䕓z@@mmmmM}}]KM}}]%ąz@@@@@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp737.xml b/lib/feedparser/tests/encoding/x80_cp737.xml new file mode 100644 index 00000000..6798237d --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp737.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp775.xml b/lib/feedparser/tests/encoding/x80_cp775.xml new file mode 100644 index 00000000..d04ed5f8 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp775.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp850.xml b/lib/feedparser/tests/encoding/x80_cp850.xml new file mode 100644 index 00000000..b510c43f --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp850.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp852.xml b/lib/feedparser/tests/encoding/x80_cp852.xml new file mode 100644 index 00000000..1c7d3e95 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp852.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp855.xml b/lib/feedparser/tests/encoding/x80_cp855.xml new file mode 100644 index 00000000..069b0595 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp855.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp856.xml b/lib/feedparser/tests/encoding/x80_cp856.xml new file mode 100644 index 00000000..d4d940ab --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp856.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp857.xml b/lib/feedparser/tests/encoding/x80_cp857.xml new file mode 100644 index 00000000..5682d7fa --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp857.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp860.xml b/lib/feedparser/tests/encoding/x80_cp860.xml new file mode 100644 index 00000000..a572284a --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp860.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp861.xml b/lib/feedparser/tests/encoding/x80_cp861.xml new file mode 100644 index 00000000..fb1a529d --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp861.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp862.xml b/lib/feedparser/tests/encoding/x80_cp862.xml new file mode 100644 index 00000000..e9121d0f --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp862.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp863.xml b/lib/feedparser/tests/encoding/x80_cp863.xml new file mode 100644 index 00000000..3a2de4f2 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp863.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp864.xml b/lib/feedparser/tests/encoding/x80_cp864.xml new file mode 100644 index 00000000..fa501d7a --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp864.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp865.xml b/lib/feedparser/tests/encoding/x80_cp865.xml new file mode 100644 index 00000000..1a59191f --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp865.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp866.xml b/lib/feedparser/tests/encoding/x80_cp866.xml new file mode 100644 index 00000000..62c9e958 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp866.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp874.xml b/lib/feedparser/tests/encoding/x80_cp874.xml new file mode 100644 index 00000000..80dd0ffd --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp874.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp875.xml b/lib/feedparser/tests/encoding/x80_cp875.xml new file mode 100644 index 00000000..b8b0d245 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp875.xml @@ -0,0 +1 @@ +Lo@~K@~on%LO``%⒉䕓z@@mmmmM}}]KM}}]%ąz@@@@@%ŧz@@@@@@@@@K@~~@}}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cp_is.xml b/lib/feedparser/tests/encoding/x80_cp_is.xml new file mode 100644 index 00000000..231ac77b --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cp_is.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_csibm037.xml b/lib/feedparser/tests/encoding/x80_csibm037.xml new file mode 100644 index 00000000..de1073be --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_csibm037.xml @@ -0,0 +1 @@ +Lo@~K@~on%LZ``%⒉䕓z@@mmmmM}}]KM}}]%ąz@@@@@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_csibm500.xml b/lib/feedparser/tests/encoding/x80_csibm500.xml new file mode 100644 index 00000000..2a499828 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_csibm500.xml @@ -0,0 +1 @@ +Lo@~K@~on%LO``%⒉䕓z@@mmmmM}}]KM}}]%ąz@@@@@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_csibm855.xml b/lib/feedparser/tests/encoding/x80_csibm855.xml new file mode 100644 index 00000000..cf078a74 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_csibm855.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_csibm857.xml b/lib/feedparser/tests/encoding/x80_csibm857.xml new file mode 100644 index 00000000..b2df4627 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_csibm857.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_csibm860.xml b/lib/feedparser/tests/encoding/x80_csibm860.xml new file mode 100644 index 00000000..28269f79 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_csibm860.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_csibm861.xml b/lib/feedparser/tests/encoding/x80_csibm861.xml new file mode 100644 index 00000000..2300d2d9 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_csibm861.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_csibm863.xml b/lib/feedparser/tests/encoding/x80_csibm863.xml new file mode 100644 index 00000000..af23c2bd --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_csibm863.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_csibm864.xml b/lib/feedparser/tests/encoding/x80_csibm864.xml new file mode 100644 index 00000000..6d820bec --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_csibm864.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_csibm865.xml b/lib/feedparser/tests/encoding/x80_csibm865.xml new file mode 100644 index 00000000..5ca7a89a --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_csibm865.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_csibm866.xml b/lib/feedparser/tests/encoding/x80_csibm866.xml new file mode 100644 index 00000000..0c962ed5 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_csibm866.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cskoi8r.xml b/lib/feedparser/tests/encoding/x80_cskoi8r.xml new file mode 100644 index 00000000..2a41be10 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cskoi8r.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_csmacintosh.xml b/lib/feedparser/tests/encoding/x80_csmacintosh.xml new file mode 100644 index 00000000..3d387895 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_csmacintosh.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cspc775baltic.xml b/lib/feedparser/tests/encoding/x80_cspc775baltic.xml new file mode 100644 index 00000000..e5b9993f --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cspc775baltic.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cspc850multilingual.xml b/lib/feedparser/tests/encoding/x80_cspc850multilingual.xml new file mode 100644 index 00000000..21f5f7dc --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cspc850multilingual.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cspc862latinhebrew.xml b/lib/feedparser/tests/encoding/x80_cspc862latinhebrew.xml new file mode 100644 index 00000000..b282482a --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cspc862latinhebrew.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cspc8codepage437.xml b/lib/feedparser/tests/encoding/x80_cspc8codepage437.xml new file mode 100644 index 00000000..74dffe05 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cspc8codepage437.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_cspcp852.xml b/lib/feedparser/tests/encoding/x80_cspcp852.xml new file mode 100644 index 00000000..bb0b3f2f --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_cspcp852.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_dbcs.xml b/lib/feedparser/tests/encoding/x80_dbcs.xml new file mode 100644 index 00000000..6d7ff415 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_dbcs.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ebcdic-cp-be.xml b/lib/feedparser/tests/encoding/x80_ebcdic-cp-be.xml new file mode 100644 index 00000000..605593c4 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ebcdic-cp-be.xml @@ -0,0 +1 @@ +Lo@~K@~``on%LO``%⒉䕓z@@mmmmM}}]KM}``}]%ąz@@@@``@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ebcdic-cp-ca.xml b/lib/feedparser/tests/encoding/x80_ebcdic-cp-ca.xml new file mode 100644 index 00000000..346fa178 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ebcdic-cp-ca.xml @@ -0,0 +1 @@ +Lo@~K@~``on%LZ``%⒉䕓z@@mmmmM}}]KM}``}]%ąz@@@@``@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ebcdic-cp-ch.xml b/lib/feedparser/tests/encoding/x80_ebcdic-cp-ch.xml new file mode 100644 index 00000000..1ed34d98 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ebcdic-cp-ch.xml @@ -0,0 +1 @@ +Lo@~K@~``on%LO``%⒉䕓z@@mmmmM}}]KM}``}]%ąz@@@@``@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ebcdic-cp-nl.xml b/lib/feedparser/tests/encoding/x80_ebcdic-cp-nl.xml new file mode 100644 index 00000000..158a9b88 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ebcdic-cp-nl.xml @@ -0,0 +1 @@ +Lo@~K@~``on%LZ``%⒉䕓z@@mmmmM}}]KM}``}]%ąz@@@@``@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ebcdic-cp-us.xml b/lib/feedparser/tests/encoding/x80_ebcdic-cp-us.xml new file mode 100644 index 00000000..9bc45ffa --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ebcdic-cp-us.xml @@ -0,0 +1 @@ +Lo@~K@~``on%LZ``%⒉䕓z@@mmmmM}}]KM}``}]%ąz@@@@``@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ebcdic-cp-wt.xml b/lib/feedparser/tests/encoding/x80_ebcdic-cp-wt.xml new file mode 100644 index 00000000..69271435 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ebcdic-cp-wt.xml @@ -0,0 +1 @@ +Lo@~K@~``on%LZ``%⒉䕓z@@mmmmM}}]KM}``}]%ąz@@@@``@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ebcdic_cp_be.xml b/lib/feedparser/tests/encoding/x80_ebcdic_cp_be.xml new file mode 100644 index 00000000..fe4d13b6 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ebcdic_cp_be.xml @@ -0,0 +1 @@ +Lo@~K@~mmon%LO``%⒉䕓z@@mmmmM}}]KM}mm}]%ąz@@@@mm@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ebcdic_cp_ca.xml b/lib/feedparser/tests/encoding/x80_ebcdic_cp_ca.xml new file mode 100644 index 00000000..1999ff5f --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ebcdic_cp_ca.xml @@ -0,0 +1 @@ +Lo@~K@~mmon%LZ``%⒉䕓z@@mmmmM}}]KM}mm}]%ąz@@@@mm@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ebcdic_cp_ch.xml b/lib/feedparser/tests/encoding/x80_ebcdic_cp_ch.xml new file mode 100644 index 00000000..8a7d36df --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ebcdic_cp_ch.xml @@ -0,0 +1 @@ +Lo@~K@~mmon%LO``%⒉䕓z@@mmmmM}}]KM}mm}]%ąz@@@@mm@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ebcdic_cp_nl.xml b/lib/feedparser/tests/encoding/x80_ebcdic_cp_nl.xml new file mode 100644 index 00000000..2917b954 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ebcdic_cp_nl.xml @@ -0,0 +1 @@ +Lo@~K@~mmon%LZ``%⒉䕓z@@mmmmM}}]KM}mm}]%ąz@@@@mm@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ebcdic_cp_us.xml b/lib/feedparser/tests/encoding/x80_ebcdic_cp_us.xml new file mode 100644 index 00000000..8d3d7612 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ebcdic_cp_us.xml @@ -0,0 +1 @@ +Lo@~K@~mmon%LZ``%⒉䕓z@@mmmmM}}]KM}mm}]%ąz@@@@mm@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ebcdic_cp_wt.xml b/lib/feedparser/tests/encoding/x80_ebcdic_cp_wt.xml new file mode 100644 index 00000000..b110ada1 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ebcdic_cp_wt.xml @@ -0,0 +1 @@ +Lo@~K@~mmon%LZ``%⒉䕓z@@mmmmM}}]KM}mm}]%ąz@@@@mm@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm037.xml b/lib/feedparser/tests/encoding/x80_ibm037.xml new file mode 100644 index 00000000..e3ab6ec5 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm037.xml @@ -0,0 +1 @@ +Lo@~K@~on%LZ``%⒉䕓z@@mmmmM}}]KM}}]%ąz@@@@@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm039.xml b/lib/feedparser/tests/encoding/x80_ibm039.xml new file mode 100644 index 00000000..211553d9 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm039.xml @@ -0,0 +1 @@ +Lo@~K@~on%LZ``%⒉䕓z@@mmmmM}}]KM}}]%ąz@@@@@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm1140.xml b/lib/feedparser/tests/encoding/x80_ibm1140.xml new file mode 100644 index 00000000..c1cde5f9 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm1140.xml @@ -0,0 +1 @@ +Lo@~K@~on%LZ``%⒉䕓z@@mmmmM}}]KM}}]%ąz@@@@@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm437.xml b/lib/feedparser/tests/encoding/x80_ibm437.xml new file mode 100644 index 00000000..c9689dc7 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm437.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm500.xml b/lib/feedparser/tests/encoding/x80_ibm500.xml new file mode 100644 index 00000000..1c32c886 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm500.xml @@ -0,0 +1 @@ +Lo@~K@~on%LO``%⒉䕓z@@mmmmM}}]KM}}]%ąz@@@@@%ŧz@@@@@@@@@K@~~@}ৄ}%``n%L@~K@~zaaKaa{n%LnLan%Lan \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm775.xml b/lib/feedparser/tests/encoding/x80_ibm775.xml new file mode 100644 index 00000000..a6ac0bf0 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm775.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm850.xml b/lib/feedparser/tests/encoding/x80_ibm850.xml new file mode 100644 index 00000000..e3385b76 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm850.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm852.xml b/lib/feedparser/tests/encoding/x80_ibm852.xml new file mode 100644 index 00000000..ed483108 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm852.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm855.xml b/lib/feedparser/tests/encoding/x80_ibm855.xml new file mode 100644 index 00000000..7574077a --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm855.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm857.xml b/lib/feedparser/tests/encoding/x80_ibm857.xml new file mode 100644 index 00000000..41f68489 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm857.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm860.xml b/lib/feedparser/tests/encoding/x80_ibm860.xml new file mode 100644 index 00000000..68c3f5ef --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm860.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm861.xml b/lib/feedparser/tests/encoding/x80_ibm861.xml new file mode 100644 index 00000000..b9c19d76 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm861.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm862.xml b/lib/feedparser/tests/encoding/x80_ibm862.xml new file mode 100644 index 00000000..15a957b9 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm862.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm863.xml b/lib/feedparser/tests/encoding/x80_ibm863.xml new file mode 100644 index 00000000..884ca842 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm863.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm864.xml b/lib/feedparser/tests/encoding/x80_ibm864.xml new file mode 100644 index 00000000..cc5522f4 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm864.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm865.xml b/lib/feedparser/tests/encoding/x80_ibm865.xml new file mode 100644 index 00000000..4419a8b3 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm865.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ibm866.xml b/lib/feedparser/tests/encoding/x80_ibm866.xml new file mode 100644 index 00000000..cf247879 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ibm866.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_koi8-r.xml b/lib/feedparser/tests/encoding/x80_koi8-r.xml new file mode 100644 index 00000000..9e6c9a6b --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_koi8-r.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_koi8-t.xml b/lib/feedparser/tests/encoding/x80_koi8-t.xml new file mode 100644 index 00000000..502735cf --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_koi8-t.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_koi8-u.xml b/lib/feedparser/tests/encoding/x80_koi8-u.xml new file mode 100644 index 00000000..f8ea0abb --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_koi8-u.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_mac-cyrillic.xml b/lib/feedparser/tests/encoding/x80_mac-cyrillic.xml new file mode 100644 index 00000000..7a49eb05 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_mac-cyrillic.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_mac.xml b/lib/feedparser/tests/encoding/x80_mac.xml new file mode 100644 index 00000000..b5361482 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_mac.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_maccentraleurope.xml b/lib/feedparser/tests/encoding/x80_maccentraleurope.xml new file mode 100644 index 00000000..abcedfd3 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_maccentraleurope.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_maccyrillic.xml b/lib/feedparser/tests/encoding/x80_maccyrillic.xml new file mode 100644 index 00000000..89ae2309 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_maccyrillic.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_macgreek.xml b/lib/feedparser/tests/encoding/x80_macgreek.xml new file mode 100644 index 00000000..ac91a79d --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_macgreek.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_maciceland.xml b/lib/feedparser/tests/encoding/x80_maciceland.xml new file mode 100644 index 00000000..d93cfa56 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_maciceland.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_macintosh.xml b/lib/feedparser/tests/encoding/x80_macintosh.xml new file mode 100644 index 00000000..e01a0e31 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_macintosh.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_maclatin2.xml b/lib/feedparser/tests/encoding/x80_maclatin2.xml new file mode 100644 index 00000000..fe1d5c43 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_maclatin2.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_macroman.xml b/lib/feedparser/tests/encoding/x80_macroman.xml new file mode 100644 index 00000000..0700f3af --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_macroman.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_macturkish.xml b/lib/feedparser/tests/encoding/x80_macturkish.xml new file mode 100644 index 00000000..fa4ec82f --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_macturkish.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ms-ansi.xml b/lib/feedparser/tests/encoding/x80_ms-ansi.xml new file mode 100644 index 00000000..b3312ec6 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ms-ansi.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ms-arab.xml b/lib/feedparser/tests/encoding/x80_ms-arab.xml new file mode 100644 index 00000000..b67bee60 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ms-arab.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ms-cyrl.xml b/lib/feedparser/tests/encoding/x80_ms-cyrl.xml new file mode 100644 index 00000000..57bfc929 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ms-cyrl.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ms-ee.xml b/lib/feedparser/tests/encoding/x80_ms-ee.xml new file mode 100644 index 00000000..eb034d0b --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ms-ee.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ms-greek.xml b/lib/feedparser/tests/encoding/x80_ms-greek.xml new file mode 100644 index 00000000..b8bfc78a --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ms-greek.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ms-hebr.xml b/lib/feedparser/tests/encoding/x80_ms-hebr.xml new file mode 100644 index 00000000..d170a9c6 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ms-hebr.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_ms-turk.xml b/lib/feedparser/tests/encoding/x80_ms-turk.xml new file mode 100644 index 00000000..dad6cbe9 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_ms-turk.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_tcvn-5712.xml b/lib/feedparser/tests/encoding/x80_tcvn-5712.xml new file mode 100644 index 00000000..684c52f4 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_tcvn-5712.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_tcvn.xml b/lib/feedparser/tests/encoding/x80_tcvn.xml new file mode 100644 index 00000000..5b17c9d7 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_tcvn.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_tcvn5712-1.xml b/lib/feedparser/tests/encoding/x80_tcvn5712-1.xml new file mode 100644 index 00000000..f6e92eef --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_tcvn5712-1.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_viscii.xml b/lib/feedparser/tests/encoding/x80_viscii.xml new file mode 100644 index 00000000..b872c5b3 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_viscii.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_winbaltrim.xml b/lib/feedparser/tests/encoding/x80_winbaltrim.xml new file mode 100644 index 00000000..a109e279 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_winbaltrim.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows-1250.xml b/lib/feedparser/tests/encoding/x80_windows-1250.xml new file mode 100644 index 00000000..7449843e --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows-1250.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows-1251.xml b/lib/feedparser/tests/encoding/x80_windows-1251.xml new file mode 100644 index 00000000..15f51c58 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows-1251.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows-1252.xml b/lib/feedparser/tests/encoding/x80_windows-1252.xml new file mode 100644 index 00000000..742278a0 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows-1252.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows-1253.xml b/lib/feedparser/tests/encoding/x80_windows-1253.xml new file mode 100644 index 00000000..00119990 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows-1253.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows-1254.xml b/lib/feedparser/tests/encoding/x80_windows-1254.xml new file mode 100644 index 00000000..7e907894 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows-1254.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows-1255.xml b/lib/feedparser/tests/encoding/x80_windows-1255.xml new file mode 100644 index 00000000..53cfc191 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows-1255.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows-1256.xml b/lib/feedparser/tests/encoding/x80_windows-1256.xml new file mode 100644 index 00000000..4b2b6303 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows-1256.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows-1257.xml b/lib/feedparser/tests/encoding/x80_windows-1257.xml new file mode 100644 index 00000000..00e807fa --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows-1257.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows-1258.xml b/lib/feedparser/tests/encoding/x80_windows-1258.xml new file mode 100644 index 00000000..7a6d4105 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows-1258.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows_1250.xml b/lib/feedparser/tests/encoding/x80_windows_1250.xml new file mode 100644 index 00000000..6728513e --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows_1250.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows_1251.xml b/lib/feedparser/tests/encoding/x80_windows_1251.xml new file mode 100644 index 00000000..9ea04a6a --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows_1251.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows_1252.xml b/lib/feedparser/tests/encoding/x80_windows_1252.xml new file mode 100644 index 00000000..7adeea4b --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows_1252.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows_1253.xml b/lib/feedparser/tests/encoding/x80_windows_1253.xml new file mode 100644 index 00000000..ab21d9ef --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows_1253.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows_1254.xml b/lib/feedparser/tests/encoding/x80_windows_1254.xml new file mode 100644 index 00000000..a35a78b8 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows_1254.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows_1255.xml b/lib/feedparser/tests/encoding/x80_windows_1255.xml new file mode 100644 index 00000000..e71a7367 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows_1255.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows_1256.xml b/lib/feedparser/tests/encoding/x80_windows_1256.xml new file mode 100644 index 00000000..6f9f98d3 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows_1256.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows_1257.xml b/lib/feedparser/tests/encoding/x80_windows_1257.xml new file mode 100644 index 00000000..42649b74 --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows_1257.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/encoding/x80_windows_1258.xml b/lib/feedparser/tests/encoding/x80_windows_1258.xml new file mode 100644 index 00000000..c8bc701e --- /dev/null +++ b/lib/feedparser/tests/encoding/x80_windows_1258.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/160.xml b/lib/feedparser/tests/entities/160.xml new file mode 100644 index 00000000..a6d0c7fa --- /dev/null +++ b/lib/feedparser/tests/entities/160.xml @@ -0,0 +1,9 @@ + + + +testing   entity + + + + +testing ˜ entity + + + + +testing ‘ entity + + + + +testing ’ entity + + + + +testing “ entity + + + + +testing ” entity + + + + +testing ♦ entity + + + + +testing á entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/acirc.xml b/lib/feedparser/tests/entities/acirc.xml new file mode 100644 index 00000000..88be7791 --- /dev/null +++ b/lib/feedparser/tests/entities/acirc.xml @@ -0,0 +1,9 @@ + + + +testing â entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/acute.xml b/lib/feedparser/tests/entities/acute.xml new file mode 100644 index 00000000..bea2c495 --- /dev/null +++ b/lib/feedparser/tests/entities/acute.xml @@ -0,0 +1,9 @@ + + + +testing ´ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/aelig.xml b/lib/feedparser/tests/entities/aelig.xml new file mode 100644 index 00000000..a616a1b6 --- /dev/null +++ b/lib/feedparser/tests/entities/aelig.xml @@ -0,0 +1,9 @@ + + + +testing æ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/agrave.xml b/lib/feedparser/tests/entities/agrave.xml new file mode 100644 index 00000000..c9f4d73f --- /dev/null +++ b/lib/feedparser/tests/entities/agrave.xml @@ -0,0 +1,9 @@ + + + +testing à entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/alefsym.xml b/lib/feedparser/tests/entities/alefsym.xml new file mode 100644 index 00000000..c3d383d9 --- /dev/null +++ b/lib/feedparser/tests/entities/alefsym.xml @@ -0,0 +1,9 @@ + + + +testing ℵ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/alpha.xml b/lib/feedparser/tests/entities/alpha.xml new file mode 100644 index 00000000..b4c3aa9a --- /dev/null +++ b/lib/feedparser/tests/entities/alpha.xml @@ -0,0 +1,9 @@ + + + +testing α entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/and.xml b/lib/feedparser/tests/entities/and.xml new file mode 100644 index 00000000..4af0849e --- /dev/null +++ b/lib/feedparser/tests/entities/and.xml @@ -0,0 +1,9 @@ + + + +testing ∧ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ang.xml b/lib/feedparser/tests/entities/ang.xml new file mode 100644 index 00000000..cff7694d --- /dev/null +++ b/lib/feedparser/tests/entities/ang.xml @@ -0,0 +1,9 @@ + + + +testing ∠ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/aring.xml b/lib/feedparser/tests/entities/aring.xml new file mode 100644 index 00000000..d279eea2 --- /dev/null +++ b/lib/feedparser/tests/entities/aring.xml @@ -0,0 +1,9 @@ + + + +testing å entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/asymp.xml b/lib/feedparser/tests/entities/asymp.xml new file mode 100644 index 00000000..37c5eb2d --- /dev/null +++ b/lib/feedparser/tests/entities/asymp.xml @@ -0,0 +1,9 @@ + + + +testing ≈ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/atilde.xml b/lib/feedparser/tests/entities/atilde.xml new file mode 100644 index 00000000..2f31e87d --- /dev/null +++ b/lib/feedparser/tests/entities/atilde.xml @@ -0,0 +1,9 @@ + + + +testing ã entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/attr_amp.xml b/lib/feedparser/tests/entities/attr_amp.xml new file mode 100644 index 00000000..64b523fe --- /dev/null +++ b/lib/feedparser/tests/entities/attr_amp.xml @@ -0,0 +1,7 @@ + + + + + + +testing ä entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/bdquo.xml b/lib/feedparser/tests/entities/bdquo.xml new file mode 100644 index 00000000..e126e252 --- /dev/null +++ b/lib/feedparser/tests/entities/bdquo.xml @@ -0,0 +1,9 @@ + + + +testing „ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/beta.xml b/lib/feedparser/tests/entities/beta.xml new file mode 100644 index 00000000..588ba2d6 --- /dev/null +++ b/lib/feedparser/tests/entities/beta.xml @@ -0,0 +1,9 @@ + + + +testing β entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/brvbar.xml b/lib/feedparser/tests/entities/brvbar.xml new file mode 100644 index 00000000..9a940e43 --- /dev/null +++ b/lib/feedparser/tests/entities/brvbar.xml @@ -0,0 +1,9 @@ + + + +testing ¦ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/bull.xml b/lib/feedparser/tests/entities/bull.xml new file mode 100644 index 00000000..d2d396da --- /dev/null +++ b/lib/feedparser/tests/entities/bull.xml @@ -0,0 +1,9 @@ + + + +testing • entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/cap.xml b/lib/feedparser/tests/entities/cap.xml new file mode 100644 index 00000000..f8898e38 --- /dev/null +++ b/lib/feedparser/tests/entities/cap.xml @@ -0,0 +1,9 @@ + + + +testing ∩ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ccedil.xml b/lib/feedparser/tests/entities/ccedil.xml new file mode 100644 index 00000000..9a35ab0c --- /dev/null +++ b/lib/feedparser/tests/entities/ccedil.xml @@ -0,0 +1,9 @@ + + + +testing ç entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/cedil.xml b/lib/feedparser/tests/entities/cedil.xml new file mode 100644 index 00000000..9b93fb81 --- /dev/null +++ b/lib/feedparser/tests/entities/cedil.xml @@ -0,0 +1,9 @@ + + + +testing ¸ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/cent.xml b/lib/feedparser/tests/entities/cent.xml new file mode 100644 index 00000000..43101730 --- /dev/null +++ b/lib/feedparser/tests/entities/cent.xml @@ -0,0 +1,9 @@ + + + +testing ¢ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/chi.xml b/lib/feedparser/tests/entities/chi.xml new file mode 100644 index 00000000..c63d3e55 --- /dev/null +++ b/lib/feedparser/tests/entities/chi.xml @@ -0,0 +1,9 @@ + + + +testing χ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/circ.xml b/lib/feedparser/tests/entities/circ.xml new file mode 100644 index 00000000..76b6762b --- /dev/null +++ b/lib/feedparser/tests/entities/circ.xml @@ -0,0 +1,9 @@ + + + +testing ˆ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/clubs.xml b/lib/feedparser/tests/entities/clubs.xml new file mode 100644 index 00000000..efe1ea34 --- /dev/null +++ b/lib/feedparser/tests/entities/clubs.xml @@ -0,0 +1,9 @@ + + + +testing ♣ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/cong.xml b/lib/feedparser/tests/entities/cong.xml new file mode 100644 index 00000000..e6dd55c9 --- /dev/null +++ b/lib/feedparser/tests/entities/cong.xml @@ -0,0 +1,9 @@ + + + +testing ≅ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/copy.xml b/lib/feedparser/tests/entities/copy.xml new file mode 100644 index 00000000..7ec6367f --- /dev/null +++ b/lib/feedparser/tests/entities/copy.xml @@ -0,0 +1,9 @@ + + + +testing © entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/crarr.xml b/lib/feedparser/tests/entities/crarr.xml new file mode 100644 index 00000000..d1ced14d --- /dev/null +++ b/lib/feedparser/tests/entities/crarr.xml @@ -0,0 +1,9 @@ + + + +testing ↵ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/cup.xml b/lib/feedparser/tests/entities/cup.xml new file mode 100644 index 00000000..d81b582d --- /dev/null +++ b/lib/feedparser/tests/entities/cup.xml @@ -0,0 +1,9 @@ + + + +testing ∪ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/curren.xml b/lib/feedparser/tests/entities/curren.xml new file mode 100644 index 00000000..3aa6b871 --- /dev/null +++ b/lib/feedparser/tests/entities/curren.xml @@ -0,0 +1,9 @@ + + + +testing ¤ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/dagger.xml b/lib/feedparser/tests/entities/dagger.xml new file mode 100644 index 00000000..c8360b8d --- /dev/null +++ b/lib/feedparser/tests/entities/dagger.xml @@ -0,0 +1,9 @@ + + + +testing † entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/darr.xml b/lib/feedparser/tests/entities/darr.xml new file mode 100644 index 00000000..d6ccf87f --- /dev/null +++ b/lib/feedparser/tests/entities/darr.xml @@ -0,0 +1,9 @@ + + + +testing ⇓ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/deg.xml b/lib/feedparser/tests/entities/deg.xml new file mode 100644 index 00000000..c09fb858 --- /dev/null +++ b/lib/feedparser/tests/entities/deg.xml @@ -0,0 +1,9 @@ + + + +testing ° entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/delta.xml b/lib/feedparser/tests/entities/delta.xml new file mode 100644 index 00000000..a68be93d --- /dev/null +++ b/lib/feedparser/tests/entities/delta.xml @@ -0,0 +1,9 @@ + + + +testing δ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/diams.xml b/lib/feedparser/tests/entities/diams.xml new file mode 100644 index 00000000..f41b8b16 --- /dev/null +++ b/lib/feedparser/tests/entities/diams.xml @@ -0,0 +1,9 @@ + + + +testing ♦ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/divide.xml b/lib/feedparser/tests/entities/divide.xml new file mode 100644 index 00000000..6d926237 --- /dev/null +++ b/lib/feedparser/tests/entities/divide.xml @@ -0,0 +1,9 @@ + + + +testing ÷ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/doesnotexist.xml b/lib/feedparser/tests/entities/doesnotexist.xml new file mode 100644 index 00000000..87125051 --- /dev/null +++ b/lib/feedparser/tests/entities/doesnotexist.xml @@ -0,0 +1,9 @@ + + + +testing &doesnotexist; entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/eacute.xml b/lib/feedparser/tests/entities/eacute.xml new file mode 100644 index 00000000..ae8f8ece --- /dev/null +++ b/lib/feedparser/tests/entities/eacute.xml @@ -0,0 +1,9 @@ + + + +testing é entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ecirc.xml b/lib/feedparser/tests/entities/ecirc.xml new file mode 100644 index 00000000..b03136f7 --- /dev/null +++ b/lib/feedparser/tests/entities/ecirc.xml @@ -0,0 +1,9 @@ + + + +testing ê entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/egrave.xml b/lib/feedparser/tests/entities/egrave.xml new file mode 100644 index 00000000..38bbe154 --- /dev/null +++ b/lib/feedparser/tests/entities/egrave.xml @@ -0,0 +1,9 @@ + + + +testing è entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/empty.xml b/lib/feedparser/tests/entities/empty.xml new file mode 100644 index 00000000..e59e94de --- /dev/null +++ b/lib/feedparser/tests/entities/empty.xml @@ -0,0 +1,9 @@ + + + +testing ∅ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/emsp.xml b/lib/feedparser/tests/entities/emsp.xml new file mode 100644 index 00000000..29fe31f5 --- /dev/null +++ b/lib/feedparser/tests/entities/emsp.xml @@ -0,0 +1,9 @@ + + + +testing   entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ensp.xml b/lib/feedparser/tests/entities/ensp.xml new file mode 100644 index 00000000..dcaddd14 --- /dev/null +++ b/lib/feedparser/tests/entities/ensp.xml @@ -0,0 +1,9 @@ + + + +testing   entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/epsilon.xml b/lib/feedparser/tests/entities/epsilon.xml new file mode 100644 index 00000000..b053ec5c --- /dev/null +++ b/lib/feedparser/tests/entities/epsilon.xml @@ -0,0 +1,9 @@ + + + +testing ε entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/equiv.xml b/lib/feedparser/tests/entities/equiv.xml new file mode 100644 index 00000000..c63fe40c --- /dev/null +++ b/lib/feedparser/tests/entities/equiv.xml @@ -0,0 +1,9 @@ + + + +testing ≡ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/eta.xml b/lib/feedparser/tests/entities/eta.xml new file mode 100644 index 00000000..e2692d50 --- /dev/null +++ b/lib/feedparser/tests/entities/eta.xml @@ -0,0 +1,9 @@ + + + +testing η entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/eth.xml b/lib/feedparser/tests/entities/eth.xml new file mode 100644 index 00000000..056d4c0c --- /dev/null +++ b/lib/feedparser/tests/entities/eth.xml @@ -0,0 +1,9 @@ + + + +testing ð entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/euml.xml b/lib/feedparser/tests/entities/euml.xml new file mode 100644 index 00000000..e3f56407 --- /dev/null +++ b/lib/feedparser/tests/entities/euml.xml @@ -0,0 +1,9 @@ + + + +testing ë entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/euro.xml b/lib/feedparser/tests/entities/euro.xml new file mode 100644 index 00000000..77a782da --- /dev/null +++ b/lib/feedparser/tests/entities/euro.xml @@ -0,0 +1,9 @@ + + + +testing € entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/exist.xml b/lib/feedparser/tests/entities/exist.xml new file mode 100644 index 00000000..7332cdd4 --- /dev/null +++ b/lib/feedparser/tests/entities/exist.xml @@ -0,0 +1,9 @@ + + + +testing ∃ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/fnof.xml b/lib/feedparser/tests/entities/fnof.xml new file mode 100644 index 00000000..c50f3924 --- /dev/null +++ b/lib/feedparser/tests/entities/fnof.xml @@ -0,0 +1,9 @@ + + + +testing ƒ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/forall.xml b/lib/feedparser/tests/entities/forall.xml new file mode 100644 index 00000000..e939eca1 --- /dev/null +++ b/lib/feedparser/tests/entities/forall.xml @@ -0,0 +1,9 @@ + + + +testing ∀ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/frac12.xml b/lib/feedparser/tests/entities/frac12.xml new file mode 100644 index 00000000..1d567cb9 --- /dev/null +++ b/lib/feedparser/tests/entities/frac12.xml @@ -0,0 +1,9 @@ + + + +testing ½ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/frac14.xml b/lib/feedparser/tests/entities/frac14.xml new file mode 100644 index 00000000..7d99994e --- /dev/null +++ b/lib/feedparser/tests/entities/frac14.xml @@ -0,0 +1,9 @@ + + + +testing ¼ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/frac34.xml b/lib/feedparser/tests/entities/frac34.xml new file mode 100644 index 00000000..c106acc9 --- /dev/null +++ b/lib/feedparser/tests/entities/frac34.xml @@ -0,0 +1,9 @@ + + + +testing ¾ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/frasl.xml b/lib/feedparser/tests/entities/frasl.xml new file mode 100644 index 00000000..e0af9ea5 --- /dev/null +++ b/lib/feedparser/tests/entities/frasl.xml @@ -0,0 +1,9 @@ + + + +testing ⁄ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/gamma.xml b/lib/feedparser/tests/entities/gamma.xml new file mode 100644 index 00000000..f75e253a --- /dev/null +++ b/lib/feedparser/tests/entities/gamma.xml @@ -0,0 +1,9 @@ + + + +testing γ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ge.xml b/lib/feedparser/tests/entities/ge.xml new file mode 100644 index 00000000..662d99db --- /dev/null +++ b/lib/feedparser/tests/entities/ge.xml @@ -0,0 +1,9 @@ + + + +testing ≥ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/hArr.xml b/lib/feedparser/tests/entities/hArr.xml new file mode 100644 index 00000000..0d600f34 --- /dev/null +++ b/lib/feedparser/tests/entities/hArr.xml @@ -0,0 +1,9 @@ + + + +testing ↔ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/hearts.xml b/lib/feedparser/tests/entities/hearts.xml new file mode 100644 index 00000000..b46f1920 --- /dev/null +++ b/lib/feedparser/tests/entities/hearts.xml @@ -0,0 +1,9 @@ + + + +testing ♥ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/hellip.xml b/lib/feedparser/tests/entities/hellip.xml new file mode 100644 index 00000000..0cc416e9 --- /dev/null +++ b/lib/feedparser/tests/entities/hellip.xml @@ -0,0 +1,9 @@ + + + +testing … entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/hex_entity_x_lowercase.xml b/lib/feedparser/tests/entities/hex_entity_x_lowercase.xml new file mode 100644 index 00000000..18115739 --- /dev/null +++ b/lib/feedparser/tests/entities/hex_entity_x_lowercase.xml @@ -0,0 +1,9 @@ + + + + A + + + + + A + + + + +testing í entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/icirc.xml b/lib/feedparser/tests/entities/icirc.xml new file mode 100644 index 00000000..42de099a --- /dev/null +++ b/lib/feedparser/tests/entities/icirc.xml @@ -0,0 +1,9 @@ + + + +testing î entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/iexcl.xml b/lib/feedparser/tests/entities/iexcl.xml new file mode 100644 index 00000000..e8eb6563 --- /dev/null +++ b/lib/feedparser/tests/entities/iexcl.xml @@ -0,0 +1,9 @@ + + + +testing ¡ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/igrave.xml b/lib/feedparser/tests/entities/igrave.xml new file mode 100644 index 00000000..788cf5a8 --- /dev/null +++ b/lib/feedparser/tests/entities/igrave.xml @@ -0,0 +1,9 @@ + + + +testing ì entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/image.xml b/lib/feedparser/tests/entities/image.xml new file mode 100644 index 00000000..a49bb6ec --- /dev/null +++ b/lib/feedparser/tests/entities/image.xml @@ -0,0 +1,9 @@ + + + +testing ℑ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/infin.xml b/lib/feedparser/tests/entities/infin.xml new file mode 100644 index 00000000..37e2cce3 --- /dev/null +++ b/lib/feedparser/tests/entities/infin.xml @@ -0,0 +1,9 @@ + + + +testing ∞ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/int.xml b/lib/feedparser/tests/entities/int.xml new file mode 100644 index 00000000..f84f9645 --- /dev/null +++ b/lib/feedparser/tests/entities/int.xml @@ -0,0 +1,9 @@ + + + +testing ∫ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/iota.xml b/lib/feedparser/tests/entities/iota.xml new file mode 100644 index 00000000..38e23966 --- /dev/null +++ b/lib/feedparser/tests/entities/iota.xml @@ -0,0 +1,9 @@ + + + +testing ι entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/iquest.xml b/lib/feedparser/tests/entities/iquest.xml new file mode 100644 index 00000000..f73b3f73 --- /dev/null +++ b/lib/feedparser/tests/entities/iquest.xml @@ -0,0 +1,9 @@ + + + +testing ¿ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/isin.xml b/lib/feedparser/tests/entities/isin.xml new file mode 100644 index 00000000..2ef0469b --- /dev/null +++ b/lib/feedparser/tests/entities/isin.xml @@ -0,0 +1,9 @@ + + + +testing ∈ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/iuml.xml b/lib/feedparser/tests/entities/iuml.xml new file mode 100644 index 00000000..ca69817c --- /dev/null +++ b/lib/feedparser/tests/entities/iuml.xml @@ -0,0 +1,9 @@ + + + +testing ï entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/kappa.xml b/lib/feedparser/tests/entities/kappa.xml new file mode 100644 index 00000000..2ab0736b --- /dev/null +++ b/lib/feedparser/tests/entities/kappa.xml @@ -0,0 +1,9 @@ + + + +testing κ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/lArr.xml b/lib/feedparser/tests/entities/lArr.xml new file mode 100644 index 00000000..156f8e91 --- /dev/null +++ b/lib/feedparser/tests/entities/lArr.xml @@ -0,0 +1,9 @@ + + + +testing ← entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/lambda.xml b/lib/feedparser/tests/entities/lambda.xml new file mode 100644 index 00000000..8910ed30 --- /dev/null +++ b/lib/feedparser/tests/entities/lambda.xml @@ -0,0 +1,9 @@ + + + +testing λ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/lang.xml b/lib/feedparser/tests/entities/lang.xml new file mode 100644 index 00000000..db4e4e9f --- /dev/null +++ b/lib/feedparser/tests/entities/lang.xml @@ -0,0 +1,9 @@ + + + +testing ⟨ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/laquo.xml b/lib/feedparser/tests/entities/laquo.xml new file mode 100644 index 00000000..79537ca0 --- /dev/null +++ b/lib/feedparser/tests/entities/laquo.xml @@ -0,0 +1,9 @@ + + + +testing « entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/lceil.xml b/lib/feedparser/tests/entities/lceil.xml new file mode 100644 index 00000000..eef0da64 --- /dev/null +++ b/lib/feedparser/tests/entities/lceil.xml @@ -0,0 +1,9 @@ + + + +testing ⌈ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ldquo.xml b/lib/feedparser/tests/entities/ldquo.xml new file mode 100644 index 00000000..791e4891 --- /dev/null +++ b/lib/feedparser/tests/entities/ldquo.xml @@ -0,0 +1,9 @@ + + + +testing “ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/le.xml b/lib/feedparser/tests/entities/le.xml new file mode 100644 index 00000000..f2585951 --- /dev/null +++ b/lib/feedparser/tests/entities/le.xml @@ -0,0 +1,9 @@ + + + +testing ≤ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/lfloor.xml b/lib/feedparser/tests/entities/lfloor.xml new file mode 100644 index 00000000..50d5a226 --- /dev/null +++ b/lib/feedparser/tests/entities/lfloor.xml @@ -0,0 +1,9 @@ + + + +testing ⌊ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/lowast.xml b/lib/feedparser/tests/entities/lowast.xml new file mode 100644 index 00000000..00821804 --- /dev/null +++ b/lib/feedparser/tests/entities/lowast.xml @@ -0,0 +1,9 @@ + + + +testing ∗ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/loz.xml b/lib/feedparser/tests/entities/loz.xml new file mode 100644 index 00000000..29ffb069 --- /dev/null +++ b/lib/feedparser/tests/entities/loz.xml @@ -0,0 +1,9 @@ + + + +testing ◊ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/lrm.xml b/lib/feedparser/tests/entities/lrm.xml new file mode 100644 index 00000000..d672bc31 --- /dev/null +++ b/lib/feedparser/tests/entities/lrm.xml @@ -0,0 +1,9 @@ + + + +testing ‎ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/lsaquo.xml b/lib/feedparser/tests/entities/lsaquo.xml new file mode 100644 index 00000000..2faa2ed5 --- /dev/null +++ b/lib/feedparser/tests/entities/lsaquo.xml @@ -0,0 +1,9 @@ + + + +testing ‹ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/lsquo.xml b/lib/feedparser/tests/entities/lsquo.xml new file mode 100644 index 00000000..2297817b --- /dev/null +++ b/lib/feedparser/tests/entities/lsquo.xml @@ -0,0 +1,9 @@ + + + +testing ‘ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/macr.xml b/lib/feedparser/tests/entities/macr.xml new file mode 100644 index 00000000..4699e32d --- /dev/null +++ b/lib/feedparser/tests/entities/macr.xml @@ -0,0 +1,9 @@ + + + +testing ¯ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/mdash.xml b/lib/feedparser/tests/entities/mdash.xml new file mode 100644 index 00000000..e2f8503a --- /dev/null +++ b/lib/feedparser/tests/entities/mdash.xml @@ -0,0 +1,9 @@ + + + +testing — entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/micro.xml b/lib/feedparser/tests/entities/micro.xml new file mode 100644 index 00000000..5feecd06 --- /dev/null +++ b/lib/feedparser/tests/entities/micro.xml @@ -0,0 +1,9 @@ + + + +testing µ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/middot.xml b/lib/feedparser/tests/entities/middot.xml new file mode 100644 index 00000000..c436115f --- /dev/null +++ b/lib/feedparser/tests/entities/middot.xml @@ -0,0 +1,9 @@ + + + +testing · entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/minus.xml b/lib/feedparser/tests/entities/minus.xml new file mode 100644 index 00000000..08baeac4 --- /dev/null +++ b/lib/feedparser/tests/entities/minus.xml @@ -0,0 +1,9 @@ + + + +testing − entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/mu.xml b/lib/feedparser/tests/entities/mu.xml new file mode 100644 index 00000000..81eb6fa8 --- /dev/null +++ b/lib/feedparser/tests/entities/mu.xml @@ -0,0 +1,9 @@ + + + +testing μ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/nabla.xml b/lib/feedparser/tests/entities/nabla.xml new file mode 100644 index 00000000..770ce74a --- /dev/null +++ b/lib/feedparser/tests/entities/nabla.xml @@ -0,0 +1,9 @@ + + + +testing ∇ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/nbsp.xml b/lib/feedparser/tests/entities/nbsp.xml new file mode 100644 index 00000000..e61d94f5 --- /dev/null +++ b/lib/feedparser/tests/entities/nbsp.xml @@ -0,0 +1,9 @@ + + + +testing   entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ndash.xml b/lib/feedparser/tests/entities/ndash.xml new file mode 100644 index 00000000..801b4e7e --- /dev/null +++ b/lib/feedparser/tests/entities/ndash.xml @@ -0,0 +1,9 @@ + + + +testing – entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ne.xml b/lib/feedparser/tests/entities/ne.xml new file mode 100644 index 00000000..911a7f16 --- /dev/null +++ b/lib/feedparser/tests/entities/ne.xml @@ -0,0 +1,9 @@ + + + +testing ≠ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ni.xml b/lib/feedparser/tests/entities/ni.xml new file mode 100644 index 00000000..5022ec68 --- /dev/null +++ b/lib/feedparser/tests/entities/ni.xml @@ -0,0 +1,9 @@ + + + +testing ∋ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/not.xml b/lib/feedparser/tests/entities/not.xml new file mode 100644 index 00000000..0179bb8c --- /dev/null +++ b/lib/feedparser/tests/entities/not.xml @@ -0,0 +1,9 @@ + + + +testing ¬ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/notin.xml b/lib/feedparser/tests/entities/notin.xml new file mode 100644 index 00000000..3c8f1f48 --- /dev/null +++ b/lib/feedparser/tests/entities/notin.xml @@ -0,0 +1,9 @@ + + + +testing ∉ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/nsub.xml b/lib/feedparser/tests/entities/nsub.xml new file mode 100644 index 00000000..a9f4aca5 --- /dev/null +++ b/lib/feedparser/tests/entities/nsub.xml @@ -0,0 +1,9 @@ + + + +testing ⊄ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ntilde.xml b/lib/feedparser/tests/entities/ntilde.xml new file mode 100644 index 00000000..0160c98e --- /dev/null +++ b/lib/feedparser/tests/entities/ntilde.xml @@ -0,0 +1,9 @@ + + + +testing ñ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/nu.xml b/lib/feedparser/tests/entities/nu.xml new file mode 100644 index 00000000..e9b99ef6 --- /dev/null +++ b/lib/feedparser/tests/entities/nu.xml @@ -0,0 +1,9 @@ + + + +testing ν entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/oacute.xml b/lib/feedparser/tests/entities/oacute.xml new file mode 100644 index 00000000..7e7ad959 --- /dev/null +++ b/lib/feedparser/tests/entities/oacute.xml @@ -0,0 +1,9 @@ + + + +testing ó entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ocirc.xml b/lib/feedparser/tests/entities/ocirc.xml new file mode 100644 index 00000000..561279ce --- /dev/null +++ b/lib/feedparser/tests/entities/ocirc.xml @@ -0,0 +1,9 @@ + + + +testing ô entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/oelig.xml b/lib/feedparser/tests/entities/oelig.xml new file mode 100644 index 00000000..54322396 --- /dev/null +++ b/lib/feedparser/tests/entities/oelig.xml @@ -0,0 +1,9 @@ + + + +testing œ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ograve.xml b/lib/feedparser/tests/entities/ograve.xml new file mode 100644 index 00000000..44dbaf5b --- /dev/null +++ b/lib/feedparser/tests/entities/ograve.xml @@ -0,0 +1,9 @@ + + + +testing ò entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/oline.xml b/lib/feedparser/tests/entities/oline.xml new file mode 100644 index 00000000..193b139e --- /dev/null +++ b/lib/feedparser/tests/entities/oline.xml @@ -0,0 +1,9 @@ + + + +testing ‾ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/omega.xml b/lib/feedparser/tests/entities/omega.xml new file mode 100644 index 00000000..614ad7e7 --- /dev/null +++ b/lib/feedparser/tests/entities/omega.xml @@ -0,0 +1,9 @@ + + + +testing ω entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/omicron.xml b/lib/feedparser/tests/entities/omicron.xml new file mode 100644 index 00000000..5c23feb5 --- /dev/null +++ b/lib/feedparser/tests/entities/omicron.xml @@ -0,0 +1,9 @@ + + + +testing ο entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/oplus.xml b/lib/feedparser/tests/entities/oplus.xml new file mode 100644 index 00000000..374d1596 --- /dev/null +++ b/lib/feedparser/tests/entities/oplus.xml @@ -0,0 +1,9 @@ + + + +testing ⊕ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/or.xml b/lib/feedparser/tests/entities/or.xml new file mode 100644 index 00000000..8499a33a --- /dev/null +++ b/lib/feedparser/tests/entities/or.xml @@ -0,0 +1,9 @@ + + + +testing ∨ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ordf.xml b/lib/feedparser/tests/entities/ordf.xml new file mode 100644 index 00000000..13faf67b --- /dev/null +++ b/lib/feedparser/tests/entities/ordf.xml @@ -0,0 +1,9 @@ + + + +testing ª entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ordm.xml b/lib/feedparser/tests/entities/ordm.xml new file mode 100644 index 00000000..da47c1e4 --- /dev/null +++ b/lib/feedparser/tests/entities/ordm.xml @@ -0,0 +1,9 @@ + + + +testing º entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/oslash.xml b/lib/feedparser/tests/entities/oslash.xml new file mode 100644 index 00000000..50e6c86b --- /dev/null +++ b/lib/feedparser/tests/entities/oslash.xml @@ -0,0 +1,9 @@ + + + +testing ø entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/otilde.xml b/lib/feedparser/tests/entities/otilde.xml new file mode 100644 index 00000000..e5636bfe --- /dev/null +++ b/lib/feedparser/tests/entities/otilde.xml @@ -0,0 +1,9 @@ + + + +testing õ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/otimes.xml b/lib/feedparser/tests/entities/otimes.xml new file mode 100644 index 00000000..4f89df3a --- /dev/null +++ b/lib/feedparser/tests/entities/otimes.xml @@ -0,0 +1,9 @@ + + + +testing ⊗ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ouml.xml b/lib/feedparser/tests/entities/ouml.xml new file mode 100644 index 00000000..cc6f868d --- /dev/null +++ b/lib/feedparser/tests/entities/ouml.xml @@ -0,0 +1,9 @@ + + + +testing ö entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/para.xml b/lib/feedparser/tests/entities/para.xml new file mode 100644 index 00000000..6d86c990 --- /dev/null +++ b/lib/feedparser/tests/entities/para.xml @@ -0,0 +1,9 @@ + + + +testing ¶ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/part.xml b/lib/feedparser/tests/entities/part.xml new file mode 100644 index 00000000..a60559cf --- /dev/null +++ b/lib/feedparser/tests/entities/part.xml @@ -0,0 +1,9 @@ + + + +testing ∂ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/permil.xml b/lib/feedparser/tests/entities/permil.xml new file mode 100644 index 00000000..9d142215 --- /dev/null +++ b/lib/feedparser/tests/entities/permil.xml @@ -0,0 +1,9 @@ + + + +testing ‰ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/perp.xml b/lib/feedparser/tests/entities/perp.xml new file mode 100644 index 00000000..a2a28141 --- /dev/null +++ b/lib/feedparser/tests/entities/perp.xml @@ -0,0 +1,9 @@ + + + +testing ⊥ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/phi.xml b/lib/feedparser/tests/entities/phi.xml new file mode 100644 index 00000000..815a262d --- /dev/null +++ b/lib/feedparser/tests/entities/phi.xml @@ -0,0 +1,9 @@ + + + +testing φ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/pi.xml b/lib/feedparser/tests/entities/pi.xml new file mode 100644 index 00000000..c20d3ed2 --- /dev/null +++ b/lib/feedparser/tests/entities/pi.xml @@ -0,0 +1,9 @@ + + + +testing π entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/piv.xml b/lib/feedparser/tests/entities/piv.xml new file mode 100644 index 00000000..31560b54 --- /dev/null +++ b/lib/feedparser/tests/entities/piv.xml @@ -0,0 +1,9 @@ + + + +testing ϖ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/plusmn.xml b/lib/feedparser/tests/entities/plusmn.xml new file mode 100644 index 00000000..77f181ae --- /dev/null +++ b/lib/feedparser/tests/entities/plusmn.xml @@ -0,0 +1,9 @@ + + + +testing ± entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/pound.xml b/lib/feedparser/tests/entities/pound.xml new file mode 100644 index 00000000..8f58936f --- /dev/null +++ b/lib/feedparser/tests/entities/pound.xml @@ -0,0 +1,9 @@ + + + +testing £ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/prime.xml b/lib/feedparser/tests/entities/prime.xml new file mode 100644 index 00000000..56f95ee3 --- /dev/null +++ b/lib/feedparser/tests/entities/prime.xml @@ -0,0 +1,9 @@ + + + +testing ′ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/prod.xml b/lib/feedparser/tests/entities/prod.xml new file mode 100644 index 00000000..540e9350 --- /dev/null +++ b/lib/feedparser/tests/entities/prod.xml @@ -0,0 +1,9 @@ + + + +testing ∏ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/prop.xml b/lib/feedparser/tests/entities/prop.xml new file mode 100644 index 00000000..3996b342 --- /dev/null +++ b/lib/feedparser/tests/entities/prop.xml @@ -0,0 +1,9 @@ + + + +testing ∝ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/psi.xml b/lib/feedparser/tests/entities/psi.xml new file mode 100644 index 00000000..104d5851 --- /dev/null +++ b/lib/feedparser/tests/entities/psi.xml @@ -0,0 +1,9 @@ + + + +testing ψ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/query_variable_entry.xml b/lib/feedparser/tests/entities/query_variable_entry.xml new file mode 100644 index 00000000..565c3d90 --- /dev/null +++ b/lib/feedparser/tests/entities/query_variable_entry.xml @@ -0,0 +1,11 @@ + + + + +http://example/?a=1&b=2&c + + + + + +http://example/?a=1&b=2&c + + + + +testing √ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/rang.xml b/lib/feedparser/tests/entities/rang.xml new file mode 100644 index 00000000..19be1043 --- /dev/null +++ b/lib/feedparser/tests/entities/rang.xml @@ -0,0 +1,9 @@ + + + +testing ⟩ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/raquo.xml b/lib/feedparser/tests/entities/raquo.xml new file mode 100644 index 00000000..60dec82d --- /dev/null +++ b/lib/feedparser/tests/entities/raquo.xml @@ -0,0 +1,9 @@ + + + +testing » entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/rarr.xml b/lib/feedparser/tests/entities/rarr.xml new file mode 100644 index 00000000..95c8403b --- /dev/null +++ b/lib/feedparser/tests/entities/rarr.xml @@ -0,0 +1,9 @@ + + + +testing ⇒ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/rceil.xml b/lib/feedparser/tests/entities/rceil.xml new file mode 100644 index 00000000..6059028b --- /dev/null +++ b/lib/feedparser/tests/entities/rceil.xml @@ -0,0 +1,9 @@ + + + +testing ⌉ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/rdquo.xml b/lib/feedparser/tests/entities/rdquo.xml new file mode 100644 index 00000000..05c2b2dd --- /dev/null +++ b/lib/feedparser/tests/entities/rdquo.xml @@ -0,0 +1,9 @@ + + + +testing ” entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/real.xml b/lib/feedparser/tests/entities/real.xml new file mode 100644 index 00000000..da61fb9b --- /dev/null +++ b/lib/feedparser/tests/entities/real.xml @@ -0,0 +1,9 @@ + + + +testing ℜ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/reg.xml b/lib/feedparser/tests/entities/reg.xml new file mode 100644 index 00000000..5c4ab1d8 --- /dev/null +++ b/lib/feedparser/tests/entities/reg.xml @@ -0,0 +1,9 @@ + + + +testing ® entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/rfloor.xml b/lib/feedparser/tests/entities/rfloor.xml new file mode 100644 index 00000000..2cbfe724 --- /dev/null +++ b/lib/feedparser/tests/entities/rfloor.xml @@ -0,0 +1,9 @@ + + + +testing ⌋ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/rho.xml b/lib/feedparser/tests/entities/rho.xml new file mode 100644 index 00000000..9593cf3d --- /dev/null +++ b/lib/feedparser/tests/entities/rho.xml @@ -0,0 +1,9 @@ + + + +testing ρ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/rlm.xml b/lib/feedparser/tests/entities/rlm.xml new file mode 100644 index 00000000..39607338 --- /dev/null +++ b/lib/feedparser/tests/entities/rlm.xml @@ -0,0 +1,9 @@ + + + +testing ‏ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/rsaquo.xml b/lib/feedparser/tests/entities/rsaquo.xml new file mode 100644 index 00000000..da3fe764 --- /dev/null +++ b/lib/feedparser/tests/entities/rsaquo.xml @@ -0,0 +1,9 @@ + + + +testing › entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/rsquo.xml b/lib/feedparser/tests/entities/rsquo.xml new file mode 100644 index 00000000..a24bc0b3 --- /dev/null +++ b/lib/feedparser/tests/entities/rsquo.xml @@ -0,0 +1,9 @@ + + + +testing ’ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/sbquo.xml b/lib/feedparser/tests/entities/sbquo.xml new file mode 100644 index 00000000..65d011c9 --- /dev/null +++ b/lib/feedparser/tests/entities/sbquo.xml @@ -0,0 +1,9 @@ + + + +testing ‚ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/scaron.xml b/lib/feedparser/tests/entities/scaron.xml new file mode 100644 index 00000000..5b0a075e --- /dev/null +++ b/lib/feedparser/tests/entities/scaron.xml @@ -0,0 +1,9 @@ + + + +testing š entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/sdot.xml b/lib/feedparser/tests/entities/sdot.xml new file mode 100644 index 00000000..580263b5 --- /dev/null +++ b/lib/feedparser/tests/entities/sdot.xml @@ -0,0 +1,9 @@ + + + +testing ⋅ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/sect.xml b/lib/feedparser/tests/entities/sect.xml new file mode 100644 index 00000000..90d72799 --- /dev/null +++ b/lib/feedparser/tests/entities/sect.xml @@ -0,0 +1,9 @@ + + + +testing § entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/shy.xml b/lib/feedparser/tests/entities/shy.xml new file mode 100644 index 00000000..e0257093 --- /dev/null +++ b/lib/feedparser/tests/entities/shy.xml @@ -0,0 +1,9 @@ + + + +testing ­ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/sigma.xml b/lib/feedparser/tests/entities/sigma.xml new file mode 100644 index 00000000..3d080ba1 --- /dev/null +++ b/lib/feedparser/tests/entities/sigma.xml @@ -0,0 +1,9 @@ + + + +testing σ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/sigmaf.xml b/lib/feedparser/tests/entities/sigmaf.xml new file mode 100644 index 00000000..3dbf8a01 --- /dev/null +++ b/lib/feedparser/tests/entities/sigmaf.xml @@ -0,0 +1,9 @@ + + + +testing ς entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/sim.xml b/lib/feedparser/tests/entities/sim.xml new file mode 100644 index 00000000..7b1eadd6 --- /dev/null +++ b/lib/feedparser/tests/entities/sim.xml @@ -0,0 +1,9 @@ + + + +testing ∼ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/spades.xml b/lib/feedparser/tests/entities/spades.xml new file mode 100644 index 00000000..806acfe0 --- /dev/null +++ b/lib/feedparser/tests/entities/spades.xml @@ -0,0 +1,9 @@ + + + +testing ♠ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/sub.xml b/lib/feedparser/tests/entities/sub.xml new file mode 100644 index 00000000..e52b46ea --- /dev/null +++ b/lib/feedparser/tests/entities/sub.xml @@ -0,0 +1,9 @@ + + + +testing ⊂ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/sube.xml b/lib/feedparser/tests/entities/sube.xml new file mode 100644 index 00000000..163e2e6b --- /dev/null +++ b/lib/feedparser/tests/entities/sube.xml @@ -0,0 +1,9 @@ + + + +testing ⊆ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/sum.xml b/lib/feedparser/tests/entities/sum.xml new file mode 100644 index 00000000..415dcc31 --- /dev/null +++ b/lib/feedparser/tests/entities/sum.xml @@ -0,0 +1,9 @@ + + + +testing ∑ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/sup.xml b/lib/feedparser/tests/entities/sup.xml new file mode 100644 index 00000000..19d6c56e --- /dev/null +++ b/lib/feedparser/tests/entities/sup.xml @@ -0,0 +1,9 @@ + + + +testing ⊃ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/sup1.xml b/lib/feedparser/tests/entities/sup1.xml new file mode 100644 index 00000000..37b4adb8 --- /dev/null +++ b/lib/feedparser/tests/entities/sup1.xml @@ -0,0 +1,9 @@ + + + +testing ¹ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/sup2.xml b/lib/feedparser/tests/entities/sup2.xml new file mode 100644 index 00000000..e4793553 --- /dev/null +++ b/lib/feedparser/tests/entities/sup2.xml @@ -0,0 +1,9 @@ + + + +testing ² entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/sup3.xml b/lib/feedparser/tests/entities/sup3.xml new file mode 100644 index 00000000..dd47f583 --- /dev/null +++ b/lib/feedparser/tests/entities/sup3.xml @@ -0,0 +1,9 @@ + + + +testing ³ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/supe.xml b/lib/feedparser/tests/entities/supe.xml new file mode 100644 index 00000000..4091ca78 --- /dev/null +++ b/lib/feedparser/tests/entities/supe.xml @@ -0,0 +1,9 @@ + + + +testing ⊇ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/szlig.xml b/lib/feedparser/tests/entities/szlig.xml new file mode 100644 index 00000000..b7698fde --- /dev/null +++ b/lib/feedparser/tests/entities/szlig.xml @@ -0,0 +1,9 @@ + + + +testing ß entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/tau.xml b/lib/feedparser/tests/entities/tau.xml new file mode 100644 index 00000000..9a367ddd --- /dev/null +++ b/lib/feedparser/tests/entities/tau.xml @@ -0,0 +1,9 @@ + + + +testing τ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/there4.xml b/lib/feedparser/tests/entities/there4.xml new file mode 100644 index 00000000..14b9c375 --- /dev/null +++ b/lib/feedparser/tests/entities/there4.xml @@ -0,0 +1,9 @@ + + + +testing ∴ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/theta.xml b/lib/feedparser/tests/entities/theta.xml new file mode 100644 index 00000000..eb85cdf2 --- /dev/null +++ b/lib/feedparser/tests/entities/theta.xml @@ -0,0 +1,9 @@ + + + +testing θ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/thetasym.xml b/lib/feedparser/tests/entities/thetasym.xml new file mode 100644 index 00000000..8244ba1a --- /dev/null +++ b/lib/feedparser/tests/entities/thetasym.xml @@ -0,0 +1,9 @@ + + + +testing ϑ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/thinsp.xml b/lib/feedparser/tests/entities/thinsp.xml new file mode 100644 index 00000000..580abadb --- /dev/null +++ b/lib/feedparser/tests/entities/thinsp.xml @@ -0,0 +1,9 @@ + + + +testing   entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/thorn.xml b/lib/feedparser/tests/entities/thorn.xml new file mode 100644 index 00000000..a8694f08 --- /dev/null +++ b/lib/feedparser/tests/entities/thorn.xml @@ -0,0 +1,9 @@ + + + +testing þ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/tilde.xml b/lib/feedparser/tests/entities/tilde.xml new file mode 100644 index 00000000..a12b983c --- /dev/null +++ b/lib/feedparser/tests/entities/tilde.xml @@ -0,0 +1,9 @@ + + + +testing ˜ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/times.xml b/lib/feedparser/tests/entities/times.xml new file mode 100644 index 00000000..6c40e69e --- /dev/null +++ b/lib/feedparser/tests/entities/times.xml @@ -0,0 +1,9 @@ + + + +testing × entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/trade.xml b/lib/feedparser/tests/entities/trade.xml new file mode 100644 index 00000000..e93bd482 --- /dev/null +++ b/lib/feedparser/tests/entities/trade.xml @@ -0,0 +1,9 @@ + + + +testing ™ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/uacute.xml b/lib/feedparser/tests/entities/uacute.xml new file mode 100644 index 00000000..4d9cff3b --- /dev/null +++ b/lib/feedparser/tests/entities/uacute.xml @@ -0,0 +1,9 @@ + + + +testing ú entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/uarr.xml b/lib/feedparser/tests/entities/uarr.xml new file mode 100644 index 00000000..ca3ae5d2 --- /dev/null +++ b/lib/feedparser/tests/entities/uarr.xml @@ -0,0 +1,9 @@ + + + +testing ⇑ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ucirc.xml b/lib/feedparser/tests/entities/ucirc.xml new file mode 100644 index 00000000..5da01a03 --- /dev/null +++ b/lib/feedparser/tests/entities/ucirc.xml @@ -0,0 +1,9 @@ + + + +testing û entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/ugrave.xml b/lib/feedparser/tests/entities/ugrave.xml new file mode 100644 index 00000000..e949fa11 --- /dev/null +++ b/lib/feedparser/tests/entities/ugrave.xml @@ -0,0 +1,9 @@ + + + +testing ù entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/uml.xml b/lib/feedparser/tests/entities/uml.xml new file mode 100644 index 00000000..5245577f --- /dev/null +++ b/lib/feedparser/tests/entities/uml.xml @@ -0,0 +1,9 @@ + + + +testing ¨ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_AElig.xml b/lib/feedparser/tests/entities/upper_AElig.xml new file mode 100644 index 00000000..d1884074 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_AElig.xml @@ -0,0 +1,9 @@ + + + +testing Æ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Aacute.xml b/lib/feedparser/tests/entities/upper_Aacute.xml new file mode 100644 index 00000000..d33622b9 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Aacute.xml @@ -0,0 +1,9 @@ + + + +testing Á entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Acirc.xml b/lib/feedparser/tests/entities/upper_Acirc.xml new file mode 100644 index 00000000..be9093cf --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Acirc.xml @@ -0,0 +1,9 @@ + + + +testing  entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Agrave.xml b/lib/feedparser/tests/entities/upper_Agrave.xml new file mode 100644 index 00000000..5635d5b0 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Agrave.xml @@ -0,0 +1,9 @@ + + + +testing À entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Alpha.xml b/lib/feedparser/tests/entities/upper_Alpha.xml new file mode 100644 index 00000000..d78bd94e --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Alpha.xml @@ -0,0 +1,9 @@ + + + +testing Α entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Aring.xml b/lib/feedparser/tests/entities/upper_Aring.xml new file mode 100644 index 00000000..ce140cba --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Aring.xml @@ -0,0 +1,9 @@ + + + +testing Å entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Atilde.xml b/lib/feedparser/tests/entities/upper_Atilde.xml new file mode 100644 index 00000000..cf4bc6fa --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Atilde.xml @@ -0,0 +1,9 @@ + + + +testing à entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Auml.xml b/lib/feedparser/tests/entities/upper_Auml.xml new file mode 100644 index 00000000..7e85269a --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Auml.xml @@ -0,0 +1,9 @@ + + + +testing Ä entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Beta.xml b/lib/feedparser/tests/entities/upper_Beta.xml new file mode 100644 index 00000000..871a11b6 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Beta.xml @@ -0,0 +1,9 @@ + + + +testing Β entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Ccedil.xml b/lib/feedparser/tests/entities/upper_Ccedil.xml new file mode 100644 index 00000000..38a830b8 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Ccedil.xml @@ -0,0 +1,9 @@ + + + +testing Ç entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Chi.xml b/lib/feedparser/tests/entities/upper_Chi.xml new file mode 100644 index 00000000..ea02cd63 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Chi.xml @@ -0,0 +1,9 @@ + + + +testing Χ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Dagger.xml b/lib/feedparser/tests/entities/upper_Dagger.xml new file mode 100644 index 00000000..2a6c75aa --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Dagger.xml @@ -0,0 +1,9 @@ + + + +testing ‡ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Delta.xml b/lib/feedparser/tests/entities/upper_Delta.xml new file mode 100644 index 00000000..71d3cdd4 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Delta.xml @@ -0,0 +1,9 @@ + + + +testing Δ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_ETH.xml b/lib/feedparser/tests/entities/upper_ETH.xml new file mode 100644 index 00000000..32d86063 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_ETH.xml @@ -0,0 +1,9 @@ + + + +testing Ð entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Eacute.xml b/lib/feedparser/tests/entities/upper_Eacute.xml new file mode 100644 index 00000000..9ced3e1f --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Eacute.xml @@ -0,0 +1,9 @@ + + + +testing É entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Ecirc.xml b/lib/feedparser/tests/entities/upper_Ecirc.xml new file mode 100644 index 00000000..2e22adab --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Ecirc.xml @@ -0,0 +1,9 @@ + + + +testing Ê entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Egrave.xml b/lib/feedparser/tests/entities/upper_Egrave.xml new file mode 100644 index 00000000..11323db2 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Egrave.xml @@ -0,0 +1,9 @@ + + + +testing È entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Epsilon.xml b/lib/feedparser/tests/entities/upper_Epsilon.xml new file mode 100644 index 00000000..a4bfd651 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Epsilon.xml @@ -0,0 +1,9 @@ + + + +testing Ε entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Eta.xml b/lib/feedparser/tests/entities/upper_Eta.xml new file mode 100644 index 00000000..0ba2a892 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Eta.xml @@ -0,0 +1,9 @@ + + + +testing Η entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Euml.xml b/lib/feedparser/tests/entities/upper_Euml.xml new file mode 100644 index 00000000..9a7ea4a9 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Euml.xml @@ -0,0 +1,9 @@ + + + +testing Ë entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Gamma.xml b/lib/feedparser/tests/entities/upper_Gamma.xml new file mode 100644 index 00000000..d0d85bb5 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Gamma.xml @@ -0,0 +1,9 @@ + + + +testing Γ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Iacute.xml b/lib/feedparser/tests/entities/upper_Iacute.xml new file mode 100644 index 00000000..e7ebad95 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Iacute.xml @@ -0,0 +1,9 @@ + + + +testing Í entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Icirc.xml b/lib/feedparser/tests/entities/upper_Icirc.xml new file mode 100644 index 00000000..03d7e45b --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Icirc.xml @@ -0,0 +1,9 @@ + + + +testing Î entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Igrave.xml b/lib/feedparser/tests/entities/upper_Igrave.xml new file mode 100644 index 00000000..97a112b1 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Igrave.xml @@ -0,0 +1,9 @@ + + + +testing Ì entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Iota.xml b/lib/feedparser/tests/entities/upper_Iota.xml new file mode 100644 index 00000000..08153102 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Iota.xml @@ -0,0 +1,9 @@ + + + +testing Ι entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Iuml.xml b/lib/feedparser/tests/entities/upper_Iuml.xml new file mode 100644 index 00000000..6403c363 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Iuml.xml @@ -0,0 +1,9 @@ + + + +testing Ï entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Kappa.xml b/lib/feedparser/tests/entities/upper_Kappa.xml new file mode 100644 index 00000000..347d70da --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Kappa.xml @@ -0,0 +1,9 @@ + + + +testing Κ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Lambda.xml b/lib/feedparser/tests/entities/upper_Lambda.xml new file mode 100644 index 00000000..e67223cb --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Lambda.xml @@ -0,0 +1,9 @@ + + + +testing Λ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Mu.xml b/lib/feedparser/tests/entities/upper_Mu.xml new file mode 100644 index 00000000..bfa0379a --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Mu.xml @@ -0,0 +1,9 @@ + + + +testing Μ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Ntilde.xml b/lib/feedparser/tests/entities/upper_Ntilde.xml new file mode 100644 index 00000000..bfbd3bd4 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Ntilde.xml @@ -0,0 +1,9 @@ + + + +testing Ñ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Nu.xml b/lib/feedparser/tests/entities/upper_Nu.xml new file mode 100644 index 00000000..25779bf8 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Nu.xml @@ -0,0 +1,9 @@ + + + +testing Ν entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_OElig.xml b/lib/feedparser/tests/entities/upper_OElig.xml new file mode 100644 index 00000000..7d486344 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_OElig.xml @@ -0,0 +1,9 @@ + + + +testing Œ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Oacute.xml b/lib/feedparser/tests/entities/upper_Oacute.xml new file mode 100644 index 00000000..eb382258 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Oacute.xml @@ -0,0 +1,9 @@ + + + +testing Ó entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Ocirc.xml b/lib/feedparser/tests/entities/upper_Ocirc.xml new file mode 100644 index 00000000..54e18073 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Ocirc.xml @@ -0,0 +1,9 @@ + + + +testing Ô entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Ograve.xml b/lib/feedparser/tests/entities/upper_Ograve.xml new file mode 100644 index 00000000..89503273 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Ograve.xml @@ -0,0 +1,9 @@ + + + +testing Ò entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Omega.xml b/lib/feedparser/tests/entities/upper_Omega.xml new file mode 100644 index 00000000..429ce59c --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Omega.xml @@ -0,0 +1,9 @@ + + + +testing Ω entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Omicron.xml b/lib/feedparser/tests/entities/upper_Omicron.xml new file mode 100644 index 00000000..c74bec18 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Omicron.xml @@ -0,0 +1,9 @@ + + + +testing Ο entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Oslash.xml b/lib/feedparser/tests/entities/upper_Oslash.xml new file mode 100644 index 00000000..0f9e3533 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Oslash.xml @@ -0,0 +1,9 @@ + + + +testing Ø entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Otilde.xml b/lib/feedparser/tests/entities/upper_Otilde.xml new file mode 100644 index 00000000..d3400305 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Otilde.xml @@ -0,0 +1,9 @@ + + + +testing Õ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Ouml.xml b/lib/feedparser/tests/entities/upper_Ouml.xml new file mode 100644 index 00000000..e32d9644 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Ouml.xml @@ -0,0 +1,9 @@ + + + +testing Ö entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Phi.xml b/lib/feedparser/tests/entities/upper_Phi.xml new file mode 100644 index 00000000..8f93027d --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Phi.xml @@ -0,0 +1,9 @@ + + + +testing Φ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Pi.xml b/lib/feedparser/tests/entities/upper_Pi.xml new file mode 100644 index 00000000..2b8951f9 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Pi.xml @@ -0,0 +1,9 @@ + + + +testing Π entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Prime.xml b/lib/feedparser/tests/entities/upper_Prime.xml new file mode 100644 index 00000000..b29dc9ff --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Prime.xml @@ -0,0 +1,9 @@ + + + +testing ″ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Psi.xml b/lib/feedparser/tests/entities/upper_Psi.xml new file mode 100644 index 00000000..9d337bd4 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Psi.xml @@ -0,0 +1,9 @@ + + + +testing Ψ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Rho.xml b/lib/feedparser/tests/entities/upper_Rho.xml new file mode 100644 index 00000000..0e187973 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Rho.xml @@ -0,0 +1,9 @@ + + + +testing Ρ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Scaron.xml b/lib/feedparser/tests/entities/upper_Scaron.xml new file mode 100644 index 00000000..784c67e1 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Scaron.xml @@ -0,0 +1,9 @@ + + + +testing Š entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Sigma.xml b/lib/feedparser/tests/entities/upper_Sigma.xml new file mode 100644 index 00000000..a7228509 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Sigma.xml @@ -0,0 +1,9 @@ + + + +testing Σ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_THORN.xml b/lib/feedparser/tests/entities/upper_THORN.xml new file mode 100644 index 00000000..499d0b28 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_THORN.xml @@ -0,0 +1,9 @@ + + + +testing Þ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Tau.xml b/lib/feedparser/tests/entities/upper_Tau.xml new file mode 100644 index 00000000..3ff9f697 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Tau.xml @@ -0,0 +1,9 @@ + + + +testing Τ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Theta.xml b/lib/feedparser/tests/entities/upper_Theta.xml new file mode 100644 index 00000000..85c43231 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Theta.xml @@ -0,0 +1,9 @@ + + + +testing Θ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Uacute.xml b/lib/feedparser/tests/entities/upper_Uacute.xml new file mode 100644 index 00000000..e714b33c --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Uacute.xml @@ -0,0 +1,9 @@ + + + +testing Ú entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Ucirc.xml b/lib/feedparser/tests/entities/upper_Ucirc.xml new file mode 100644 index 00000000..2d6ddeb0 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Ucirc.xml @@ -0,0 +1,9 @@ + + + +testing Û entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Ugrave.xml b/lib/feedparser/tests/entities/upper_Ugrave.xml new file mode 100644 index 00000000..5d859b8e --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Ugrave.xml @@ -0,0 +1,9 @@ + + + +testing Ù entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Upsilon.xml b/lib/feedparser/tests/entities/upper_Upsilon.xml new file mode 100644 index 00000000..3a8ba537 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Upsilon.xml @@ -0,0 +1,9 @@ + + + +testing Υ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Uuml.xml b/lib/feedparser/tests/entities/upper_Uuml.xml new file mode 100644 index 00000000..0d0c4b2a --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Uuml.xml @@ -0,0 +1,9 @@ + + + +testing Ü entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Xi.xml b/lib/feedparser/tests/entities/upper_Xi.xml new file mode 100644 index 00000000..6d0411d3 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Xi.xml @@ -0,0 +1,9 @@ + + + +testing Ξ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Yacute.xml b/lib/feedparser/tests/entities/upper_Yacute.xml new file mode 100644 index 00000000..96157bfb --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Yacute.xml @@ -0,0 +1,9 @@ + + + +testing Ý entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Yuml.xml b/lib/feedparser/tests/entities/upper_Yuml.xml new file mode 100644 index 00000000..ee49cf3a --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Yuml.xml @@ -0,0 +1,9 @@ + + + +testing Ÿ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upper_Zeta.xml b/lib/feedparser/tests/entities/upper_Zeta.xml new file mode 100644 index 00000000..4bcf3927 --- /dev/null +++ b/lib/feedparser/tests/entities/upper_Zeta.xml @@ -0,0 +1,9 @@ + + + +testing Ζ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upsih.xml b/lib/feedparser/tests/entities/upsih.xml new file mode 100644 index 00000000..9248acdc --- /dev/null +++ b/lib/feedparser/tests/entities/upsih.xml @@ -0,0 +1,9 @@ + + + +testing ϒ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/upsilon.xml b/lib/feedparser/tests/entities/upsilon.xml new file mode 100644 index 00000000..1f916c5d --- /dev/null +++ b/lib/feedparser/tests/entities/upsilon.xml @@ -0,0 +1,9 @@ + + + +testing υ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/uuml.xml b/lib/feedparser/tests/entities/uuml.xml new file mode 100644 index 00000000..4c147b2a --- /dev/null +++ b/lib/feedparser/tests/entities/uuml.xml @@ -0,0 +1,9 @@ + + + +testing ü entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/weierp.xml b/lib/feedparser/tests/entities/weierp.xml new file mode 100644 index 00000000..63bd70c3 --- /dev/null +++ b/lib/feedparser/tests/entities/weierp.xml @@ -0,0 +1,9 @@ + + + +testing ℘ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/xi.xml b/lib/feedparser/tests/entities/xi.xml new file mode 100644 index 00000000..d9b280b9 --- /dev/null +++ b/lib/feedparser/tests/entities/xi.xml @@ -0,0 +1,9 @@ + + + +testing ξ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/yacute.xml b/lib/feedparser/tests/entities/yacute.xml new file mode 100644 index 00000000..c8b33150 --- /dev/null +++ b/lib/feedparser/tests/entities/yacute.xml @@ -0,0 +1,9 @@ + + + +testing ý entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/yen.xml b/lib/feedparser/tests/entities/yen.xml new file mode 100644 index 00000000..af9f596c --- /dev/null +++ b/lib/feedparser/tests/entities/yen.xml @@ -0,0 +1,9 @@ + + + +testing ¥ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/yuml.xml b/lib/feedparser/tests/entities/yuml.xml new file mode 100644 index 00000000..253b60bc --- /dev/null +++ b/lib/feedparser/tests/entities/yuml.xml @@ -0,0 +1,9 @@ + + + +testing ÿ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/zeta.xml b/lib/feedparser/tests/entities/zeta.xml new file mode 100644 index 00000000..af665ecd --- /dev/null +++ b/lib/feedparser/tests/entities/zeta.xml @@ -0,0 +1,9 @@ + + + +testing ζ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/zwj.xml b/lib/feedparser/tests/entities/zwj.xml new file mode 100644 index 00000000..88124606 --- /dev/null +++ b/lib/feedparser/tests/entities/zwj.xml @@ -0,0 +1,9 @@ + + + +testing ‍ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/entities/zwnj.xml b/lib/feedparser/tests/entities/zwnj.xml new file mode 100644 index 00000000..3bcd5d4a --- /dev/null +++ b/lib/feedparser/tests/entities/zwnj.xml @@ -0,0 +1,9 @@ + + + +testing ‌ entity + + \ No newline at end of file diff --git a/lib/feedparser/tests/http/http_redirect_to_304.xml b/lib/feedparser/tests/http/http_redirect_to_304.xml new file mode 100644 index 00000000..a14cb0d3 --- /dev/null +++ b/lib/feedparser/tests/http/http_redirect_to_304.xml @@ -0,0 +1,7 @@ + + diff --git a/lib/feedparser/tests/http/http_status_301.xml b/lib/feedparser/tests/http/http_status_301.xml new file mode 100644 index 00000000..12d159ab --- /dev/null +++ b/lib/feedparser/tests/http/http_status_301.xml @@ -0,0 +1,7 @@ + + diff --git a/lib/feedparser/tests/http/http_status_302.xml b/lib/feedparser/tests/http/http_status_302.xml new file mode 100644 index 00000000..4b15d437 --- /dev/null +++ b/lib/feedparser/tests/http/http_status_302.xml @@ -0,0 +1,7 @@ + + diff --git a/lib/feedparser/tests/http/http_status_303.xml b/lib/feedparser/tests/http/http_status_303.xml new file mode 100644 index 00000000..2dd5d2f7 --- /dev/null +++ b/lib/feedparser/tests/http/http_status_303.xml @@ -0,0 +1,7 @@ + + diff --git a/lib/feedparser/tests/http/http_status_304.xml b/lib/feedparser/tests/http/http_status_304.xml new file mode 100644 index 00000000..a2eb6953 --- /dev/null +++ b/lib/feedparser/tests/http/http_status_304.xml @@ -0,0 +1,9 @@ + + + title 304 + diff --git a/lib/feedparser/tests/http/http_status_307.xml b/lib/feedparser/tests/http/http_status_307.xml new file mode 100644 index 00000000..90074172 --- /dev/null +++ b/lib/feedparser/tests/http/http_status_307.xml @@ -0,0 +1,7 @@ + + diff --git a/lib/feedparser/tests/http/http_status_404.xml b/lib/feedparser/tests/http/http_status_404.xml new file mode 100644 index 00000000..02e08089 --- /dev/null +++ b/lib/feedparser/tests/http/http_status_404.xml @@ -0,0 +1,6 @@ + + diff --git a/lib/feedparser/tests/http/http_status_9001.xml b/lib/feedparser/tests/http/http_status_9001.xml new file mode 100644 index 00000000..b90dce3b --- /dev/null +++ b/lib/feedparser/tests/http/http_status_9001.xml @@ -0,0 +1,6 @@ + + diff --git a/lib/feedparser/tests/http/target.xml b/lib/feedparser/tests/http/target.xml new file mode 100644 index 00000000..a81736b1 --- /dev/null +++ b/lib/feedparser/tests/http/target.xml @@ -0,0 +1,7 @@ + + + target + diff --git a/lib/feedparser/tests/illformed/aaa_illformed.xml b/lib/feedparser/tests/illformed/aaa_illformed.xml new file mode 100644 index 00000000..044edc24 --- /dev/null +++ b/lib/feedparser/tests/illformed/aaa_illformed.xml @@ -0,0 +1,6 @@ + + + + + + + found + + diff --git a/lib/feedparser/tests/illformed/chardet/big5.xml b/lib/feedparser/tests/illformed/chardet/big5.xml new file mode 100644 index 00000000..91c9ec0f --- /dev/null +++ b/lib/feedparser/tests/illformed/chardet/big5.xml @@ -0,0 +1,8 @@ + + +m11몺n + \ No newline at end of file diff --git a/lib/feedparser/tests/illformed/chardet/eucjp.xml b/lib/feedparser/tests/illformed/chardet/eucjp.xml new file mode 100644 index 00000000..ba288a5e --- /dev/null +++ b/lib/feedparser/tests/illformed/chardet/eucjp.xml @@ -0,0 +1,13 @@ + + + + + +SDGͥ졼NEO٤򤺤äȥץ쥤Ƥ롣 إȥޥ٤ϥȥ꡼⡼ɤ򽪤ơۤܤԤƤޤä GNEOϡä򤯤ʤĤĤ롣 ʤۤɡPS2äƤǽϤʤȺưƤ롣 ǯ٤ʤ褦PS3XBOX360㤪ʤʳϥˤʤۤ˻͡ˡ ˤƤ⡢äƿ٤ƤФäǥޥ͡... + + + \ No newline at end of file diff --git a/lib/feedparser/tests/illformed/chardet/euckr.xml b/lib/feedparser/tests/illformed/chardet/euckr.xml new file mode 100644 index 00000000..767f3a59 --- /dev/null +++ b/lib/feedparser/tests/illformed/chardet/euckr.xml @@ -0,0 +1,13 @@ + + + + +EUC-KR TypeKey ѱ۴г ǥϱ +TypeKey ý UTF-8 ưµ, ű⼭ ѱ۷ г 쿡, EUC-KR Ÿ Ͽ ̷ƮǾ ۵Ǿ г UTF 翬 Ÿ.  ϴ ʸ г ѱ۷ ϴ е鵵 ŸŰ г ̷ ڸԱ ִ.... + + + \ No newline at end of file diff --git a/lib/feedparser/tests/illformed/chardet/gb2312.xml b/lib/feedparser/tests/illformed/chardet/gb2312.xml new file mode 100644 index 00000000..b28c1014 --- /dev/null +++ b/lib/feedparser/tests/illformed/chardet/gb2312.xml @@ -0,0 +1,12 @@ + + + + +ϵУרҵ + + + diff --git a/lib/feedparser/tests/illformed/chardet/koi8r.xml b/lib/feedparser/tests/illformed/chardet/koi8r.xml new file mode 100644 index 00000000..8cdea546 --- /dev/null +++ b/lib/feedparser/tests/illformed/chardet/koi8r.xml @@ -0,0 +1,14 @@ + + + + + + +, , , , . ! , - ! . -... " " " " , . , "" . + + + \ No newline at end of file diff --git a/lib/feedparser/tests/illformed/chardet/shiftjis.xml b/lib/feedparser/tests/illformed/chardet/shiftjis.xml new file mode 100644 index 00000000..28285d96 --- /dev/null +++ b/lib/feedparser/tests/illformed/chardet/shiftjis.xml @@ -0,0 +1,11 @@ + + + + DrecomRSSɋLefȂc + FXׂĂAMT3.2RSS1.0T|[gĂȂƂB Ƃ... + + \ No newline at end of file diff --git a/lib/feedparser/tests/illformed/chardet/tis620.xml b/lib/feedparser/tests/illformed/chardet/tis620.xml new file mode 100644 index 00000000..5dd10905 --- /dev/null +++ b/lib/feedparser/tests/illformed/chardet/tis620.xml @@ -0,0 +1,12 @@ + + + + +ӹѡҹصˡͿ觪ҵ SIPA Ѻ MamboHub.com ¹ԭءҹʹ Template ûСǴ &#8220;Mambo Template Contest&#8221; Mambo 4.5.X Ѻԧ䫵 thaiopensource.org 䫵ٹŢâͧͿ Open Source ͧ ö觼ŧҹһСǴ 㹹ͧѷ ؤ / 駹Դ͡ ʹѺʹع Mambo ͧǹ㹡͡ẺоѲ䫵 thaiopensource.org ͹Ҥ + + + diff --git a/lib/feedparser/tests/illformed/chardet/windows1255.xml b/lib/feedparser/tests/illformed/chardet/windows1255.xml new file mode 100644 index 00000000..0ab773f5 --- /dev/null +++ b/lib/feedparser/tests/illformed/chardet/windows1255.xml @@ -0,0 +1,14 @@ + + + + + + ? , . , . . + + + + diff --git a/lib/feedparser/tests/illformed/http_high_bit_date.xml b/lib/feedparser/tests/illformed/http_high_bit_date.xml new file mode 100644 index 00000000..480d3ae0 --- /dev/null +++ b/lib/feedparser/tests/illformed/http_high_bit_date.xml @@ -0,0 +1,12 @@ + + + + + , 29 2004 12:53:00 GMT + + \ No newline at end of file diff --git a/lib/feedparser/tests/illformed/non-ascii-tag.xml b/lib/feedparser/tests/illformed/non-ascii-tag.xml new file mode 100644 index 00000000..e07883ec --- /dev/null +++ b/lib/feedparser/tests/illformed/non-ascii-tag.xml @@ -0,0 +1,12 @@ + + + + + Some text + + + diff --git a/lib/feedparser/tests/illformed/rdf_channel_empty_textinput.xml b/lib/feedparser/tests/illformed/rdf_channel_empty_textinput.xml new file mode 100644 index 00000000..7c09096d --- /dev/null +++ b/lib/feedparser/tests/illformed/rdf_channel_empty_textinput.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + crashes here + + + + + + diff --git a/lib/feedparser/tests/illformed/rss_incomplete_cdata.xml b/lib/feedparser/tests/illformed/rss_incomplete_cdata.xml new file mode 100644 index 00000000..8fe311b9 --- /dev/null +++ b/lib/feedparser/tests/illformed/rss_incomplete_cdata.xml @@ -0,0 +1,13 @@ + + + + +can feedparser read this xml +http://adcdefgh.com +feedparser goes into infinite loop while parsing this file +en-us +2005-10-28 +<![CD diff --git a/lib/feedparser/tests/illformed/undeclared_namespace.xml b/lib/feedparser/tests/illformed/undeclared_namespace.xml new file mode 100644 index 00000000..cffe6f48 --- /dev/null +++ b/lib/feedparser/tests/illformed/undeclared_namespace.xml @@ -0,0 +1,10 @@ +<!-- +SkipUnless: __import__('sys').version.split()[0] >= '2.2.0' +Description: undeclared namespace +Expect: bozo +--> +<rss version="2.0"> +<channel> +<itunes:subtitle>Foo</itunes:subtitle> +</channel> +</rss> diff --git a/lib/feedparser/tests/microformats/hcard/2-4-2-vcard.xml b/lib/feedparser/tests/microformats/hcard/2-4-2-vcard.xml new file mode 100644 index 00000000..0e77f778 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/2-4-2-vcard.xml @@ -0,0 +1,23 @@ +<!-- +SkipUnless: feedparser.BeautifulSoup +Description: 2.4.2 VCARD +Expect: not bozo and entries[0].vcard == u'BEGIN:vCard\nVERSION:3.0\nAGENT:BEGIN:vCard\\nVERSION:3.0\\nFN:Joe Friday\\nN:Friday\\;Joe\\nTEL\\;TYPE=voi\n ce:+1-919-555-7878\\nEMAIL\\;TYPE=internet:jfriday@host.com\\nTITLE:Area Admi\n nistrator\\, Assistant\\nEND:vCard\\n\nEND:vCard' +--> +<feed xmlns="http://www.w3.org/2005/Atom"> +<title>2.4.2 VCARD + + + +
+
+
+ +
+1-919-555-7878
+
Area Administrator, Assistant
+
+
+

next

+
+
+
+ \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-1-1-fn-unicode-char.xml b/lib/feedparser/tests/microformats/hcard/3-1-1-fn-unicode-char.xml new file mode 100644 index 00000000..ffbd2853 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-1-1-fn-unicode-char.xml @@ -0,0 +1,14 @@ + + + + + + Tantek Çelik]]> + + + + diff --git a/lib/feedparser/tests/microformats/hcard/3-1-1-fn.xml b/lib/feedparser/tests/microformats/hcard/3-1-1-fn.xml new file mode 100644 index 00000000..ded9a64b --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-1-1-fn.xml @@ -0,0 +1,17 @@ + + +3.1.1 FN + + +
+
+Mr. John Q. Public, Esq. +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-1-2-n-2-plural.xml b/lib/feedparser/tests/microformats/hcard/3-1-2-n-2-plural.xml new file mode 100644 index 00000000..4ddbbcb5 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-1-2-n-2-plural.xml @@ -0,0 +1,26 @@ + + +3.1.2 N (example 2) + + +
+
+ + Dr. + John + Philip + Paul + Stevenson, + Jr., + M.D., + A.C.P. + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-1-2-n-2-singular.xml b/lib/feedparser/tests/microformats/hcard/3-1-2-n-2-singular.xml new file mode 100644 index 00000000..07c7ebd0 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-1-2-n-2-singular.xml @@ -0,0 +1,30 @@ + + +3.1.2 N (example 2) + + +
+
+ + Dr. + John +
    +
  • Philip
  • +
  • Paul
  • +
+ Stevenson, +
    +
  • Jr.
  • +
  • M.D.
  • +
  • A.C.P.
  • +
+
+
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-1-2-n-plural.xml b/lib/feedparser/tests/microformats/hcard/3-1-2-n-plural.xml new file mode 100644 index 00000000..69efcb18 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-1-2-n-plural.xml @@ -0,0 +1,23 @@ + + +3.1.2 N + + +
+
+ + Mr. + John + Quinlan + Public, + Esq. + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-1-2-n-singular.xml b/lib/feedparser/tests/microformats/hcard/3-1-2-n-singular.xml new file mode 100644 index 00000000..5c4087d2 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-1-2-n-singular.xml @@ -0,0 +1,23 @@ + + +3.1.2 N + + +
+
+ + Mr. + John + Quinlan + Public, + Esq. + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-1-3-nickname-2-plural.xml b/lib/feedparser/tests/microformats/hcard/3-1-3-nickname-2-plural.xml new file mode 100644 index 00000000..d2423183 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-1-3-nickname-2-plural.xml @@ -0,0 +1,17 @@ + + +3.1.3 NICKNAME (example 2, plural) + + +
+
+
  • Jim
  • Jimmie
+
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-1-3-nickname-2-singular.xml b/lib/feedparser/tests/microformats/hcard/3-1-3-nickname-2-singular.xml new file mode 100644 index 00000000..13cb9890 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-1-3-nickname-2-singular.xml @@ -0,0 +1,18 @@ + + +3.1.3 NICKNAME (example 2, singular) + + +
+
+Jim, +Jimmie +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-1-3-nickname.xml b/lib/feedparser/tests/microformats/hcard/3-1-3-nickname.xml new file mode 100644 index 00000000..84b7f1b6 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-1-3-nickname.xml @@ -0,0 +1,17 @@ + + +3.1.3 NICKNAME + + +
+
+Robbie +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-1-4-photo-inline.xml b/lib/feedparser/tests/microformats/hcard/3-1-4-photo-inline.xml new file mode 100644 index 00000000..25e62beb --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-1-4-photo-inline.xml @@ -0,0 +1,17 @@ + + +3.1.4 PHOTO inline + + +
+
+ +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-1-4-photo.xml b/lib/feedparser/tests/microformats/hcard/3-1-4-photo.xml new file mode 100644 index 00000000..310284f1 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-1-4-photo.xml @@ -0,0 +1,17 @@ + + +3.1.4 PHOTO + + +
+
+ +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-1-5-bday-2.xml b/lib/feedparser/tests/microformats/hcard/3-1-5-bday-2.xml new file mode 100644 index 00000000..f6b020d6 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-1-5-bday-2.xml @@ -0,0 +1,17 @@ + + +3.1.5 BCARD (example 2) + + +
+
+Oct 15, 1993 +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-1-5-bday-3.xml b/lib/feedparser/tests/microformats/hcard/3-1-5-bday-3.xml new file mode 100644 index 00000000..3ff0eb3f --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-1-5-bday-3.xml @@ -0,0 +1,17 @@ + + +3.1.5 BCARD (example 3) + + +
+
+Sept 9, 1987 +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-1-5-bday.xml b/lib/feedparser/tests/microformats/hcard/3-1-5-bday.xml new file mode 100644 index 00000000..08a2ff3d --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-1-5-bday.xml @@ -0,0 +1,17 @@ + + +3.1.5 BCARD + + +
+
+April 15, 1996 +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-2-1-adr.xml b/lib/feedparser/tests/microformats/hcard/3-2-1-adr.xml new file mode 100644 index 00000000..b9b37a00 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-2-1-adr.xml @@ -0,0 +1,25 @@ + + +3.2.1 ADR + + +
+
+
+ US + home address, for + mail and + shipments: +
123 Main Street
+ Any Town, CA, + 91921-1234 +
+
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-2-2-label.xml b/lib/feedparser/tests/microformats/hcard/3-2-2-label.xml new file mode 100644 index 00000000..68624e07 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-2-2-label.xml @@ -0,0 +1,30 @@ + + +3.2.2 LABEL + + +
+
+Please use the following address label for +
+ local delivery + to my home + of mail + and packages: +
+Mr.John Q. Public, Esq.
+Mail Drop: TNE QB
+123 Main Street
+Any Town, CA  91921-1234
+U.S.A.
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-3-1-tel.xml b/lib/feedparser/tests/microformats/hcard/3-3-1-tel.xml new file mode 100644 index 00000000..0c59d044 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-3-1-tel.xml @@ -0,0 +1,23 @@ + + +3.3.1 TEL + + +
+
+ + my + work + phone, with + voicemail: + +1-213-555-1234 + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-3-2-email-2.xml b/lib/feedparser/tests/microformats/hcard/3-3-2-email-2.xml new file mode 100644 index 00000000..7a2093ec --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-3-2-email-2.xml @@ -0,0 +1,17 @@ + + +3.3.2 EMAIL (example 2) + + +
+ +
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-3-2-email-3.xml b/lib/feedparser/tests/microformats/hcard/3-3-2-email-3.xml new file mode 100644 index 00000000..6864e1e3 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-3-2-email-3.xml @@ -0,0 +1,20 @@ + + +3.3.2 EMAIL (example 3) + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-3-2-email.xml b/lib/feedparser/tests/microformats/hcard/3-3-2-email.xml new file mode 100644 index 00000000..6e2715e0 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-3-2-email.xml @@ -0,0 +1,17 @@ + + +3.3.2 EMAIL + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-3-3-mailer.xml b/lib/feedparser/tests/microformats/hcard/3-3-3-mailer.xml new file mode 100644 index 00000000..0f71191d --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-3-3-mailer.xml @@ -0,0 +1,17 @@ + + +3.3.3 MAILER + + +
+
+Jane Doe uses PigeonMail 2.1 for email. +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-4-1-tz-2.xml b/lib/feedparser/tests/microformats/hcard/3-4-1-tz-2.xml new file mode 100644 index 00000000..8ac53960 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-4-1-tz-2.xml @@ -0,0 +1,20 @@ + + +3.4.1 TZ (example 2) + + +
+
+ + EST + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-4-1-tz.xml b/lib/feedparser/tests/microformats/hcard/3-4-1-tz.xml new file mode 100644 index 00000000..999a6025 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-4-1-tz.xml @@ -0,0 +1,17 @@ + + +3.4.1 TZ + + +
+
+-05:00 +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-4-2-geo.xml b/lib/feedparser/tests/microformats/hcard/3-4-2-geo.xml new file mode 100644 index 00000000..b62cff56 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-4-2-geo.xml @@ -0,0 +1,20 @@ + + +3.4.2 GEO + + +
+
+ + 37.386013, + -122.082932 + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-5-1-title.xml b/lib/feedparser/tests/microformats/hcard/3-5-1-title.xml new file mode 100644 index 00000000..2831831a --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-5-1-title.xml @@ -0,0 +1,17 @@ + + +3.5.1 TITLE + + +
+
+Director, Research and Development +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-5-2-role.xml b/lib/feedparser/tests/microformats/hcard/3-5-2-role.xml new file mode 100644 index 00000000..bc11530b --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-5-2-role.xml @@ -0,0 +1,17 @@ + + +3.5.2 ROLE + + +
+
+Programmer +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-5-3-logo-2.xml b/lib/feedparser/tests/microformats/hcard/3-5-3-logo-2.xml new file mode 100644 index 00000000..4ad497a8 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-5-3-logo-2.xml @@ -0,0 +1,17 @@ + + +3.5.3 LOGO (example 2) + + +
+
+ +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-5-3-logo.xml b/lib/feedparser/tests/microformats/hcard/3-5-3-logo.xml new file mode 100644 index 00000000..6e5f7bd7 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-5-3-logo.xml @@ -0,0 +1,17 @@ + + +3.5.3 LOGO + + +
+
+ +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-5-4-agent-2.xml b/lib/feedparser/tests/microformats/hcard/3-5-4-agent-2.xml new file mode 100644 index 00000000..329eae1c --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-5-4-agent-2.xml @@ -0,0 +1,20 @@ + + +3.5.4 AGENT (example 2) + + +
+
+ + , + +1-919-555-1234 + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-5-4-agent.xml b/lib/feedparser/tests/microformats/hcard/3-5-4-agent.xml new file mode 100644 index 00000000..8e53253c --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-5-4-agent.xml @@ -0,0 +1,17 @@ + + +3.5.4 AGENT + + +
+ +
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-5-5-org.xml b/lib/feedparser/tests/microformats/hcard/3-5-5-org.xml new file mode 100644 index 00000000..8f2d7b82 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-5-5-org.xml @@ -0,0 +1,21 @@ + + +3.5.5 ORG + + +
+
+ + ABC, Inc., + North American Division, + Marketing, + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-6-1-categories-2-plural.xml b/lib/feedparser/tests/microformats/hcard/3-6-1-categories-2-plural.xml new file mode 100644 index 00000000..93908196 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-6-1-categories-2-plural.xml @@ -0,0 +1,22 @@ + + +3.6.1 CATEGORIES (example 2, plural) + + +
+
+
    +
  • INTERNET
  • +
  • IETF
  • +
  • INDUSTRY
  • +
  • INFORMATION TECHNOLOGY
  • +
+
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-6-1-categories-2-singular.xml b/lib/feedparser/tests/microformats/hcard/3-6-1-categories-2-singular.xml new file mode 100644 index 00000000..fa2ac066 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-6-1-categories-2-singular.xml @@ -0,0 +1,20 @@ + + +3.6.1 CATEGORIES (example 2, singular) + + +
+
+INTERNET, +IETF, +INDUSTRY, +INFORMATION TECHNOLOGY +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-6-1-categories.xml b/lib/feedparser/tests/microformats/hcard/3-6-1-categories.xml new file mode 100644 index 00000000..68382508 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-6-1-categories.xml @@ -0,0 +1,17 @@ + + +3.6.1 CATEGORIES + + +
+
+TRAVEL AGENT +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-6-2-note.xml b/lib/feedparser/tests/microformats/hcard/3-6-2-note.xml new file mode 100644 index 00000000..1f37e624 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-6-2-note.xml @@ -0,0 +1,17 @@ + + +3.6.2 NOTE + + +
+
+

This fax number is operational 0800 to 1715 EST, Mon-Fri.

+
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-6-4-rev-2.xml b/lib/feedparser/tests/microformats/hcard/3-6-4-rev-2.xml new file mode 100644 index 00000000..24fb0397 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-6-4-rev-2.xml @@ -0,0 +1,17 @@ + + +3.6.4 REV (example 2) + + +
+
+Updated: November 15 +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-6-4-rev.xml b/lib/feedparser/tests/microformats/hcard/3-6-4-rev.xml new file mode 100644 index 00000000..bd6daf93 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-6-4-rev.xml @@ -0,0 +1,17 @@ + + +3.6.4 REV + + +
+
+Updated: 10/31 10:27p +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-6-5-sort-string-2.xml b/lib/feedparser/tests/microformats/hcard/3-6-5-sort-string-2.xml new file mode 100644 index 00000000..ca80cd86 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-6-5-sort-string-2.xml @@ -0,0 +1,21 @@ + + +3.6.5 SORT-STRING (example 2) + + +
+
+ + Robert + Pau + Shou Chang + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-6-5-sort-string-3.xml b/lib/feedparser/tests/microformats/hcard/3-6-5-sort-string-3.xml new file mode 100644 index 00000000..72e36ee9 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-6-5-sort-string-3.xml @@ -0,0 +1,19 @@ + + +3.6.5 SORT-STRING (example 3) + + +
+
+ + Osamu Koura + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-6-5-sort-string-4.xml b/lib/feedparser/tests/microformats/hcard/3-6-5-sort-string-4.xml new file mode 100644 index 00000000..00857ff7 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-6-5-sort-string-4.xml @@ -0,0 +1,25 @@ + + +3.6.5 SORT-STRING (example 4) + + +
+
+ + + Oscar + del Pozo + + + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-6-5-sort-string-5.xml b/lib/feedparser/tests/microformats/hcard/3-6-5-sort-string-5.xml new file mode 100644 index 00000000..715e4100 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-6-5-sort-string-5.xml @@ -0,0 +1,19 @@ + + +3.6.5 SORT-STRING (example 5) + + +
+
+ + Christine d'Aboville + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-6-5-sort-string.xml b/lib/feedparser/tests/microformats/hcard/3-6-5-sort-string.xml new file mode 100644 index 00000000..a5ee5c16 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-6-5-sort-string.xml @@ -0,0 +1,27 @@ + + +3.6.5 SORT-STRING + + +
+
+ + Sir + + Rene + + van der Harten + + + (J.), + R.D.O.N. + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-6-6-sound-2.xml b/lib/feedparser/tests/microformats/hcard/3-6-6-sound-2.xml new file mode 100644 index 00000000..29e138de --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-6-6-sound-2.xml @@ -0,0 +1,20 @@ + + +3.6.6 SOUND (example 2) + + +
+
+ +pronounciation + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-6-6-sound.xml b/lib/feedparser/tests/microformats/hcard/3-6-6-sound.xml new file mode 100644 index 00000000..4c130bee --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-6-6-sound.xml @@ -0,0 +1,20 @@ + + +3.6.6 SOUND + + +
+
+ +pronounciation of "JOHN Q PUBLIC" + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-6-7-uid.xml b/lib/feedparser/tests/microformats/hcard/3-6-7-uid.xml new file mode 100644 index 00000000..da10a9d1 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-6-7-uid.xml @@ -0,0 +1,18 @@ + + +3.6.7 UID + + +
+
+Unique id: + 19950401-080045-40000F192713-0052 +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-6-8-url.xml b/lib/feedparser/tests/microformats/hcard/3-6-8-url.xml new file mode 100644 index 00000000..dc1a1c6e --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-6-8-url.xml @@ -0,0 +1,17 @@ + + +3.6.8 URL + + +
+ +
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-7-1-class-2.xml b/lib/feedparser/tests/microformats/hcard/3-7-1-class-2.xml new file mode 100644 index 00000000..2ddcfa2d --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-7-1-class-2.xml @@ -0,0 +1,17 @@ + + +3.7.1 CLASS (example 2) + + +
+
+PRIVATE +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-7-1-class-3.xml b/lib/feedparser/tests/microformats/hcard/3-7-1-class-3.xml new file mode 100644 index 00000000..3be1a889 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-7-1-class-3.xml @@ -0,0 +1,17 @@ + + +3.7.1 CLASS (example 3) + + +
+
+CONFIDENTIAL +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-7-1-class.xml b/lib/feedparser/tests/microformats/hcard/3-7-1-class.xml new file mode 100644 index 00000000..795de978 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-7-1-class.xml @@ -0,0 +1,17 @@ + + +3.7.1 CLASS + + +
+
+PUBLIC +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/3-7-2-key.xml b/lib/feedparser/tests/microformats/hcard/3-7-2-key.xml new file mode 100644 index 00000000..c0fc56f8 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/3-7-2-key.xml @@ -0,0 +1,20 @@ + + +3.7.2 KEY + + +
+
+ +Key + +
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/hcard/7-authors.xml b/lib/feedparser/tests/microformats/hcard/7-authors.xml new file mode 100644 index 00000000..5c134fe1 --- /dev/null +++ b/lib/feedparser/tests/microformats/hcard/7-authors.xml @@ -0,0 +1,64 @@ + + +7. Authors + + +
+
+Frank Dawson +
Lotus Development Corporation
+
+ work address +(mail and + packages): +
6544 Battleford Drive
+ Raleigh + NC + 27613-3502 +
U.S.A.
+
+
+ +1-919-676-9515 +(w, + vm) +
+
+ +1-919-676-9564 +(wf) +
+, + +
+
+ +
Netscape Communications Corp.
+
+ work address: +
501 E. Middlefield Rd.
+ Mountain View, + CA + 94043 +
U.S.A.
+
+
+ +1-415-937-3419 +(w, + vm) +
+
+ +1-415-528-4164 +(wf) +
+
+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href.xml new file mode 100644 index 00000000..bc86bacf --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_avi.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_avi.xml new file mode 100644 index 00000000..02ba14fb --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_avi.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_bin.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_bin.xml new file mode 100644 index 00000000..069e3abb --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_bin.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_bz2.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_bz2.xml new file mode 100644 index 00000000..ad3e8721 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_bz2.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_deb.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_deb.xml new file mode 100644 index 00000000..602638ea --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_deb.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_dmg.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_dmg.xml new file mode 100644 index 00000000..d0e74b20 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_dmg.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_exe.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_exe.xml new file mode 100644 index 00000000..73fd39f2 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_exe.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_gz.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_gz.xml new file mode 100644 index 00000000..9c95cdb8 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_gz.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_hqx.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_hqx.xml new file mode 100644 index 00000000..4047a729 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_hqx.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_img.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_img.xml new file mode 100644 index 00000000..322125ea --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_img.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_iso.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_iso.xml new file mode 100644 index 00000000..683add44 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_iso.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_jar.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_jar.xml new file mode 100644 index 00000000..e39f8325 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_jar.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_m4a.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_m4a.xml new file mode 100644 index 00000000..84fc7782 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_m4a.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_m4v.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_m4v.xml new file mode 100644 index 00000000..b3dcd909 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_m4v.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_mp2.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_mp2.xml new file mode 100644 index 00000000..3d3c6c70 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_mp2.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_mp3.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_mp3.xml new file mode 100644 index 00000000..c67a4143 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_mp3.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_mp4.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_mp4.xml new file mode 100644 index 00000000..e10bb622 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_mp4.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_msi.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_msi.xml new file mode 100644 index 00000000..fcf83d2c --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_msi.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_ogg.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_ogg.xml new file mode 100644 index 00000000..4547dda0 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_ogg.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_rar.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_rar.xml new file mode 100644 index 00000000..81a56ee0 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_rar.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_rpm.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_rpm.xml new file mode 100644 index 00000000..e635cf24 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_rpm.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_sit.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_sit.xml new file mode 100644 index 00000000..fb3845a7 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_sit.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_sitx.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_sitx.xml new file mode 100644 index 00000000..5ac2cb29 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_sitx.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_tar.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_tar.xml new file mode 100644 index 00000000..1ad3e78e --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_tar.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_tbz2.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_tbz2.xml new file mode 100644 index 00000000..c53147bd --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_tbz2.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_tgz.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_tgz.xml new file mode 100644 index 00000000..676fb48a --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_tgz.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_wma.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_wma.xml new file mode 100644 index 00000000..626d6ba4 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_wma.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_wmv.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_wmv.xml new file mode 100644 index 00000000..4f1931b2 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_wmv.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_z.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_z.xml new file mode 100644 index 00000000..ed2bc37a --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_z.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_zip.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_zip.xml new file mode 100644 index 00000000..ba6759c2 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_ext_zip.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_type_application_ogg.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_type_application_ogg.xml new file mode 100644 index 00000000..1ccbe63a --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_type_application_ogg.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_type_audio.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_type_audio.xml new file mode 100644 index 00000000..908e9016 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_type_audio.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_type_video.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_type_video.xml new file mode 100644 index 00000000..6ac97479 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_autodetect_by_type_video.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_invalid.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_invalid.xml new file mode 100644 index 00000000..0cf5716f --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_href_invalid.xml @@ -0,0 +1,14 @@ + + + + + + + + diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_no_autodetect.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_no_autodetect.xml new file mode 100644 index 00000000..18a5fd46 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_no_autodetect.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_no_autodetect_xml.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_no_autodetect_xml.xml new file mode 100644 index 00000000..b5d2d3a7 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_no_autodetect_xml.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_title.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_title.xml new file mode 100644 index 00000000..ba812b5c --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_title.xml @@ -0,0 +1,14 @@ + + + + +
+

+
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_title_from_link_text.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_title_from_link_text.xml new file mode 100644 index 00000000..b69d85e7 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_title_from_link_text.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_title_overrides_link_text.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_title_overrides_link_text.xml new file mode 100644 index 00000000..79c2a713 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_title_overrides_link_text.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_type.xml b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_type.xml new file mode 100644 index 00000000..bc6ced7e --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_enclosure/rel_enclosure_type.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_tag/rel_tag_duplicate.xml b/lib/feedparser/tests/microformats/rel_tag/rel_tag_duplicate.xml new file mode 100644 index 00000000..62ae4950 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_tag/rel_tag_duplicate.xml @@ -0,0 +1,15 @@ + + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_tag/rel_tag_label.xml b/lib/feedparser/tests/microformats/rel_tag/rel_tag_label.xml new file mode 100644 index 00000000..81aacadb --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_tag/rel_tag_label.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_tag/rel_tag_scheme.xml b/lib/feedparser/tests/microformats/rel_tag/rel_tag_scheme.xml new file mode 100644 index 00000000..50a115e2 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_tag/rel_tag_scheme.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_tag/rel_tag_term.xml b/lib/feedparser/tests/microformats/rel_tag/rel_tag_term.xml new file mode 100644 index 00000000..c7876530 --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_tag/rel_tag_term.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/rel_tag/rel_tag_term_trailing_slash.xml b/lib/feedparser/tests/microformats/rel_tag/rel_tag_term_trailing_slash.xml new file mode 100644 index 00000000..56f75e2b --- /dev/null +++ b/lib/feedparser/tests/microformats/rel_tag/rel_tag_term_trailing_slash.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_acquaintance.xml b/lib/feedparser/tests/microformats/xfn/xfn_acquaintance.xml new file mode 100644 index 00000000..aef6e376 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_acquaintance.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_brother.xml b/lib/feedparser/tests/microformats/xfn/xfn_brother.xml new file mode 100644 index 00000000..eb201bf0 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_brother.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_child.xml b/lib/feedparser/tests/microformats/xfn/xfn_child.xml new file mode 100644 index 00000000..507d91bb --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_child.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_co-resident.xml b/lib/feedparser/tests/microformats/xfn/xfn_co-resident.xml new file mode 100644 index 00000000..10267a9a --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_co-resident.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_co-worker.xml b/lib/feedparser/tests/microformats/xfn/xfn_co-worker.xml new file mode 100644 index 00000000..c385aeec --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_co-worker.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_colleague.xml b/lib/feedparser/tests/microformats/xfn/xfn_colleague.xml new file mode 100644 index 00000000..9a8ca3b1 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_colleague.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_contact.xml b/lib/feedparser/tests/microformats/xfn/xfn_contact.xml new file mode 100644 index 00000000..8ba482e6 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_contact.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_coresident.xml b/lib/feedparser/tests/microformats/xfn/xfn_coresident.xml new file mode 100644 index 00000000..64ecec5e --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_coresident.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_coworker.xml b/lib/feedparser/tests/microformats/xfn/xfn_coworker.xml new file mode 100644 index 00000000..9217d400 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_coworker.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_crush.xml b/lib/feedparser/tests/microformats/xfn/xfn_crush.xml new file mode 100644 index 00000000..f5675382 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_crush.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_date.xml b/lib/feedparser/tests/microformats/xfn/xfn_date.xml new file mode 100644 index 00000000..10487650 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_date.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_friend.xml b/lib/feedparser/tests/microformats/xfn/xfn_friend.xml new file mode 100644 index 00000000..b70aa2a3 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_friend.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_href.xml b/lib/feedparser/tests/microformats/xfn/xfn_href.xml new file mode 100644 index 00000000..e05a6591 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_href.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_husband.xml b/lib/feedparser/tests/microformats/xfn/xfn_husband.xml new file mode 100644 index 00000000..e68275bc --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_husband.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_kin.xml b/lib/feedparser/tests/microformats/xfn/xfn_kin.xml new file mode 100644 index 00000000..1d07e079 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_kin.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_me.xml b/lib/feedparser/tests/microformats/xfn/xfn_me.xml new file mode 100644 index 00000000..cffd9fde --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_me.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_met.xml b/lib/feedparser/tests/microformats/xfn/xfn_met.xml new file mode 100644 index 00000000..f8df859e --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_met.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_multiple.xml b/lib/feedparser/tests/microformats/xfn/xfn_multiple.xml new file mode 100644 index 00000000..9574495d --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_multiple.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_muse.xml b/lib/feedparser/tests/microformats/xfn/xfn_muse.xml new file mode 100644 index 00000000..7832f542 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_muse.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_name.xml b/lib/feedparser/tests/microformats/xfn/xfn_name.xml new file mode 100644 index 00000000..cd1e9c37 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_name.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_neighbor.xml b/lib/feedparser/tests/microformats/xfn/xfn_neighbor.xml new file mode 100644 index 00000000..6b1b1aae --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_neighbor.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_parent.xml b/lib/feedparser/tests/microformats/xfn/xfn_parent.xml new file mode 100644 index 00000000..13739d32 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_parent.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_relative.xml b/lib/feedparser/tests/microformats/xfn/xfn_relative.xml new file mode 100644 index 00000000..06e5e371 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_relative.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_sibling.xml b/lib/feedparser/tests/microformats/xfn/xfn_sibling.xml new file mode 100644 index 00000000..7c12ed3c --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_sibling.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_sister.xml b/lib/feedparser/tests/microformats/xfn/xfn_sister.xml new file mode 100644 index 00000000..411ac983 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_sister.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_spouse.xml b/lib/feedparser/tests/microformats/xfn/xfn_spouse.xml new file mode 100644 index 00000000..157f26a5 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_spouse.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_sweetheart.xml b/lib/feedparser/tests/microformats/xfn/xfn_sweetheart.xml new file mode 100644 index 00000000..42715612 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_sweetheart.xml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/microformats/xfn/xfn_wife.xml b/lib/feedparser/tests/microformats/xfn/xfn_wife.xml new file mode 100644 index 00000000..529b7af9 --- /dev/null +++ b/lib/feedparser/tests/microformats/xfn/xfn_wife.xml @@ -0,0 +1,14 @@ + + + + + + + + diff --git a/lib/feedparser/tests/wellformed/amp/amp01.xml b/lib/feedparser/tests/wellformed/amp/amp01.xml new file mode 100644 index 00000000..3ca45835 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp01.xml @@ -0,0 +1,9 @@ + + + + &#38; + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp02.xml b/lib/feedparser/tests/wellformed/amp/amp02.xml new file mode 100644 index 00000000..86e049f5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp02.xml @@ -0,0 +1,9 @@ + + + + &#x26; + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp03.xml b/lib/feedparser/tests/wellformed/amp/amp03.xml new file mode 100644 index 00000000..8fe78301 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp03.xml @@ -0,0 +1,9 @@ + + + + & + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp04.xml b/lib/feedparser/tests/wellformed/amp/amp04.xml new file mode 100644 index 00000000..7df221df --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp04.xml @@ -0,0 +1,9 @@ + + + + &amp; + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp05.xml b/lib/feedparser/tests/wellformed/amp/amp05.xml new file mode 100644 index 00000000..4a8a46e3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp05.xml @@ -0,0 +1,9 @@ + + + + &#38; + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp06.xml b/lib/feedparser/tests/wellformed/amp/amp06.xml new file mode 100644 index 00000000..5a59cd4d --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp06.xml @@ -0,0 +1,9 @@ + + + + &#x26; + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp07.xml b/lib/feedparser/tests/wellformed/amp/amp07.xml new file mode 100644 index 00000000..a324d4ba --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp07.xml @@ -0,0 +1,9 @@ + + + + & + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp08.xml b/lib/feedparser/tests/wellformed/amp/amp08.xml new file mode 100644 index 00000000..42ac2c70 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp08.xml @@ -0,0 +1,9 @@ + + + + &amp; + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp09.xml b/lib/feedparser/tests/wellformed/amp/amp09.xml new file mode 100644 index 00000000..b634a90f --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp09.xml @@ -0,0 +1,9 @@ + + + + &#38; + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp10.xml b/lib/feedparser/tests/wellformed/amp/amp10.xml new file mode 100644 index 00000000..87a050c5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp10.xml @@ -0,0 +1,9 @@ + + + + &#x26; + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp11.xml b/lib/feedparser/tests/wellformed/amp/amp11.xml new file mode 100644 index 00000000..2b8d5744 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp11.xml @@ -0,0 +1,9 @@ + + + + & + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp12.xml b/lib/feedparser/tests/wellformed/amp/amp12.xml new file mode 100644 index 00000000..ff9622c7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp12.xml @@ -0,0 +1,9 @@ + + + + &amp; + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp13.xml b/lib/feedparser/tests/wellformed/amp/amp13.xml new file mode 100644 index 00000000..486ce485 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp13.xml @@ -0,0 +1,9 @@ + + + + <b>&#38;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp14.xml b/lib/feedparser/tests/wellformed/amp/amp14.xml new file mode 100644 index 00000000..fc60ae17 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp14.xml @@ -0,0 +1,9 @@ + + + + <b>&#x26;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp15.xml b/lib/feedparser/tests/wellformed/amp/amp15.xml new file mode 100644 index 00000000..f2fecbdd --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp15.xml @@ -0,0 +1,9 @@ + + + + <b>&amp;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp16.xml b/lib/feedparser/tests/wellformed/amp/amp16.xml new file mode 100644 index 00000000..92ab7e45 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp16.xml @@ -0,0 +1,9 @@ + + + + <b>&#38;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp17.xml b/lib/feedparser/tests/wellformed/amp/amp17.xml new file mode 100644 index 00000000..1a4f2fa0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp17.xml @@ -0,0 +1,9 @@ + + + + <b>&#x26;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp18.xml b/lib/feedparser/tests/wellformed/amp/amp18.xml new file mode 100644 index 00000000..dda68b05 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp18.xml @@ -0,0 +1,9 @@ + + + + <b>&amp;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp19.xml b/lib/feedparser/tests/wellformed/amp/amp19.xml new file mode 100644 index 00000000..168e7446 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp19.xml @@ -0,0 +1,9 @@ + + + + <b>&#38;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp20.xml b/lib/feedparser/tests/wellformed/amp/amp20.xml new file mode 100644 index 00000000..d105aba1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp20.xml @@ -0,0 +1,9 @@ + + + + <b>&#x26;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp21.xml b/lib/feedparser/tests/wellformed/amp/amp21.xml new file mode 100644 index 00000000..15b987d8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp21.xml @@ -0,0 +1,9 @@ + + + + <b>&amp;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp22.xml b/lib/feedparser/tests/wellformed/amp/amp22.xml new file mode 100644 index 00000000..a54b0aa6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp22.xml @@ -0,0 +1,9 @@ + + + + <b>&#38;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp23.xml b/lib/feedparser/tests/wellformed/amp/amp23.xml new file mode 100644 index 00000000..c4b09b53 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp23.xml @@ -0,0 +1,9 @@ + + + + <b>&#x26;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp24.xml b/lib/feedparser/tests/wellformed/amp/amp24.xml new file mode 100644 index 00000000..8ff8f50b --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp24.xml @@ -0,0 +1,9 @@ + + + + <b>&amp;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp25.xml b/lib/feedparser/tests/wellformed/amp/amp25.xml new file mode 100644 index 00000000..edac63bc --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp25.xml @@ -0,0 +1,9 @@ + + + + <b>&#38;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp26.xml b/lib/feedparser/tests/wellformed/amp/amp26.xml new file mode 100644 index 00000000..0b0752fa --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp26.xml @@ -0,0 +1,9 @@ + + + + <b>&#x26;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp27.xml b/lib/feedparser/tests/wellformed/amp/amp27.xml new file mode 100644 index 00000000..9c9419d1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp27.xml @@ -0,0 +1,9 @@ + + + + <b>&amp;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp28.xml b/lib/feedparser/tests/wellformed/amp/amp28.xml new file mode 100644 index 00000000..8d6da530 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp28.xml @@ -0,0 +1,9 @@ + + + + <b>&#38;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp29.xml b/lib/feedparser/tests/wellformed/amp/amp29.xml new file mode 100644 index 00000000..7baae50b --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp29.xml @@ -0,0 +1,9 @@ + + + + <b>&#x26;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp30.xml b/lib/feedparser/tests/wellformed/amp/amp30.xml new file mode 100644 index 00000000..5f6399c8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp30.xml @@ -0,0 +1,9 @@ + + + + <b>&amp;</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp31.xml b/lib/feedparser/tests/wellformed/amp/amp31.xml new file mode 100644 index 00000000..47b445ed --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp31.xml @@ -0,0 +1,9 @@ + + + + <strong>&#38;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp32.xml b/lib/feedparser/tests/wellformed/amp/amp32.xml new file mode 100644 index 00000000..ac95fffd --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp32.xml @@ -0,0 +1,9 @@ + + + + <strong>&#x26;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp33.xml b/lib/feedparser/tests/wellformed/amp/amp33.xml new file mode 100644 index 00000000..442c79e0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp33.xml @@ -0,0 +1,9 @@ + + + + <strong>&amp;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp34.xml b/lib/feedparser/tests/wellformed/amp/amp34.xml new file mode 100644 index 00000000..fd69c680 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp34.xml @@ -0,0 +1,9 @@ + + + + <strong>&#38;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp35.xml b/lib/feedparser/tests/wellformed/amp/amp35.xml new file mode 100644 index 00000000..d2e6c604 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp35.xml @@ -0,0 +1,9 @@ + + + + <strong>&#x26;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp36.xml b/lib/feedparser/tests/wellformed/amp/amp36.xml new file mode 100644 index 00000000..545f4ddd --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp36.xml @@ -0,0 +1,9 @@ + + + + <strong>&amp;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp37.xml b/lib/feedparser/tests/wellformed/amp/amp37.xml new file mode 100644 index 00000000..5ed3590d --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp37.xml @@ -0,0 +1,9 @@ + + + + <strong>&#38;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp38.xml b/lib/feedparser/tests/wellformed/amp/amp38.xml new file mode 100644 index 00000000..c4710040 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp38.xml @@ -0,0 +1,9 @@ + + + + <strong>&#x26;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp39.xml b/lib/feedparser/tests/wellformed/amp/amp39.xml new file mode 100644 index 00000000..2d3a3d2b --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp39.xml @@ -0,0 +1,9 @@ + + + + <strong>&amp;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp40.xml b/lib/feedparser/tests/wellformed/amp/amp40.xml new file mode 100644 index 00000000..ddf24f36 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp40.xml @@ -0,0 +1,9 @@ + + + + <strong>&#38;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp41.xml b/lib/feedparser/tests/wellformed/amp/amp41.xml new file mode 100644 index 00000000..18f570e8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp41.xml @@ -0,0 +1,9 @@ + + + + <strong>&#x26;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp42.xml b/lib/feedparser/tests/wellformed/amp/amp42.xml new file mode 100644 index 00000000..3857d607 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp42.xml @@ -0,0 +1,9 @@ + + + + <strong>&amp;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp43.xml b/lib/feedparser/tests/wellformed/amp/amp43.xml new file mode 100644 index 00000000..e5e35cf7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp43.xml @@ -0,0 +1,9 @@ + + + + <strong>&#38;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp44.xml b/lib/feedparser/tests/wellformed/amp/amp44.xml new file mode 100644 index 00000000..290c3335 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp44.xml @@ -0,0 +1,9 @@ + + + + <strong>&#x26;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp45.xml b/lib/feedparser/tests/wellformed/amp/amp45.xml new file mode 100644 index 00000000..ecba32b0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp45.xml @@ -0,0 +1,9 @@ + + + + <strong>&amp;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp46.xml b/lib/feedparser/tests/wellformed/amp/amp46.xml new file mode 100644 index 00000000..32b2f633 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp46.xml @@ -0,0 +1,9 @@ + + + + <strong>&#38;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp47.xml b/lib/feedparser/tests/wellformed/amp/amp47.xml new file mode 100644 index 00000000..9e81f91f --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp47.xml @@ -0,0 +1,9 @@ + + + + <strong>&#x26;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp48.xml b/lib/feedparser/tests/wellformed/amp/amp48.xml new file mode 100644 index 00000000..3c0c26ea --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp48.xml @@ -0,0 +1,9 @@ + + + + <strong>&amp;</strong> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp49.xml b/lib/feedparser/tests/wellformed/amp/amp49.xml new file mode 100644 index 00000000..102f803a --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp49.xml @@ -0,0 +1,9 @@ + + + + <![CDATA[&]]> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp50.xml b/lib/feedparser/tests/wellformed/amp/amp50.xml new file mode 100644 index 00000000..3f1ae00c --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp50.xml @@ -0,0 +1,9 @@ + + + + <![CDATA[&]]> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp51.xml b/lib/feedparser/tests/wellformed/amp/amp51.xml new file mode 100644 index 00000000..a5644ff1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp51.xml @@ -0,0 +1,9 @@ + + + + <![CDATA[&]]> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp52.xml b/lib/feedparser/tests/wellformed/amp/amp52.xml new file mode 100644 index 00000000..b6e89c26 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp52.xml @@ -0,0 +1,9 @@ + + + + <![CDATA[&]]> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp53.xml b/lib/feedparser/tests/wellformed/amp/amp53.xml new file mode 100644 index 00000000..0556638d --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp53.xml @@ -0,0 +1,9 @@ + + + + <![CDATA[<b>&</b>]]> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp54.xml b/lib/feedparser/tests/wellformed/amp/amp54.xml new file mode 100644 index 00000000..69dbde91 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp54.xml @@ -0,0 +1,9 @@ + + + + <![CDATA[<b>&</b>]]> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp55.xml b/lib/feedparser/tests/wellformed/amp/amp55.xml new file mode 100644 index 00000000..3173c775 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp55.xml @@ -0,0 +1,9 @@ + + + + <![CDATA[<b>&</b>]]> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp56.xml b/lib/feedparser/tests/wellformed/amp/amp56.xml new file mode 100644 index 00000000..c577628b --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp56.xml @@ -0,0 +1,9 @@ + + + + <![CDATA[<strong>&</strong>]]> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp57.xml b/lib/feedparser/tests/wellformed/amp/amp57.xml new file mode 100644 index 00000000..7abad46b --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp57.xml @@ -0,0 +1,9 @@ + + + + <![CDATA[<strong>&</strong>]]> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp58.xml b/lib/feedparser/tests/wellformed/amp/amp58.xml new file mode 100644 index 00000000..a204980d --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp58.xml @@ -0,0 +1,9 @@ + + + + <![CDATA[<strong>&</strong>]]> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp59.xml b/lib/feedparser/tests/wellformed/amp/amp59.xml new file mode 100644 index 00000000..708471ad --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp59.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml"><b>&</b></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp60.xml b/lib/feedparser/tests/wellformed/amp/amp60.xml new file mode 100644 index 00000000..baac7d49 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp60.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml"><b>&</b></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp61.xml b/lib/feedparser/tests/wellformed/amp/amp61.xml new file mode 100644 index 00000000..c77686f6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp61.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml"><b>&</b></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp62.xml b/lib/feedparser/tests/wellformed/amp/amp62.xml new file mode 100644 index 00000000..4016635e --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp62.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml"><strong>&</strong></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp63.xml b/lib/feedparser/tests/wellformed/amp/amp63.xml new file mode 100644 index 00000000..29eb5266 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp63.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml"><strong>&</strong></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/amp64.xml b/lib/feedparser/tests/wellformed/amp/amp64.xml new file mode 100644 index 00000000..b26a921e --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/amp64.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml"><strong>&</strong></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/amp/attr01.xml b/lib/feedparser/tests/wellformed/amp/attr01.xml new file mode 100644 index 00000000..1f3cdbc4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/attr01.xml @@ -0,0 +1,9 @@ + + + + <a title="&#38;">&#38;</a> + + diff --git a/lib/feedparser/tests/wellformed/amp/attr02.xml b/lib/feedparser/tests/wellformed/amp/attr02.xml new file mode 100644 index 00000000..8086e7b0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/attr02.xml @@ -0,0 +1,9 @@ + + + + <a title="&amp;">&amp;</a> + + diff --git a/lib/feedparser/tests/wellformed/amp/attr03.xml b/lib/feedparser/tests/wellformed/amp/attr03.xml new file mode 100644 index 00000000..33d79f94 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/attr03.xml @@ -0,0 +1,9 @@ + + + + <a title="&#x26;">&#x26;</a> + + diff --git a/lib/feedparser/tests/wellformed/amp/attr04.xml b/lib/feedparser/tests/wellformed/amp/attr04.xml new file mode 100644 index 00000000..a4be1219 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/attr04.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml"><a title="&">&</a></div> + + diff --git a/lib/feedparser/tests/wellformed/amp/attr05.xml b/lib/feedparser/tests/wellformed/amp/attr05.xml new file mode 100644 index 00000000..3457934b --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/attr05.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml"><a title="&">&</a></div> + + diff --git a/lib/feedparser/tests/wellformed/amp/attr06.xml b/lib/feedparser/tests/wellformed/amp/attr06.xml new file mode 100644 index 00000000..b01196e7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/amp/attr06.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml"><a title="&">&</a></div> + + diff --git a/lib/feedparser/tests/wellformed/atom/atom_namespace_1.xml b/lib/feedparser/tests/wellformed/atom/atom_namespace_1.xml new file mode 100644 index 00000000..96a90ce6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/atom_namespace_1.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/atom_namespace_2.xml b/lib/feedparser/tests/wellformed/atom/atom_namespace_2.xml new file mode 100644 index 00000000..90cc0d3b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/atom_namespace_2.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/atom_namespace_3.xml b/lib/feedparser/tests/wellformed/atom/atom_namespace_3.xml new file mode 100644 index 00000000..d866205d --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/atom_namespace_3.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/atom_namespace_4.xml b/lib/feedparser/tests/wellformed/atom/atom_namespace_4.xml new file mode 100644 index 00000000..a805d978 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/atom_namespace_4.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/atom_namespace_5.xml b/lib/feedparser/tests/wellformed/atom/atom_namespace_5.xml new file mode 100644 index 00000000..0e6fa46e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/atom_namespace_5.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_author_email.xml b/lib/feedparser/tests/wellformed/atom/entry_author_email.xml new file mode 100644 index 00000000..8210f4ca --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_author_email.xml @@ -0,0 +1,13 @@ + + + + + Example author + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_author_homepage.xml b/lib/feedparser/tests/wellformed/atom/entry_author_homepage.xml new file mode 100644 index 00000000..21fdcae7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_author_homepage.xml @@ -0,0 +1,13 @@ + + + + + Example author + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_author_map_author.xml b/lib/feedparser/tests/wellformed/atom/entry_author_map_author.xml new file mode 100644 index 00000000..dfb004dc --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_author_map_author.xml @@ -0,0 +1,13 @@ + + + + + Example author + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_author_map_author_2.xml b/lib/feedparser/tests/wellformed/atom/entry_author_map_author_2.xml new file mode 100644 index 00000000..bcd47e77 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_author_map_author_2.xml @@ -0,0 +1,12 @@ + + + + + Example author + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_author_name.xml b/lib/feedparser/tests/wellformed/atom/entry_author_name.xml new file mode 100644 index 00000000..6b302b01 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_author_name.xml @@ -0,0 +1,13 @@ + + + + + Example author + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_author_uri.xml b/lib/feedparser/tests/wellformed/atom/entry_author_uri.xml new file mode 100644 index 00000000..65398084 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_author_uri.xml @@ -0,0 +1,13 @@ + + + + + Example author + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_author_url.xml b/lib/feedparser/tests/wellformed/atom/entry_author_url.xml new file mode 100644 index 00000000..7192d04a --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_author_url.xml @@ -0,0 +1,13 @@ + + + + + Example author + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_content_mode_base64.xml b/lib/feedparser/tests/wellformed/atom/entry_content_mode_base64.xml new file mode 100644 index 00000000..91818ba7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_content_mode_base64.xml @@ -0,0 +1,11 @@ + + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_content_mode_escaped.xml b/lib/feedparser/tests/wellformed/atom/entry_content_mode_escaped.xml new file mode 100644 index 00000000..67da8383 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_content_mode_escaped.xml @@ -0,0 +1,9 @@ + + + + Example <b>Atom</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_content_type.xml b/lib/feedparser/tests/wellformed/atom/entry_content_type.xml new file mode 100644 index 00000000..fd556e88 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_content_type.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_content_type_text_plain.xml b/lib/feedparser/tests/wellformed/atom/entry_content_type_text_plain.xml new file mode 100644 index 00000000..656dbd45 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_content_type_text_plain.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_content_value.xml b/lib/feedparser/tests/wellformed/atom/entry_content_value.xml new file mode 100644 index 00000000..6da460d0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_content_value.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_contributor_email.xml b/lib/feedparser/tests/wellformed/atom/entry_contributor_email.xml new file mode 100644 index 00000000..f51fc17a --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_contributor_email.xml @@ -0,0 +1,13 @@ + + + + + Example contributor + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_contributor_homepage.xml b/lib/feedparser/tests/wellformed/atom/entry_contributor_homepage.xml new file mode 100644 index 00000000..f5a398d1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_contributor_homepage.xml @@ -0,0 +1,13 @@ + + + + + Example contributor + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_contributor_multiple.xml b/lib/feedparser/tests/wellformed/atom/entry_contributor_multiple.xml new file mode 100644 index 00000000..c58cd916 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_contributor_multiple.xml @@ -0,0 +1,18 @@ + + + + + Contributor 1 + me@example.com + http://example.com/ + + + Contributor 2 + you@example.com + http://two.example.com/ + + + diff --git a/lib/feedparser/tests/wellformed/atom/entry_contributor_name.xml b/lib/feedparser/tests/wellformed/atom/entry_contributor_name.xml new file mode 100644 index 00000000..1b82beeb --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_contributor_name.xml @@ -0,0 +1,13 @@ + + + + + Example contributor + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_contributor_uri.xml b/lib/feedparser/tests/wellformed/atom/entry_contributor_uri.xml new file mode 100644 index 00000000..a37f5773 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_contributor_uri.xml @@ -0,0 +1,13 @@ + + + + + Example contributor + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_contributor_url.xml b/lib/feedparser/tests/wellformed/atom/entry_contributor_url.xml new file mode 100644 index 00000000..61851190 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_contributor_url.xml @@ -0,0 +1,13 @@ + + + + + Example contributor + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_created.xml b/lib/feedparser/tests/wellformed/atom/entry_created.xml new file mode 100644 index 00000000..3175de02 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_created.xml @@ -0,0 +1,9 @@ + + + +Thu, 01 Jan 2004 19:48:21 GMT + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_created_multiple_values.xml b/lib/feedparser/tests/wellformed/atom/entry_created_multiple_values.xml new file mode 100644 index 00000000..95688edd --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_created_multiple_values.xml @@ -0,0 +1,10 @@ + + + +2010-12-01T10:14:55Z +2003-12-31T10:14:55Z + + diff --git a/lib/feedparser/tests/wellformed/atom/entry_created_parsed.xml b/lib/feedparser/tests/wellformed/atom/entry_created_parsed.xml new file mode 100644 index 00000000..e7f9e9c3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_created_parsed.xml @@ -0,0 +1,9 @@ + + + +2003-12-31T10:14:55Z + + diff --git a/lib/feedparser/tests/wellformed/atom/entry_id.xml b/lib/feedparser/tests/wellformed/atom/entry_id.xml new file mode 100644 index 00000000..827ca379 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_id.xml @@ -0,0 +1,9 @@ + + + + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_id_map_guid.xml b/lib/feedparser/tests/wellformed/atom/entry_id_map_guid.xml new file mode 100644 index 00000000..bc2dfb10 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_id_map_guid.xml @@ -0,0 +1,9 @@ + + + + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_issued.xml b/lib/feedparser/tests/wellformed/atom/entry_issued.xml new file mode 100644 index 00000000..fdc50814 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_issued.xml @@ -0,0 +1,9 @@ + + + +Thu, 01 Jan 2004 19:48:21 GMT + + diff --git a/lib/feedparser/tests/wellformed/atom/entry_issued_parsed.xml b/lib/feedparser/tests/wellformed/atom/entry_issued_parsed.xml new file mode 100644 index 00000000..5cf27298 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_issued_parsed.xml @@ -0,0 +1,9 @@ + + + +2003-12-31T10:14:55Z + + diff --git a/lib/feedparser/tests/wellformed/atom/entry_link_alternate_map_link.xml b/lib/feedparser/tests/wellformed/atom/entry_link_alternate_map_link.xml new file mode 100644 index 00000000..d618df92 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_link_alternate_map_link.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_link_alternate_map_link_2.xml b/lib/feedparser/tests/wellformed/atom/entry_link_alternate_map_link_2.xml new file mode 100644 index 00000000..11e03b46 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_link_alternate_map_link_2.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_link_href.xml b/lib/feedparser/tests/wellformed/atom/entry_link_href.xml new file mode 100644 index 00000000..2be6dc7f --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_link_href.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_link_multiple.xml b/lib/feedparser/tests/wellformed/atom/entry_link_multiple.xml new file mode 100644 index 00000000..9d7228ce --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_link_multiple.xml @@ -0,0 +1,10 @@ + + + + + + + diff --git a/lib/feedparser/tests/wellformed/atom/entry_link_rel.xml b/lib/feedparser/tests/wellformed/atom/entry_link_rel.xml new file mode 100644 index 00000000..db5d78a2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_link_rel.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_link_title.xml b/lib/feedparser/tests/wellformed/atom/entry_link_title.xml new file mode 100644 index 00000000..4d71c057 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_link_title.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_link_type.xml b/lib/feedparser/tests/wellformed/atom/entry_link_type.xml new file mode 100644 index 00000000..8dbe4955 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_link_type.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_modified.xml b/lib/feedparser/tests/wellformed/atom/entry_modified.xml new file mode 100644 index 00000000..7bf362cc --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_modified.xml @@ -0,0 +1,9 @@ + + + +Thu, 01 Jan 2004 19:48:21 GMT + + diff --git a/lib/feedparser/tests/wellformed/atom/entry_modified_map_updated_parsed.xml b/lib/feedparser/tests/wellformed/atom/entry_modified_map_updated_parsed.xml new file mode 100644 index 00000000..0eaa5c10 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_modified_map_updated_parsed.xml @@ -0,0 +1,9 @@ + + + +Thu, 01 Jan 2004 19:48:21 GMT + + diff --git a/lib/feedparser/tests/wellformed/atom/entry_published_parsed.xml b/lib/feedparser/tests/wellformed/atom/entry_published_parsed.xml new file mode 100644 index 00000000..6c0c0505 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_published_parsed.xml @@ -0,0 +1,9 @@ + + + +2003-12-31T10:14:55Z + + diff --git a/lib/feedparser/tests/wellformed/atom/entry_published_parsed_date_overwriting.xml b/lib/feedparser/tests/wellformed/atom/entry_published_parsed_date_overwriting.xml new file mode 100644 index 00000000..bd30e91a --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_published_parsed_date_overwriting.xml @@ -0,0 +1,10 @@ + + + +Thu, 01 Jan 2004 19:48:21 GMT +Sat, 01 Jan 2010 19:48:21 GMT + + diff --git a/lib/feedparser/tests/wellformed/atom/entry_source_updated_parsed.xml b/lib/feedparser/tests/wellformed/atom/entry_source_updated_parsed.xml new file mode 100644 index 00000000..d518d3df --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_source_updated_parsed.xml @@ -0,0 +1,11 @@ + + + + +2003-12-31T10:14:55Z + + + diff --git a/lib/feedparser/tests/wellformed/atom/entry_summary.xml b/lib/feedparser/tests/wellformed/atom/entry_summary.xml new file mode 100644 index 00000000..e12454b1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_summary.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_summary_base64.xml b/lib/feedparser/tests/wellformed/atom/entry_summary_base64.xml new file mode 100644 index 00000000..9c34f577 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_summary_base64.xml @@ -0,0 +1,11 @@ + + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_summary_base64_2.xml b/lib/feedparser/tests/wellformed/atom/entry_summary_base64_2.xml new file mode 100644 index 00000000..bfcd1836 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_summary_base64_2.xml @@ -0,0 +1,11 @@ + + + + +PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_summary_content_mode_base64.xml b/lib/feedparser/tests/wellformed/atom/entry_summary_content_mode_base64.xml new file mode 100644 index 00000000..282cff83 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_summary_content_mode_base64.xml @@ -0,0 +1,11 @@ + + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_summary_content_mode_escaped.xml b/lib/feedparser/tests/wellformed/atom/entry_summary_content_mode_escaped.xml new file mode 100644 index 00000000..1be7ac65 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_summary_content_mode_escaped.xml @@ -0,0 +1,9 @@ + + + + Example <b>Atom</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_summary_content_type.xml b/lib/feedparser/tests/wellformed/atom/entry_summary_content_type.xml new file mode 100644 index 00000000..f20078f7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_summary_content_type.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_summary_content_type_text_plain.xml b/lib/feedparser/tests/wellformed/atom/entry_summary_content_type_text_plain.xml new file mode 100644 index 00000000..704d21b6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_summary_content_type_text_plain.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_summary_content_value.xml b/lib/feedparser/tests/wellformed/atom/entry_summary_content_value.xml new file mode 100644 index 00000000..bbb74f71 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_summary_content_value.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_summary_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom/entry_summary_escaped_markup.xml new file mode 100644 index 00000000..fa1cd246 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_summary_escaped_markup.xml @@ -0,0 +1,9 @@ + + + + Example <b>Atom</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_summary_inline_markup.xml b/lib/feedparser/tests/wellformed/atom/entry_summary_inline_markup.xml new file mode 100644 index 00000000..be60d2c1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_summary_inline_markup.xml @@ -0,0 +1,9 @@ + + + +
Example Atom
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_summary_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom/entry_summary_inline_markup_2.xml new file mode 100644 index 00000000..fbd4dd80 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_summary_inline_markup_2.xml @@ -0,0 +1,9 @@ + + + +
History of the <blink> tag
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_summary_naked_markup.xml b/lib/feedparser/tests/wellformed/atom/entry_summary_naked_markup.xml new file mode 100644 index 00000000..d5926a7b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_summary_naked_markup.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_summary_text_plain.xml b/lib/feedparser/tests/wellformed/atom/entry_summary_text_plain.xml new file mode 100644 index 00000000..3839a854 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_summary_text_plain.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_title.xml b/lib/feedparser/tests/wellformed/atom/entry_title.xml new file mode 100644 index 00000000..1dd56fcd --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_title.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_title_base64.xml b/lib/feedparser/tests/wellformed/atom/entry_title_base64.xml new file mode 100644 index 00000000..85ac6caa --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_title_base64.xml @@ -0,0 +1,11 @@ + + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_title_base64_2.xml b/lib/feedparser/tests/wellformed/atom/entry_title_base64_2.xml new file mode 100644 index 00000000..330d3873 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_title_base64_2.xml @@ -0,0 +1,11 @@ + + + + +PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_title_content_mode_base64.xml b/lib/feedparser/tests/wellformed/atom/entry_title_content_mode_base64.xml new file mode 100644 index 00000000..fc9893de --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_title_content_mode_base64.xml @@ -0,0 +1,11 @@ + + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_title_content_mode_escaped.xml b/lib/feedparser/tests/wellformed/atom/entry_title_content_mode_escaped.xml new file mode 100644 index 00000000..eb6dd1bf --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_title_content_mode_escaped.xml @@ -0,0 +1,9 @@ + + + + Example <b>Atom</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_title_content_type.xml b/lib/feedparser/tests/wellformed/atom/entry_title_content_type.xml new file mode 100644 index 00000000..c14ef5a7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_title_content_type.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_title_content_type_text_plain.xml b/lib/feedparser/tests/wellformed/atom/entry_title_content_type_text_plain.xml new file mode 100644 index 00000000..bb0a1dce --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_title_content_type_text_plain.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_title_content_value.xml b/lib/feedparser/tests/wellformed/atom/entry_title_content_value.xml new file mode 100644 index 00000000..043d0af5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_title_content_value.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_title_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom/entry_title_escaped_markup.xml new file mode 100644 index 00000000..ccc24b8a --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_title_escaped_markup.xml @@ -0,0 +1,9 @@ + + + + Example <b>Atom</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_title_inline_markup.xml b/lib/feedparser/tests/wellformed/atom/entry_title_inline_markup.xml new file mode 100644 index 00000000..eb7c9315 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_title_inline_markup.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <b>Atom</b></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_title_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom/entry_title_inline_markup_2.xml new file mode 100644 index 00000000..71cfc507 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_title_inline_markup_2.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">History of the <blink> tag</div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_title_naked_markup.xml b/lib/feedparser/tests/wellformed/atom/entry_title_naked_markup.xml new file mode 100644 index 00000000..ffc9aa93 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_title_naked_markup.xml @@ -0,0 +1,9 @@ + + + + Example <b>Atom</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_title_text_plain.xml b/lib/feedparser/tests/wellformed/atom/entry_title_text_plain.xml new file mode 100644 index 00000000..f02a6264 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_title_text_plain.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_title_text_plain_brackets.xml b/lib/feedparser/tests/wellformed/atom/entry_title_text_plain_brackets.xml new file mode 100644 index 00000000..cbd327cb --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_title_text_plain_brackets.xml @@ -0,0 +1,9 @@ + + + + History of the <blink> tag + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/entry_updated_multiple_values.xml b/lib/feedparser/tests/wellformed/atom/entry_updated_multiple_values.xml new file mode 100644 index 00000000..386cd076 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_updated_multiple_values.xml @@ -0,0 +1,10 @@ + + + +2010-12-01T10:14:55Z +2003-12-31T10:14:55Z + + diff --git a/lib/feedparser/tests/wellformed/atom/entry_updated_parsed.xml b/lib/feedparser/tests/wellformed/atom/entry_updated_parsed.xml new file mode 100644 index 00000000..66a315be --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/entry_updated_parsed.xml @@ -0,0 +1,9 @@ + + + +2003-12-31T10:14:55Z + + diff --git a/lib/feedparser/tests/wellformed/atom/feed_author_email.xml b/lib/feedparser/tests/wellformed/atom/feed_author_email.xml new file mode 100644 index 00000000..3eb3f4a5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_author_email.xml @@ -0,0 +1,11 @@ + + + + Example author + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_author_homepage.xml b/lib/feedparser/tests/wellformed/atom/feed_author_homepage.xml new file mode 100644 index 00000000..3d7abf79 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_author_homepage.xml @@ -0,0 +1,11 @@ + + + + Example author + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_author_map_author.xml b/lib/feedparser/tests/wellformed/atom/feed_author_map_author.xml new file mode 100644 index 00000000..003a1f4d --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_author_map_author.xml @@ -0,0 +1,11 @@ + + + + Example author + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_author_map_author_2.xml b/lib/feedparser/tests/wellformed/atom/feed_author_map_author_2.xml new file mode 100644 index 00000000..977142f8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_author_map_author_2.xml @@ -0,0 +1,10 @@ + + + + Example author + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_author_name.xml b/lib/feedparser/tests/wellformed/atom/feed_author_name.xml new file mode 100644 index 00000000..8e2e0277 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_author_name.xml @@ -0,0 +1,11 @@ + + + + Example author + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_author_uri.xml b/lib/feedparser/tests/wellformed/atom/feed_author_uri.xml new file mode 100644 index 00000000..3df7ce32 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_author_uri.xml @@ -0,0 +1,11 @@ + + + + Example author + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_author_url.xml b/lib/feedparser/tests/wellformed/atom/feed_author_url.xml new file mode 100644 index 00000000..dd7cb1f9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_author_url.xml @@ -0,0 +1,11 @@ + + + + Example author + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_contributor_email.xml b/lib/feedparser/tests/wellformed/atom/feed_contributor_email.xml new file mode 100644 index 00000000..664e2a5e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_contributor_email.xml @@ -0,0 +1,11 @@ + + + + Example contributor + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_contributor_homepage.xml b/lib/feedparser/tests/wellformed/atom/feed_contributor_homepage.xml new file mode 100644 index 00000000..14d518e2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_contributor_homepage.xml @@ -0,0 +1,11 @@ + + + + Example contributor + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_contributor_multiple.xml b/lib/feedparser/tests/wellformed/atom/feed_contributor_multiple.xml new file mode 100644 index 00000000..64a1326e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_contributor_multiple.xml @@ -0,0 +1,16 @@ + + + + Contributor 1 + me@example.com + http://example.com/ + + + Contributor 2 + you@example.com + http://two.example.com/ + + diff --git a/lib/feedparser/tests/wellformed/atom/feed_contributor_name.xml b/lib/feedparser/tests/wellformed/atom/feed_contributor_name.xml new file mode 100644 index 00000000..56de5593 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_contributor_name.xml @@ -0,0 +1,11 @@ + + + + Example contributor + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_contributor_uri.xml b/lib/feedparser/tests/wellformed/atom/feed_contributor_uri.xml new file mode 100644 index 00000000..c462dcab --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_contributor_uri.xml @@ -0,0 +1,11 @@ + + + + Example contributor + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_contributor_url.xml b/lib/feedparser/tests/wellformed/atom/feed_contributor_url.xml new file mode 100644 index 00000000..f42c4ea9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_contributor_url.xml @@ -0,0 +1,11 @@ + + + + Example contributor + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_copyright.xml b/lib/feedparser/tests/wellformed/atom/feed_copyright.xml new file mode 100644 index 00000000..e1a82181 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_copyright.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_copyright_base64.xml b/lib/feedparser/tests/wellformed/atom/feed_copyright_base64.xml new file mode 100644 index 00000000..7b659993 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_copyright_base64.xml @@ -0,0 +1,9 @@ + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_copyright_base64_2.xml b/lib/feedparser/tests/wellformed/atom/feed_copyright_base64_2.xml new file mode 100644 index 00000000..3cffcff4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_copyright_base64_2.xml @@ -0,0 +1,9 @@ + + + +PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_copyright_content_mode_base64.xml b/lib/feedparser/tests/wellformed/atom/feed_copyright_content_mode_base64.xml new file mode 100644 index 00000000..3c68739a --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_copyright_content_mode_base64.xml @@ -0,0 +1,9 @@ + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_copyright_content_mode_escaped.xml b/lib/feedparser/tests/wellformed/atom/feed_copyright_content_mode_escaped.xml new file mode 100644 index 00000000..72132f8e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_copyright_content_mode_escaped.xml @@ -0,0 +1,7 @@ + + + Example <b>Atom</b> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_copyright_content_type.xml b/lib/feedparser/tests/wellformed/atom/feed_copyright_content_type.xml new file mode 100644 index 00000000..e77a8ee0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_copyright_content_type.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_copyright_content_type_text_plain.xml b/lib/feedparser/tests/wellformed/atom/feed_copyright_content_type_text_plain.xml new file mode 100644 index 00000000..39031396 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_copyright_content_type_text_plain.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_copyright_content_value.xml b/lib/feedparser/tests/wellformed/atom/feed_copyright_content_value.xml new file mode 100644 index 00000000..491c10e4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_copyright_content_value.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_copyright_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom/feed_copyright_escaped_markup.xml new file mode 100644 index 00000000..2f97df3e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_copyright_escaped_markup.xml @@ -0,0 +1,7 @@ + + + Example <b>Atom</b> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_copyright_inline_markup.xml b/lib/feedparser/tests/wellformed/atom/feed_copyright_inline_markup.xml new file mode 100644 index 00000000..bf8f211b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_copyright_inline_markup.xml @@ -0,0 +1,7 @@ + + +
Example Atom
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_copyright_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom/feed_copyright_inline_markup_2.xml new file mode 100644 index 00000000..d4e4df3a --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_copyright_inline_markup_2.xml @@ -0,0 +1,7 @@ + + +
History of the <blink> tag
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_copyright_naked_markup.xml b/lib/feedparser/tests/wellformed/atom/feed_copyright_naked_markup.xml new file mode 100644 index 00000000..a04eed41 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_copyright_naked_markup.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_copyright_text_plain.xml b/lib/feedparser/tests/wellformed/atom/feed_copyright_text_plain.xml new file mode 100644 index 00000000..5c71c1b9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_copyright_text_plain.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_generator.xml b/lib/feedparser/tests/wellformed/atom/feed_generator.xml new file mode 100644 index 00000000..21bce92b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_generator.xml @@ -0,0 +1,7 @@ + + + Example generator + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_generator_name.xml b/lib/feedparser/tests/wellformed/atom/feed_generator_name.xml new file mode 100644 index 00000000..349ed2de --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_generator_name.xml @@ -0,0 +1,7 @@ + + + Example generator + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_generator_url.xml b/lib/feedparser/tests/wellformed/atom/feed_generator_url.xml new file mode 100644 index 00000000..4efaed26 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_generator_url.xml @@ -0,0 +1,7 @@ + + + Example generator + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_generator_version.xml b/lib/feedparser/tests/wellformed/atom/feed_generator_version.xml new file mode 100644 index 00000000..c6c08855 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_generator_version.xml @@ -0,0 +1,7 @@ + + + Example generator + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_id.xml b/lib/feedparser/tests/wellformed/atom/feed_id.xml new file mode 100644 index 00000000..a875baeb --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_id.xml @@ -0,0 +1,7 @@ + + + http://example.com/ + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_id_map_guid.xml b/lib/feedparser/tests/wellformed/atom/feed_id_map_guid.xml new file mode 100644 index 00000000..9e6392dc --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_id_map_guid.xml @@ -0,0 +1,7 @@ + + + http://example.com/ + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_info.xml b/lib/feedparser/tests/wellformed/atom/feed_info.xml new file mode 100644 index 00000000..a4f98f72 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_info.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_info_base64.xml b/lib/feedparser/tests/wellformed/atom/feed_info_base64.xml new file mode 100644 index 00000000..df6136f3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_info_base64.xml @@ -0,0 +1,9 @@ + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_info_base64_2.xml b/lib/feedparser/tests/wellformed/atom/feed_info_base64_2.xml new file mode 100644 index 00000000..4f50e30f --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_info_base64_2.xml @@ -0,0 +1,9 @@ + + + +PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_info_content_mode_base64.xml b/lib/feedparser/tests/wellformed/atom/feed_info_content_mode_base64.xml new file mode 100644 index 00000000..0c3de704 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_info_content_mode_base64.xml @@ -0,0 +1,9 @@ + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_info_content_mode_escaped.xml b/lib/feedparser/tests/wellformed/atom/feed_info_content_mode_escaped.xml new file mode 100644 index 00000000..fdc27e69 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_info_content_mode_escaped.xml @@ -0,0 +1,7 @@ + + + Example <b>Atom</b> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_info_content_type.xml b/lib/feedparser/tests/wellformed/atom/feed_info_content_type.xml new file mode 100644 index 00000000..615d4d68 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_info_content_type.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_info_content_type_text_plain.xml b/lib/feedparser/tests/wellformed/atom/feed_info_content_type_text_plain.xml new file mode 100644 index 00000000..c97aef9e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_info_content_type_text_plain.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_info_content_value.xml b/lib/feedparser/tests/wellformed/atom/feed_info_content_value.xml new file mode 100644 index 00000000..d601f03e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_info_content_value.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_info_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom/feed_info_escaped_markup.xml new file mode 100644 index 00000000..4820f8be --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_info_escaped_markup.xml @@ -0,0 +1,7 @@ + + + Example <b>Atom</b> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_info_inline_markup.xml b/lib/feedparser/tests/wellformed/atom/feed_info_inline_markup.xml new file mode 100644 index 00000000..76e02eb0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_info_inline_markup.xml @@ -0,0 +1,7 @@ + + +
Example Atom
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_info_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom/feed_info_inline_markup_2.xml new file mode 100644 index 00000000..a6313b75 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_info_inline_markup_2.xml @@ -0,0 +1,7 @@ + + +
History of the <blink> tag
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_info_naked_markup.xml b/lib/feedparser/tests/wellformed/atom/feed_info_naked_markup.xml new file mode 100644 index 00000000..9dab661c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_info_naked_markup.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_info_text_plain.xml b/lib/feedparser/tests/wellformed/atom/feed_info_text_plain.xml new file mode 100644 index 00000000..e61ed050 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_info_text_plain.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_link_alternate_map_link.xml b/lib/feedparser/tests/wellformed/atom/feed_link_alternate_map_link.xml new file mode 100644 index 00000000..12842ffd --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_link_alternate_map_link.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_link_alternate_map_link_2.xml b/lib/feedparser/tests/wellformed/atom/feed_link_alternate_map_link_2.xml new file mode 100644 index 00000000..e63141c5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_link_alternate_map_link_2.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_link_href.xml b/lib/feedparser/tests/wellformed/atom/feed_link_href.xml new file mode 100644 index 00000000..6ab44d88 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_link_href.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_link_multiple.xml b/lib/feedparser/tests/wellformed/atom/feed_link_multiple.xml new file mode 100644 index 00000000..154fbbc3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_link_multiple.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/lib/feedparser/tests/wellformed/atom/feed_link_rel.xml b/lib/feedparser/tests/wellformed/atom/feed_link_rel.xml new file mode 100644 index 00000000..dd2fe64a --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_link_rel.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_link_title.xml b/lib/feedparser/tests/wellformed/atom/feed_link_title.xml new file mode 100644 index 00000000..b8339eb3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_link_title.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_link_type.xml b/lib/feedparser/tests/wellformed/atom/feed_link_type.xml new file mode 100644 index 00000000..4fddbfd8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_link_type.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_modified.xml b/lib/feedparser/tests/wellformed/atom/feed_modified.xml new file mode 100644 index 00000000..984f8ab6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_modified.xml @@ -0,0 +1,9 @@ + + + +Thu, 01 Jan 2004 19:48:21 GMT + + diff --git a/lib/feedparser/tests/wellformed/atom/feed_modified_map_updated_parsed.xml b/lib/feedparser/tests/wellformed/atom/feed_modified_map_updated_parsed.xml new file mode 100644 index 00000000..9099adaf --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_modified_map_updated_parsed.xml @@ -0,0 +1,9 @@ + + + +Thu, 01 Jan 2004 19:48:21 GMT + + diff --git a/lib/feedparser/tests/wellformed/atom/feed_tagline.xml b/lib/feedparser/tests/wellformed/atom/feed_tagline.xml new file mode 100644 index 00000000..ce170ef8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_tagline.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_tagline_base64.xml b/lib/feedparser/tests/wellformed/atom/feed_tagline_base64.xml new file mode 100644 index 00000000..196e0860 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_tagline_base64.xml @@ -0,0 +1,9 @@ + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_tagline_base64_2.xml b/lib/feedparser/tests/wellformed/atom/feed_tagline_base64_2.xml new file mode 100644 index 00000000..eb57d151 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_tagline_base64_2.xml @@ -0,0 +1,9 @@ + + + +PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_tagline_content_mode_base64.xml b/lib/feedparser/tests/wellformed/atom/feed_tagline_content_mode_base64.xml new file mode 100644 index 00000000..ff55466c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_tagline_content_mode_base64.xml @@ -0,0 +1,9 @@ + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_tagline_content_mode_escaped.xml b/lib/feedparser/tests/wellformed/atom/feed_tagline_content_mode_escaped.xml new file mode 100644 index 00000000..2a28f0b4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_tagline_content_mode_escaped.xml @@ -0,0 +1,7 @@ + + + Example <b>Atom</b> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_tagline_content_type.xml b/lib/feedparser/tests/wellformed/atom/feed_tagline_content_type.xml new file mode 100644 index 00000000..8d7c831a --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_tagline_content_type.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_tagline_content_type_text_plain.xml b/lib/feedparser/tests/wellformed/atom/feed_tagline_content_type_text_plain.xml new file mode 100644 index 00000000..a63a3ca7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_tagline_content_type_text_plain.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_tagline_content_value.xml b/lib/feedparser/tests/wellformed/atom/feed_tagline_content_value.xml new file mode 100644 index 00000000..24bc7ae7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_tagline_content_value.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_tagline_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom/feed_tagline_escaped_markup.xml new file mode 100644 index 00000000..4530eabc --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_tagline_escaped_markup.xml @@ -0,0 +1,7 @@ + + + Example <b>Atom</b> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_tagline_inline_markup.xml b/lib/feedparser/tests/wellformed/atom/feed_tagline_inline_markup.xml new file mode 100644 index 00000000..6330c385 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_tagline_inline_markup.xml @@ -0,0 +1,7 @@ + + +
Example Atom
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_tagline_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom/feed_tagline_inline_markup_2.xml new file mode 100644 index 00000000..afb7ebee --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_tagline_inline_markup_2.xml @@ -0,0 +1,7 @@ + + +
History of the <blink> tag
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_tagline_naked_markup.xml b/lib/feedparser/tests/wellformed/atom/feed_tagline_naked_markup.xml new file mode 100644 index 00000000..4e213464 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_tagline_naked_markup.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_tagline_text_plain.xml b/lib/feedparser/tests/wellformed/atom/feed_tagline_text_plain.xml new file mode 100644 index 00000000..96d7d9cd --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_tagline_text_plain.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_title.xml b/lib/feedparser/tests/wellformed/atom/feed_title.xml new file mode 100644 index 00000000..b59200cb --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_title.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_title_base64.xml b/lib/feedparser/tests/wellformed/atom/feed_title_base64.xml new file mode 100644 index 00000000..f13b3c13 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_title_base64.xml @@ -0,0 +1,9 @@ + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_title_base64_2.xml b/lib/feedparser/tests/wellformed/atom/feed_title_base64_2.xml new file mode 100644 index 00000000..a372b839 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_title_base64_2.xml @@ -0,0 +1,9 @@ + + + +PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_title_content_mode_base64.xml b/lib/feedparser/tests/wellformed/atom/feed_title_content_mode_base64.xml new file mode 100644 index 00000000..ac9ff594 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_title_content_mode_base64.xml @@ -0,0 +1,9 @@ + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_title_content_mode_escaped.xml b/lib/feedparser/tests/wellformed/atom/feed_title_content_mode_escaped.xml new file mode 100644 index 00000000..3ff055a1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_title_content_mode_escaped.xml @@ -0,0 +1,7 @@ + + + Example <b>Atom</b> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_title_content_type.xml b/lib/feedparser/tests/wellformed/atom/feed_title_content_type.xml new file mode 100644 index 00000000..c2075031 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_title_content_type.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_title_content_type_text_plain.xml b/lib/feedparser/tests/wellformed/atom/feed_title_content_type_text_plain.xml new file mode 100644 index 00000000..8bf0060b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_title_content_type_text_plain.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_title_content_value.xml b/lib/feedparser/tests/wellformed/atom/feed_title_content_value.xml new file mode 100644 index 00000000..ac5cbdbe --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_title_content_value.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_title_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom/feed_title_escaped_markup.xml new file mode 100644 index 00000000..b2daea2b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_title_escaped_markup.xml @@ -0,0 +1,7 @@ + + + Example <b>Atom</b> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_title_inline_markup.xml b/lib/feedparser/tests/wellformed/atom/feed_title_inline_markup.xml new file mode 100644 index 00000000..0b675936 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_title_inline_markup.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <b>Atom</b></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_title_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom/feed_title_inline_markup_2.xml new file mode 100644 index 00000000..e687f402 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_title_inline_markup_2.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">History of the <blink> tag</div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_title_naked_markup.xml b/lib/feedparser/tests/wellformed/atom/feed_title_naked_markup.xml new file mode 100644 index 00000000..fa4c3056 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_title_naked_markup.xml @@ -0,0 +1,7 @@ + + + Example <b>Atom</b> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_title_text_plain.xml b/lib/feedparser/tests/wellformed/atom/feed_title_text_plain.xml new file mode 100644 index 00000000..3c94b7ee --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_title_text_plain.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/feed_updated_parsed.xml b/lib/feedparser/tests/wellformed/atom/feed_updated_parsed.xml new file mode 100644 index 00000000..a5ddfec1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/feed_updated_parsed.xml @@ -0,0 +1,7 @@ + + +2003-12-31T10:14:55Z + diff --git a/lib/feedparser/tests/wellformed/atom/media_player1.xml b/lib/feedparser/tests/wellformed/atom/media_player1.xml new file mode 100644 index 00000000..c95a7b2c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/media_player1.xml @@ -0,0 +1,10 @@ + + + + + Example Atom + + diff --git a/lib/feedparser/tests/wellformed/atom/media_thumbnail.xml b/lib/feedparser/tests/wellformed/atom/media_thumbnail.xml new file mode 100644 index 00000000..6288bfa5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/media_thumbnail.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + diff --git a/lib/feedparser/tests/wellformed/atom/relative_uri.xml b/lib/feedparser/tests/wellformed/atom/relative_uri.xml new file mode 100644 index 00000000..0de466dd --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/relative_uri.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/relative_uri_inherit.xml b/lib/feedparser/tests/wellformed/atom/relative_uri_inherit.xml new file mode 100644 index 00000000..a2195de9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/relative_uri_inherit.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom/relative_uri_inherit_2.xml b/lib/feedparser/tests/wellformed/atom/relative_uri_inherit_2.xml new file mode 100644 index 00000000..8ce7778a --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom/relative_uri_inherit_2.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/ampersand_in_attr.xml b/lib/feedparser/tests/wellformed/atom10/ampersand_in_attr.xml new file mode 100644 index 00000000..2dcec428 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/ampersand_in_attr.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="http://example.com/?a=1&b=2">test</a></div> + diff --git a/lib/feedparser/tests/wellformed/atom10/atom10_namespace.xml b/lib/feedparser/tests/wellformed/atom10/atom10_namespace.xml new file mode 100644 index 00000000..c1278530 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/atom10_namespace.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/atom10_version.xml b/lib/feedparser/tests/wellformed/atom10/atom10_version.xml new file mode 100644 index 00000000..e27c9111 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/atom10_version.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_author_email.xml b/lib/feedparser/tests/wellformed/atom10/entry_author_email.xml new file mode 100644 index 00000000..45d71fbf --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_author_email.xml @@ -0,0 +1,13 @@ + + + + + Example author + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_author_map_author.xml b/lib/feedparser/tests/wellformed/atom10/entry_author_map_author.xml new file mode 100644 index 00000000..84a0776a --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_author_map_author.xml @@ -0,0 +1,13 @@ + + + + + Example author + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_author_map_author_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_author_map_author_2.xml new file mode 100644 index 00000000..687d3d03 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_author_map_author_2.xml @@ -0,0 +1,12 @@ + + + + + Example author + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_author_name.xml b/lib/feedparser/tests/wellformed/atom10/entry_author_name.xml new file mode 100644 index 00000000..fb2157d6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_author_name.xml @@ -0,0 +1,13 @@ + + + + + Example author + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_author_uri.xml b/lib/feedparser/tests/wellformed/atom10/entry_author_uri.xml new file mode 100644 index 00000000..86e1e856 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_author_uri.xml @@ -0,0 +1,13 @@ + + + + + Example author + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_author_url.xml b/lib/feedparser/tests/wellformed/atom10/entry_author_url.xml new file mode 100644 index 00000000..dae246ae --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_author_url.xml @@ -0,0 +1,13 @@ + + + + + Example author + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_authors_email.xml b/lib/feedparser/tests/wellformed/atom10/entry_authors_email.xml new file mode 100644 index 00000000..d5a6369a --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_authors_email.xml @@ -0,0 +1,15 @@ + + + + + + one@one.com + + + two@two.com + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_authors_name.xml b/lib/feedparser/tests/wellformed/atom10/entry_authors_name.xml new file mode 100644 index 00000000..a0e74ae4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_authors_name.xml @@ -0,0 +1,15 @@ + + + + + + one + + + two + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_authors_uri.xml b/lib/feedparser/tests/wellformed/atom10/entry_authors_uri.xml new file mode 100644 index 00000000..68dbc03b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_authors_uri.xml @@ -0,0 +1,15 @@ + + + + + + http://one.com/ + + + http://two.com/ + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_authors_url.xml b/lib/feedparser/tests/wellformed/atom10/entry_authors_url.xml new file mode 100644 index 00000000..09a1f843 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_authors_url.xml @@ -0,0 +1,15 @@ + + + + + + http://one.com/ + + + http://two.com/ + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_category_label.xml b/lib/feedparser/tests/wellformed/atom10/entry_category_label.xml new file mode 100644 index 00000000..7691de37 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_category_label.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_category_scheme.xml b/lib/feedparser/tests/wellformed/atom10/entry_category_scheme.xml new file mode 100644 index 00000000..a88defc2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_category_scheme.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_category_term.xml b/lib/feedparser/tests/wellformed/atom10/entry_category_term.xml new file mode 100644 index 00000000..f0755b39 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_category_term.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_category_term_non_ascii.xml b/lib/feedparser/tests/wellformed/atom10/entry_category_term_non_ascii.xml new file mode 100644 index 00000000..a2529b5f --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_category_term_non_ascii.xml @@ -0,0 +1,9 @@ + + + + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_content_application_xml.xml b/lib/feedparser/tests/wellformed/atom10/entry_content_application_xml.xml new file mode 100644 index 00000000..9506726e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_content_application_xml.xml @@ -0,0 +1,9 @@ + + + +
Example Atom
+
+
diff --git a/lib/feedparser/tests/wellformed/atom10/entry_content_base64.xml b/lib/feedparser/tests/wellformed/atom10/entry_content_base64.xml new file mode 100644 index 00000000..09ff3b0c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_content_base64.xml @@ -0,0 +1,11 @@ + + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_content_base64_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_content_base64_2.xml new file mode 100644 index 00000000..84de7fe1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_content_base64_2.xml @@ -0,0 +1,11 @@ + + + + +PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_content_div_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom10/entry_content_div_escaped_markup.xml new file mode 100644 index 00000000..f1f0a974 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_content_div_escaped_markup.xml @@ -0,0 +1,9 @@ + + + +
Example <b>Atom</b>
+
+
diff --git a/lib/feedparser/tests/wellformed/atom10/entry_content_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom10/entry_content_escaped_markup.xml new file mode 100644 index 00000000..44a6e0a2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_content_escaped_markup.xml @@ -0,0 +1,9 @@ + + + + Example <b>Atom</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_content_inline_markup.xml b/lib/feedparser/tests/wellformed/atom10/entry_content_inline_markup.xml new file mode 100644 index 00000000..1dc354e6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_content_inline_markup.xml @@ -0,0 +1,9 @@ + + + +
Example Atom
+
+
diff --git a/lib/feedparser/tests/wellformed/atom10/entry_content_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_content_inline_markup_2.xml new file mode 100644 index 00000000..e47e68f8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_content_inline_markup_2.xml @@ -0,0 +1,9 @@ + + + +
History of the <blink> tag
+
+
diff --git a/lib/feedparser/tests/wellformed/atom10/entry_content_src.xml b/lib/feedparser/tests/wellformed/atom10/entry_content_src.xml new file mode 100644 index 00000000..0b808a8d --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_content_src.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_content_text_plain.xml b/lib/feedparser/tests/wellformed/atom10/entry_content_text_plain.xml new file mode 100644 index 00000000..402d6dd9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_content_text_plain.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_content_text_plain_brackets.xml b/lib/feedparser/tests/wellformed/atom10/entry_content_text_plain_brackets.xml new file mode 100644 index 00000000..b6f7401c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_content_text_plain_brackets.xml @@ -0,0 +1,9 @@ + + + + History of the <blink> tag + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_content_type.xml b/lib/feedparser/tests/wellformed/atom10/entry_content_type.xml new file mode 100644 index 00000000..c2d3adb8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_content_type.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_content_type_text.xml b/lib/feedparser/tests/wellformed/atom10/entry_content_type_text.xml new file mode 100644 index 00000000..e6a5e98b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_content_type_text.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_content_value.xml b/lib/feedparser/tests/wellformed/atom10/entry_content_value.xml new file mode 100644 index 00000000..9fd290b4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_content_value.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_contributor_email.xml b/lib/feedparser/tests/wellformed/atom10/entry_contributor_email.xml new file mode 100644 index 00000000..ab60eeff --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_contributor_email.xml @@ -0,0 +1,13 @@ + + + + + Example contributor + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_contributor_multiple.xml b/lib/feedparser/tests/wellformed/atom10/entry_contributor_multiple.xml new file mode 100644 index 00000000..f132f41b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_contributor_multiple.xml @@ -0,0 +1,18 @@ + + + + + Contributor 1 + me@example.com + http://example.com/ + + + Contributor 2 + you@example.com + http://two.example.com/ + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_contributor_name.xml b/lib/feedparser/tests/wellformed/atom10/entry_contributor_name.xml new file mode 100644 index 00000000..3ac96e82 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_contributor_name.xml @@ -0,0 +1,13 @@ + + + + + Example contributor + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_contributor_uri.xml b/lib/feedparser/tests/wellformed/atom10/entry_contributor_uri.xml new file mode 100644 index 00000000..4a176b6d --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_contributor_uri.xml @@ -0,0 +1,13 @@ + + + + + Example contributor + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_contributor_url.xml b/lib/feedparser/tests/wellformed/atom10/entry_contributor_url.xml new file mode 100644 index 00000000..dcc87f9b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_contributor_url.xml @@ -0,0 +1,13 @@ + + + + + Example contributor + me@example.com + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_id.xml b/lib/feedparser/tests/wellformed/atom10/entry_id.xml new file mode 100644 index 00000000..b06db1b5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_id.xml @@ -0,0 +1,9 @@ + + + + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_id_map_guid.xml b/lib/feedparser/tests/wellformed/atom10/entry_id_map_guid.xml new file mode 100644 index 00000000..aa4b2bef --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_id_map_guid.xml @@ -0,0 +1,9 @@ + + + + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_1.xml b/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_1.xml new file mode 100644 index 00000000..ea4f6e5c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_1.xml @@ -0,0 +1,9 @@ + + + + http://www.example.org/thing + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_2.xml new file mode 100644 index 00000000..8b4df51c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_2.xml @@ -0,0 +1,9 @@ + + + + http://www.example.org/Thing + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_3.xml b/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_3.xml new file mode 100644 index 00000000..e7f613ea --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_3.xml @@ -0,0 +1,9 @@ + + + + http://www.EXAMPLE.org/thing + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_4.xml b/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_4.xml new file mode 100644 index 00000000..32329366 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_4.xml @@ -0,0 +1,9 @@ + + + + HTTP://www.example.org/thing + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_5.xml b/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_5.xml new file mode 100644 index 00000000..0c08db8d --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_5.xml @@ -0,0 +1,9 @@ + + + + http://www.example.com/~bob + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_6.xml b/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_6.xml new file mode 100644 index 00000000..45db81fa --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_6.xml @@ -0,0 +1,9 @@ + + + + http://www.example.com/%7ebob + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_7.xml b/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_7.xml new file mode 100644 index 00000000..25b6f7c7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_id_no_normalization_7.xml @@ -0,0 +1,9 @@ + + + + http://www.example.com/%7Ebob + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_id_with_attributes.xml b/lib/feedparser/tests/wellformed/atom10/entry_id_with_attributes.xml new file mode 100644 index 00000000..0829da91 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_id_with_attributes.xml @@ -0,0 +1,9 @@ + + + + right + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_alternate_map_link.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_alternate_map_link.xml new file mode 100644 index 00000000..a507ee3e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_alternate_map_link.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_alternate_map_link_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_alternate_map_link_2.xml new file mode 100644 index 00000000..f46e8b61 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_alternate_map_link_2.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_alternate_map_link_3.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_alternate_map_link_3.xml new file mode 100644 index 00000000..ec49b560 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_alternate_map_link_3.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_href.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_href.xml new file mode 100644 index 00000000..f69da53b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_href.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_hreflang.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_hreflang.xml new file mode 100644 index 00000000..15b23a0e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_hreflang.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_length.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_length.xml new file mode 100644 index 00000000..c41378ee --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_length.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_multiple.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_multiple.xml new file mode 100644 index 00000000..c50f93ee --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_multiple.xml @@ -0,0 +1,10 @@ + + + + + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_no_rel.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_no_rel.xml new file mode 100644 index 00000000..d18a8115 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_no_rel.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_rel.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_rel.xml new file mode 100644 index 00000000..a056a8a7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_rel.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_rel_enclosure.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_enclosure.xml new file mode 100644 index 00000000..26f4d7f7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_enclosure.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_length.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_length.xml new file mode 100644 index 00000000..8798fa0e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_length.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_type.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_type.xml new file mode 100644 index 00000000..73e8e16e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_type.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_url.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_url.xml new file mode 100644 index 00000000..4c085d6b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_url.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_rel_license.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_license.xml new file mode 100644 index 00000000..2438a177 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_license.xml @@ -0,0 +1,9 @@ + + + + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_rel_other.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_other.xml new file mode 100644 index 00000000..b4117738 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_other.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_rel_related.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_related.xml new file mode 100644 index 00000000..56614050 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_related.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_rel_self.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_self.xml new file mode 100644 index 00000000..cf0570cb --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_self.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_rel_via.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_via.xml new file mode 100644 index 00000000..e60edd95 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_rel_via.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_title.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_title.xml new file mode 100644 index 00000000..590c9b3b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_title.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_link_type.xml b/lib/feedparser/tests/wellformed/atom10/entry_link_type.xml new file mode 100644 index 00000000..04ec5f7d --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_link_type.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_rights.xml b/lib/feedparser/tests/wellformed/atom10/entry_rights.xml new file mode 100644 index 00000000..c86d9b94 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_rights.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_rights_content_value.xml b/lib/feedparser/tests/wellformed/atom10/entry_rights_content_value.xml new file mode 100644 index 00000000..4f827653 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_rights_content_value.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_rights_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom10/entry_rights_escaped_markup.xml new file mode 100644 index 00000000..94dabcb7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_rights_escaped_markup.xml @@ -0,0 +1,9 @@ + + + + Example <b>Atom</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_rights_inline_markup.xml b/lib/feedparser/tests/wellformed/atom10/entry_rights_inline_markup.xml new file mode 100644 index 00000000..95d20ace --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_rights_inline_markup.xml @@ -0,0 +1,9 @@ + + + +
Example Atom
+
+
diff --git a/lib/feedparser/tests/wellformed/atom10/entry_rights_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_rights_inline_markup_2.xml new file mode 100644 index 00000000..27616731 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_rights_inline_markup_2.xml @@ -0,0 +1,9 @@ + + + +
History of the <blink> tag
+
+
diff --git a/lib/feedparser/tests/wellformed/atom10/entry_rights_text_plain.xml b/lib/feedparser/tests/wellformed/atom10/entry_rights_text_plain.xml new file mode 100644 index 00000000..bc887b30 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_rights_text_plain.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_rights_text_plain_brackets.xml b/lib/feedparser/tests/wellformed/atom10/entry_rights_text_plain_brackets.xml new file mode 100644 index 00000000..3516f961 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_rights_text_plain_brackets.xml @@ -0,0 +1,9 @@ + + + + History of the <blink> tag + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_rights_type_default.xml b/lib/feedparser/tests/wellformed/atom10/entry_rights_type_default.xml new file mode 100644 index 00000000..31b40019 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_rights_type_default.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_rights_type_text.xml b/lib/feedparser/tests/wellformed/atom10/entry_rights_type_text.xml new file mode 100644 index 00000000..c1b82cef --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_rights_type_text.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_author_email.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_author_email.xml new file mode 100644 index 00000000..fffb3197 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_author_email.xml @@ -0,0 +1,15 @@ + + + + + + Example author + me@example.com + http://example.com/ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_author_map_author.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_author_map_author.xml new file mode 100644 index 00000000..4db9605e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_author_map_author.xml @@ -0,0 +1,15 @@ + + + + + + Example author + me@example.com + http://example.com/ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_author_map_author_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_author_map_author_2.xml new file mode 100644 index 00000000..6d2c00df --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_author_map_author_2.xml @@ -0,0 +1,14 @@ + + + + + + Example author + http://example.com/ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_author_name.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_author_name.xml new file mode 100644 index 00000000..d4d5c74f --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_author_name.xml @@ -0,0 +1,15 @@ + + + + + + Example author + me@example.com + http://example.com/ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_author_uri.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_author_uri.xml new file mode 100644 index 00000000..df971db8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_author_uri.xml @@ -0,0 +1,15 @@ + + + + + + Example author + me@example.com + http://example.com/ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_authors_email.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_authors_email.xml new file mode 100644 index 00000000..b8125eb1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_authors_email.xml @@ -0,0 +1,17 @@ + + + + + + + one@one.com + + + two@two.com + + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_authors_name.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_authors_name.xml new file mode 100644 index 00000000..1c846064 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_authors_name.xml @@ -0,0 +1,17 @@ + + + + + + + one + + + two + + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_authors_uri.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_authors_uri.xml new file mode 100644 index 00000000..9901ab75 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_authors_uri.xml @@ -0,0 +1,17 @@ + + + + + + + http://one.com/ + + + http://two.com/ + + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_authors_url.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_authors_url.xml new file mode 100644 index 00000000..c48af343 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_authors_url.xml @@ -0,0 +1,17 @@ + + + + + + + http://one.com/ + + + http://two.com/ + + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_category_label.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_category_label.xml new file mode 100644 index 00000000..037b357a --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_category_label.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_category_scheme.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_category_scheme.xml new file mode 100644 index 00000000..a93edaab --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_category_scheme.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_category_term.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_category_term.xml new file mode 100644 index 00000000..d75748d9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_category_term.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_category_term_non_ascii.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_category_term_non_ascii.xml new file mode 100644 index 00000000..5b1bd144 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_category_term_non_ascii.xml @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_contributor_email.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_contributor_email.xml new file mode 100644 index 00000000..8662a9ac --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_contributor_email.xml @@ -0,0 +1,15 @@ + + + + + + Example contributor + me@example.com + http://example.com/ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_contributor_multiple.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_contributor_multiple.xml new file mode 100644 index 00000000..4dd68e37 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_contributor_multiple.xml @@ -0,0 +1,20 @@ + + + + + + Contributor 1 + me@example.com + http://example.com/ + + + Contributor 2 + you@example.com + http://two.example.com/ + + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_contributor_name.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_contributor_name.xml new file mode 100644 index 00000000..6455366e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_contributor_name.xml @@ -0,0 +1,15 @@ + + + + + + Example contributor + me@example.com + http://example.com/ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_contributor_uri.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_contributor_uri.xml new file mode 100644 index 00000000..cedf60f8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_contributor_uri.xml @@ -0,0 +1,15 @@ + + + + + + Example contributor + me@example.com + http://example.com/ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_generator.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_generator.xml new file mode 100644 index 00000000..6c4605bf --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_generator.xml @@ -0,0 +1,11 @@ + + + + + Example generator + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_generator_name.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_generator_name.xml new file mode 100644 index 00000000..be328aaf --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_generator_name.xml @@ -0,0 +1,11 @@ + + + + + Example generator + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_generator_uri.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_generator_uri.xml new file mode 100644 index 00000000..ec5696a6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_generator_uri.xml @@ -0,0 +1,11 @@ + + + + + Example generator + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_generator_version.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_generator_version.xml new file mode 100644 index 00000000..cfbe01d0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_generator_version.xml @@ -0,0 +1,11 @@ + + + + + Example generator + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_icon.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_icon.xml new file mode 100644 index 00000000..1b40b28f --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_icon.xml @@ -0,0 +1,11 @@ + + + + + http://example.com/favicon.ico + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_id.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_id.xml new file mode 100644 index 00000000..56fa8191 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_id.xml @@ -0,0 +1,11 @@ + + + + + http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_link_alternate_map_link.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_link_alternate_map_link.xml new file mode 100644 index 00000000..9982b6b5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_link_alternate_map_link.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_link_alternate_map_link_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_link_alternate_map_link_2.xml new file mode 100644 index 00000000..140e749c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_link_alternate_map_link_2.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_link_href.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_link_href.xml new file mode 100644 index 00000000..5e2bccf4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_link_href.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_link_hreflang.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_link_hreflang.xml new file mode 100644 index 00000000..973a28df --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_link_hreflang.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_link_length.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_link_length.xml new file mode 100644 index 00000000..5fd2f859 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_link_length.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_link_multiple.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_link_multiple.xml new file mode 100644 index 00000000..a9656242 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_link_multiple.xml @@ -0,0 +1,12 @@ + + + + + + + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_link_no_rel.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_link_no_rel.xml new file mode 100644 index 00000000..ee9a6ea7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_link_no_rel.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_link_rel.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_link_rel.xml new file mode 100644 index 00000000..5b1a8cdd --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_link_rel.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_link_rel_other.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_link_rel_other.xml new file mode 100644 index 00000000..e24399f3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_link_rel_other.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_link_rel_related.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_link_rel_related.xml new file mode 100644 index 00000000..5eb71976 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_link_rel_related.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_link_rel_self.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_link_rel_self.xml new file mode 100644 index 00000000..ee04ef85 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_link_rel_self.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_link_rel_via.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_link_rel_via.xml new file mode 100644 index 00000000..15b9bbfb --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_link_rel_via.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_link_title.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_link_title.xml new file mode 100644 index 00000000..1c8ff561 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_link_title.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_link_type.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_link_type.xml new file mode 100644 index 00000000..d77060bb --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_link_type.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_logo.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_logo.xml new file mode 100644 index 00000000..2b43b39c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_logo.xml @@ -0,0 +1,11 @@ + + + + + http://example.com/logo.jpg + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_rights.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_rights.xml new file mode 100644 index 00000000..d8d6ede8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_rights.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_rights_base64.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_base64.xml new file mode 100644 index 00000000..a101d3f1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_base64.xml @@ -0,0 +1,13 @@ + + + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_rights_base64_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_base64_2.xml new file mode 100644 index 00000000..f0a5c1de --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_base64_2.xml @@ -0,0 +1,13 @@ + + + + + +PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_rights_content_type.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_content_type.xml new file mode 100644 index 00000000..acf70585 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_content_type.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_rights_content_type_text.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_content_type_text.xml new file mode 100644 index 00000000..5bd7d131 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_content_type_text.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_rights_content_value.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_content_value.xml new file mode 100644 index 00000000..7a47e880 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_content_value.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_rights_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_escaped_markup.xml new file mode 100644 index 00000000..4501ae59 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_escaped_markup.xml @@ -0,0 +1,11 @@ + + + + + Example <b>Atom</b> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_rights_inline_markup.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_inline_markup.xml new file mode 100644 index 00000000..1c264fb5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_inline_markup.xml @@ -0,0 +1,11 @@ + + + + +
Example Atom
+ +
+
diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_rights_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_inline_markup_2.xml new file mode 100644 index 00000000..9467b79b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_inline_markup_2.xml @@ -0,0 +1,11 @@ + + + + +
History of the <blink> tag
+ +
+
diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_rights_text_plain.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_text_plain.xml new file mode 100644 index 00000000..f5bc9d36 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_rights_text_plain.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_subittle_content_type_text.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_subittle_content_type_text.xml new file mode 100644 index 00000000..c4dda832 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_subittle_content_type_text.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle.xml new file mode 100644 index 00000000..828129b0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_base64.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_base64.xml new file mode 100644 index 00000000..5821b8cd --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_base64.xml @@ -0,0 +1,13 @@ + + + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_base64_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_base64_2.xml new file mode 100644 index 00000000..10fea62b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_base64_2.xml @@ -0,0 +1,13 @@ + + + + + +PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_content_type.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_content_type.xml new file mode 100644 index 00000000..b92408ed --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_content_type.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_content_value.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_content_value.xml new file mode 100644 index 00000000..5a8d120e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_content_value.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_escaped_markup.xml new file mode 100644 index 00000000..4b7cf90c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_escaped_markup.xml @@ -0,0 +1,11 @@ + + + + + Example <b>Atom</b> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_inline_markup.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_inline_markup.xml new file mode 100644 index 00000000..a82035be --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_inline_markup.xml @@ -0,0 +1,11 @@ + + + + +
Example Atom
+ +
+
diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_inline_markup_2.xml new file mode 100644 index 00000000..10df20c0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_inline_markup_2.xml @@ -0,0 +1,11 @@ + + + + +
History of the <blink> tag
+ +
+
diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_text_plain.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_text_plain.xml new file mode 100644 index 00000000..e5994480 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_subtitle_text_plain.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_title.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_title.xml new file mode 100644 index 00000000..f7640979 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_title.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_title_base64.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_title_base64.xml new file mode 100644 index 00000000..32727421 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_title_base64.xml @@ -0,0 +1,13 @@ + + + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_title_base64_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_title_base64_2.xml new file mode 100644 index 00000000..1687b7cb --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_title_base64_2.xml @@ -0,0 +1,13 @@ + + + + + +PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_title_content_type.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_title_content_type.xml new file mode 100644 index 00000000..de8c0d33 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_title_content_type.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_title_content_type_text.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_title_content_type_text.xml new file mode 100644 index 00000000..d14b9aff --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_title_content_type_text.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_title_content_value.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_title_content_value.xml new file mode 100644 index 00000000..149e9a5c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_title_content_value.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_title_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_title_escaped_markup.xml new file mode 100644 index 00000000..1d606868 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_title_escaped_markup.xml @@ -0,0 +1,11 @@ + + + + + Example <b>Atom</b> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_title_inline_markup.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_title_inline_markup.xml new file mode 100644 index 00000000..e2060b56 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_title_inline_markup.xml @@ -0,0 +1,11 @@ + + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <b>Atom</b></div> + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_title_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_title_inline_markup_2.xml new file mode 100644 index 00000000..bc186718 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_title_inline_markup_2.xml @@ -0,0 +1,11 @@ + + + + + <div xmlns="http://www.w3.org/1999/xhtml">History of the <blink> tag</div> + + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_source_title_text_plain.xml b/lib/feedparser/tests/wellformed/atom10/entry_source_title_text_plain.xml new file mode 100644 index 00000000..34f190b9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_source_title_text_plain.xml @@ -0,0 +1,11 @@ + + + + + Example Atom + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_summary.xml b/lib/feedparser/tests/wellformed/atom10/entry_summary.xml new file mode 100644 index 00000000..65ed3d6d --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_summary.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_summary_base64.xml b/lib/feedparser/tests/wellformed/atom10/entry_summary_base64.xml new file mode 100644 index 00000000..8c34a40d --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_summary_base64.xml @@ -0,0 +1,11 @@ + + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_summary_base64_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_summary_base64_2.xml new file mode 100644 index 00000000..7cd16258 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_summary_base64_2.xml @@ -0,0 +1,11 @@ + + + + +PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_summary_content_value.xml b/lib/feedparser/tests/wellformed/atom10/entry_summary_content_value.xml new file mode 100644 index 00000000..ecf48929 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_summary_content_value.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_summary_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom10/entry_summary_escaped_markup.xml new file mode 100644 index 00000000..c6236c1d --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_summary_escaped_markup.xml @@ -0,0 +1,9 @@ + + + + Example <b>Atom</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_summary_inline_markup.xml b/lib/feedparser/tests/wellformed/atom10/entry_summary_inline_markup.xml new file mode 100644 index 00000000..b174bf8f --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_summary_inline_markup.xml @@ -0,0 +1,9 @@ + + + +
Example Atom
+
+
diff --git a/lib/feedparser/tests/wellformed/atom10/entry_summary_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_summary_inline_markup_2.xml new file mode 100644 index 00000000..45ecf452 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_summary_inline_markup_2.xml @@ -0,0 +1,9 @@ + + + +
History of the <blink> tag
+
+
diff --git a/lib/feedparser/tests/wellformed/atom10/entry_summary_text_plain.xml b/lib/feedparser/tests/wellformed/atom10/entry_summary_text_plain.xml new file mode 100644 index 00000000..2a1731f9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_summary_text_plain.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_summary_type_default.xml b/lib/feedparser/tests/wellformed/atom10/entry_summary_type_default.xml new file mode 100644 index 00000000..ac7d18ef --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_summary_type_default.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_summary_type_text.xml b/lib/feedparser/tests/wellformed/atom10/entry_summary_type_text.xml new file mode 100644 index 00000000..70a0e23c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_summary_type_text.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_title.xml b/lib/feedparser/tests/wellformed/atom10/entry_title.xml new file mode 100644 index 00000000..b3ed03f8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_title.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_title_base64.xml b/lib/feedparser/tests/wellformed/atom10/entry_title_base64.xml new file mode 100644 index 00000000..856b9b2c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_title_base64.xml @@ -0,0 +1,11 @@ + + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_title_base64_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_title_base64_2.xml new file mode 100644 index 00000000..30e2bd8e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_title_base64_2.xml @@ -0,0 +1,11 @@ + + + + +PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_title_content_value.xml b/lib/feedparser/tests/wellformed/atom10/entry_title_content_value.xml new file mode 100644 index 00000000..b3324205 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_title_content_value.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_title_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom10/entry_title_escaped_markup.xml new file mode 100644 index 00000000..71e6e6d5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_title_escaped_markup.xml @@ -0,0 +1,9 @@ + + + + Example <b>Atom</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_title_inline_markup.xml b/lib/feedparser/tests/wellformed/atom10/entry_title_inline_markup.xml new file mode 100644 index 00000000..650468b4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_title_inline_markup.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <b>Atom</b></div> + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_title_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom10/entry_title_inline_markup_2.xml new file mode 100644 index 00000000..6998214d --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_title_inline_markup_2.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">History of the <blink> tag</div> + + diff --git a/lib/feedparser/tests/wellformed/atom10/entry_title_text_plain.xml b/lib/feedparser/tests/wellformed/atom10/entry_title_text_plain.xml new file mode 100644 index 00000000..7692469e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_title_text_plain.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_title_text_plain_brackets.xml b/lib/feedparser/tests/wellformed/atom10/entry_title_text_plain_brackets.xml new file mode 100644 index 00000000..5a6e72e0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_title_text_plain_brackets.xml @@ -0,0 +1,9 @@ + + + + History of the <blink> tag + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_title_type_default.xml b/lib/feedparser/tests/wellformed/atom10/entry_title_type_default.xml new file mode 100644 index 00000000..07fd597f --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_title_type_default.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/entry_title_type_text.xml b/lib/feedparser/tests/wellformed/atom10/entry_title_type_text.xml new file mode 100644 index 00000000..d7621b06 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/entry_title_type_text.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_author_email.xml b/lib/feedparser/tests/wellformed/atom10/feed_author_email.xml new file mode 100644 index 00000000..78e898d2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_author_email.xml @@ -0,0 +1,11 @@ + + + + Example author + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_author_map_author.xml b/lib/feedparser/tests/wellformed/atom10/feed_author_map_author.xml new file mode 100644 index 00000000..a85c0436 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_author_map_author.xml @@ -0,0 +1,11 @@ + + + + Example author + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_author_map_author_2.xml b/lib/feedparser/tests/wellformed/atom10/feed_author_map_author_2.xml new file mode 100644 index 00000000..af8eb617 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_author_map_author_2.xml @@ -0,0 +1,10 @@ + + + + Example author + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_author_name.xml b/lib/feedparser/tests/wellformed/atom10/feed_author_name.xml new file mode 100644 index 00000000..d0aa2f71 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_author_name.xml @@ -0,0 +1,11 @@ + + + + Example author + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_author_uri.xml b/lib/feedparser/tests/wellformed/atom10/feed_author_uri.xml new file mode 100644 index 00000000..b5e56f5d --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_author_uri.xml @@ -0,0 +1,11 @@ + + + + Example author + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_author_url.xml b/lib/feedparser/tests/wellformed/atom10/feed_author_url.xml new file mode 100644 index 00000000..0b6e40f2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_author_url.xml @@ -0,0 +1,11 @@ + + + + Example author + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_authors_email.xml b/lib/feedparser/tests/wellformed/atom10/feed_authors_email.xml new file mode 100644 index 00000000..83591e13 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_authors_email.xml @@ -0,0 +1,13 @@ + + + + + one@one.com + + + two@two.com + + diff --git a/lib/feedparser/tests/wellformed/atom10/feed_authors_name.xml b/lib/feedparser/tests/wellformed/atom10/feed_authors_name.xml new file mode 100644 index 00000000..7b02089c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_authors_name.xml @@ -0,0 +1,13 @@ + + + + + one + + + two + + diff --git a/lib/feedparser/tests/wellformed/atom10/feed_authors_uri.xml b/lib/feedparser/tests/wellformed/atom10/feed_authors_uri.xml new file mode 100644 index 00000000..79429967 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_authors_uri.xml @@ -0,0 +1,13 @@ + + + + + http://one.com/ + + + http://two.com/ + + diff --git a/lib/feedparser/tests/wellformed/atom10/feed_authors_url.xml b/lib/feedparser/tests/wellformed/atom10/feed_authors_url.xml new file mode 100644 index 00000000..d7fcde82 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_authors_url.xml @@ -0,0 +1,13 @@ + + + + + http://one.com/ + + + http://two.com/ + + diff --git a/lib/feedparser/tests/wellformed/atom10/feed_contributor_email.xml b/lib/feedparser/tests/wellformed/atom10/feed_contributor_email.xml new file mode 100644 index 00000000..f9381917 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_contributor_email.xml @@ -0,0 +1,11 @@ + + + + Example contributor + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_contributor_multiple.xml b/lib/feedparser/tests/wellformed/atom10/feed_contributor_multiple.xml new file mode 100644 index 00000000..8095a741 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_contributor_multiple.xml @@ -0,0 +1,16 @@ + + + + Contributor 1 + me@example.com + http://example.com/ + + + Contributor 2 + you@example.com + http://two.example.com/ + + diff --git a/lib/feedparser/tests/wellformed/atom10/feed_contributor_name.xml b/lib/feedparser/tests/wellformed/atom10/feed_contributor_name.xml new file mode 100644 index 00000000..4d7d163b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_contributor_name.xml @@ -0,0 +1,11 @@ + + + + Example contributor + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_contributor_uri.xml b/lib/feedparser/tests/wellformed/atom10/feed_contributor_uri.xml new file mode 100644 index 00000000..a8fc8626 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_contributor_uri.xml @@ -0,0 +1,11 @@ + + + + Example contributor + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_contributor_url.xml b/lib/feedparser/tests/wellformed/atom10/feed_contributor_url.xml new file mode 100644 index 00000000..b6cc8da9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_contributor_url.xml @@ -0,0 +1,11 @@ + + + + Example contributor + me@example.com + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_generator.xml b/lib/feedparser/tests/wellformed/atom10/feed_generator.xml new file mode 100644 index 00000000..88c3abfb --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_generator.xml @@ -0,0 +1,7 @@ + + + Example generator + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_generator_name.xml b/lib/feedparser/tests/wellformed/atom10/feed_generator_name.xml new file mode 100644 index 00000000..fd89ce59 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_generator_name.xml @@ -0,0 +1,7 @@ + + + Example generator + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_generator_url.xml b/lib/feedparser/tests/wellformed/atom10/feed_generator_url.xml new file mode 100644 index 00000000..a321577e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_generator_url.xml @@ -0,0 +1,7 @@ + + + Example generator + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_generator_version.xml b/lib/feedparser/tests/wellformed/atom10/feed_generator_version.xml new file mode 100644 index 00000000..0660672c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_generator_version.xml @@ -0,0 +1,7 @@ + + + Example generator + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_icon.xml b/lib/feedparser/tests/wellformed/atom10/feed_icon.xml new file mode 100644 index 00000000..498b4d07 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_icon.xml @@ -0,0 +1,7 @@ + + + http://example.com/favicon.ico + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_id.xml b/lib/feedparser/tests/wellformed/atom10/feed_id.xml new file mode 100644 index 00000000..dae9b121 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_id.xml @@ -0,0 +1,7 @@ + + + http://example.com/ + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_id_map_guid.xml b/lib/feedparser/tests/wellformed/atom10/feed_id_map_guid.xml new file mode 100644 index 00000000..94fe01c8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_id_map_guid.xml @@ -0,0 +1,7 @@ + + + http://example.com/ + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_link_alternate_map_link.xml b/lib/feedparser/tests/wellformed/atom10/feed_link_alternate_map_link.xml new file mode 100644 index 00000000..e25189f0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_link_alternate_map_link.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_link_alternate_map_link_2.xml b/lib/feedparser/tests/wellformed/atom10/feed_link_alternate_map_link_2.xml new file mode 100644 index 00000000..26f09699 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_link_alternate_map_link_2.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_link_href.xml b/lib/feedparser/tests/wellformed/atom10/feed_link_href.xml new file mode 100644 index 00000000..6d8919fc --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_link_href.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_link_hreflang.xml b/lib/feedparser/tests/wellformed/atom10/feed_link_hreflang.xml new file mode 100644 index 00000000..ea036129 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_link_hreflang.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_link_length.xml b/lib/feedparser/tests/wellformed/atom10/feed_link_length.xml new file mode 100644 index 00000000..b9e04e95 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_link_length.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_link_multiple.xml b/lib/feedparser/tests/wellformed/atom10/feed_link_multiple.xml new file mode 100644 index 00000000..8745e6ef --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_link_multiple.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/lib/feedparser/tests/wellformed/atom10/feed_link_no_rel.xml b/lib/feedparser/tests/wellformed/atom10/feed_link_no_rel.xml new file mode 100644 index 00000000..69af2b88 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_link_no_rel.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_link_rel.xml b/lib/feedparser/tests/wellformed/atom10/feed_link_rel.xml new file mode 100644 index 00000000..eb935d8d --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_link_rel.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_link_rel_other.xml b/lib/feedparser/tests/wellformed/atom10/feed_link_rel_other.xml new file mode 100644 index 00000000..c721a447 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_link_rel_other.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_link_rel_related.xml b/lib/feedparser/tests/wellformed/atom10/feed_link_rel_related.xml new file mode 100644 index 00000000..b19d09bb --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_link_rel_related.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_link_rel_self.xml b/lib/feedparser/tests/wellformed/atom10/feed_link_rel_self.xml new file mode 100644 index 00000000..601402ac --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_link_rel_self.xml @@ -0,0 +1,7 @@ + + + + diff --git a/lib/feedparser/tests/wellformed/atom10/feed_link_rel_self_default_type.xml b/lib/feedparser/tests/wellformed/atom10/feed_link_rel_self_default_type.xml new file mode 100644 index 00000000..11a542e3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_link_rel_self_default_type.xml @@ -0,0 +1,7 @@ + + + + diff --git a/lib/feedparser/tests/wellformed/atom10/feed_link_rel_via.xml b/lib/feedparser/tests/wellformed/atom10/feed_link_rel_via.xml new file mode 100644 index 00000000..12993fde --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_link_rel_via.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_link_title.xml b/lib/feedparser/tests/wellformed/atom10/feed_link_title.xml new file mode 100644 index 00000000..72cc9e92 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_link_title.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_link_type.xml b/lib/feedparser/tests/wellformed/atom10/feed_link_type.xml new file mode 100644 index 00000000..8bf83efb --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_link_type.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_logo.xml b/lib/feedparser/tests/wellformed/atom10/feed_logo.xml new file mode 100644 index 00000000..1dbf1a1d --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_logo.xml @@ -0,0 +1,7 @@ + + + http://example.com/logo.jpg + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_rights.xml b/lib/feedparser/tests/wellformed/atom10/feed_rights.xml new file mode 100644 index 00000000..a44db6fa --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_rights.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_rights_base64.xml b/lib/feedparser/tests/wellformed/atom10/feed_rights_base64.xml new file mode 100644 index 00000000..956daca3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_rights_base64.xml @@ -0,0 +1,9 @@ + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_rights_base64_2.xml b/lib/feedparser/tests/wellformed/atom10/feed_rights_base64_2.xml new file mode 100644 index 00000000..76b1b2b7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_rights_base64_2.xml @@ -0,0 +1,9 @@ + + + +PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_rights_content_type.xml b/lib/feedparser/tests/wellformed/atom10/feed_rights_content_type.xml new file mode 100644 index 00000000..ee44d5ad --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_rights_content_type.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_rights_content_type_text.xml b/lib/feedparser/tests/wellformed/atom10/feed_rights_content_type_text.xml new file mode 100644 index 00000000..6aa0412a --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_rights_content_type_text.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_rights_content_value.xml b/lib/feedparser/tests/wellformed/atom10/feed_rights_content_value.xml new file mode 100644 index 00000000..fb078003 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_rights_content_value.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_rights_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom10/feed_rights_escaped_markup.xml new file mode 100644 index 00000000..8384d299 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_rights_escaped_markup.xml @@ -0,0 +1,7 @@ + + + Example <b>Atom</b> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_rights_inline_markup.xml b/lib/feedparser/tests/wellformed/atom10/feed_rights_inline_markup.xml new file mode 100644 index 00000000..080f880e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_rights_inline_markup.xml @@ -0,0 +1,7 @@ + + +
Example Atom
+
diff --git a/lib/feedparser/tests/wellformed/atom10/feed_rights_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom10/feed_rights_inline_markup_2.xml new file mode 100644 index 00000000..d8b953fd --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_rights_inline_markup_2.xml @@ -0,0 +1,7 @@ + + +
History of the <blink> tag
+
diff --git a/lib/feedparser/tests/wellformed/atom10/feed_rights_text_plain.xml b/lib/feedparser/tests/wellformed/atom10/feed_rights_text_plain.xml new file mode 100644 index 00000000..54e7e612 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_rights_text_plain.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_subtitle.xml b/lib/feedparser/tests/wellformed/atom10/feed_subtitle.xml new file mode 100644 index 00000000..8a07142c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_subtitle.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_subtitle_base64.xml b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_base64.xml new file mode 100644 index 00000000..8dd6a864 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_base64.xml @@ -0,0 +1,9 @@ + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_subtitle_base64_2.xml b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_base64_2.xml new file mode 100644 index 00000000..d2ef0d6e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_base64_2.xml @@ -0,0 +1,9 @@ + + + +PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_subtitle_content_type.xml b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_content_type.xml new file mode 100644 index 00000000..2e339514 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_content_type.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_subtitle_content_type_text.xml b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_content_type_text.xml new file mode 100644 index 00000000..ce207366 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_content_type_text.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_subtitle_content_value.xml b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_content_value.xml new file mode 100644 index 00000000..309deafb --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_content_value.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_subtitle_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_escaped_markup.xml new file mode 100644 index 00000000..fc7a85b8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_escaped_markup.xml @@ -0,0 +1,7 @@ + + + Example <b>Atom</b> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_subtitle_inline_markup.xml b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_inline_markup.xml new file mode 100644 index 00000000..2742f68e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_inline_markup.xml @@ -0,0 +1,7 @@ + + +
Example Atom
+
diff --git a/lib/feedparser/tests/wellformed/atom10/feed_subtitle_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_inline_markup_2.xml new file mode 100644 index 00000000..4b36e24a --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_inline_markup_2.xml @@ -0,0 +1,7 @@ + + +
History of the <blink> tag
+
diff --git a/lib/feedparser/tests/wellformed/atom10/feed_subtitle_text_plain.xml b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_text_plain.xml new file mode 100644 index 00000000..bf97397a --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_subtitle_text_plain.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_title.xml b/lib/feedparser/tests/wellformed/atom10/feed_title.xml new file mode 100644 index 00000000..37a26ea5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_title.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_title_base64.xml b/lib/feedparser/tests/wellformed/atom10/feed_title_base64.xml new file mode 100644 index 00000000..5c07e729 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_title_base64.xml @@ -0,0 +1,9 @@ + + + + RXhhbXBsZSA8Yj5BdG9tPC9iPg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_title_base64_2.xml b/lib/feedparser/tests/wellformed/atom10/feed_title_base64_2.xml new file mode 100644 index 00000000..409c1f32 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_title_base64_2.xml @@ -0,0 +1,9 @@ + + + +PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_title_content_type.xml b/lib/feedparser/tests/wellformed/atom10/feed_title_content_type.xml new file mode 100644 index 00000000..52d45675 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_title_content_type.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_title_content_type_text.xml b/lib/feedparser/tests/wellformed/atom10/feed_title_content_type_text.xml new file mode 100644 index 00000000..d1649921 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_title_content_type_text.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_title_content_value.xml b/lib/feedparser/tests/wellformed/atom10/feed_title_content_value.xml new file mode 100644 index 00000000..7d31b22e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_title_content_value.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_title_escaped_markup.xml b/lib/feedparser/tests/wellformed/atom10/feed_title_escaped_markup.xml new file mode 100644 index 00000000..ba23dc0b --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_title_escaped_markup.xml @@ -0,0 +1,7 @@ + + + Example <b>Atom</b> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/feed_title_inline_markup.xml b/lib/feedparser/tests/wellformed/atom10/feed_title_inline_markup.xml new file mode 100644 index 00000000..fea23a77 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_title_inline_markup.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <b>Atom</b></div> + diff --git a/lib/feedparser/tests/wellformed/atom10/feed_title_inline_markup_2.xml b/lib/feedparser/tests/wellformed/atom10/feed_title_inline_markup_2.xml new file mode 100644 index 00000000..ec2da6b0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_title_inline_markup_2.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">History of the <blink> tag</div> + diff --git a/lib/feedparser/tests/wellformed/atom10/feed_title_text_plain.xml b/lib/feedparser/tests/wellformed/atom10/feed_title_text_plain.xml new file mode 100644 index 00000000..0f7ff959 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/feed_title_text_plain.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/atom10/item_media_category_label.xml b/lib/feedparser/tests/wellformed/atom10/item_media_category_label.xml new file mode 100644 index 00000000..c66c46d1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/item_media_category_label.xml @@ -0,0 +1,11 @@ + + + + + cat1 + + + diff --git a/lib/feedparser/tests/wellformed/atom10/item_media_category_multiple.xml b/lib/feedparser/tests/wellformed/atom10/item_media_category_multiple.xml new file mode 100644 index 00000000..95b2f48c --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/item_media_category_multiple.xml @@ -0,0 +1,12 @@ + + + + + cat1 + cat2 + + + diff --git a/lib/feedparser/tests/wellformed/atom10/item_media_category_scheme1.xml b/lib/feedparser/tests/wellformed/atom10/item_media_category_scheme1.xml new file mode 100644 index 00000000..d1de91e2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/item_media_category_scheme1.xml @@ -0,0 +1,11 @@ + + + + + cat1 + + + diff --git a/lib/feedparser/tests/wellformed/atom10/item_media_category_scheme2.xml b/lib/feedparser/tests/wellformed/atom10/item_media_category_scheme2.xml new file mode 100644 index 00000000..62f5c365 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/item_media_category_scheme2.xml @@ -0,0 +1,11 @@ + + + + + cat1 + + + diff --git a/lib/feedparser/tests/wellformed/atom10/item_media_category_term.xml b/lib/feedparser/tests/wellformed/atom10/item_media_category_term.xml new file mode 100644 index 00000000..d01d81fb --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/item_media_category_term.xml @@ -0,0 +1,11 @@ + + + + + cat1 + + + diff --git a/lib/feedparser/tests/wellformed/atom10/item_media_title_type_plain.xml b/lib/feedparser/tests/wellformed/atom10/item_media_title_type_plain.xml new file mode 100644 index 00000000..4262d196 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/item_media_title_type_plain.xml @@ -0,0 +1,11 @@ + + + + + plain means text/plain + + + diff --git a/lib/feedparser/tests/wellformed/atom10/missing_quote_in_attr.xml b/lib/feedparser/tests/wellformed/atom10/missing_quote_in_attr.xml new file mode 100644 index 00000000..a62a0d9e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/missing_quote_in_attr.xml @@ -0,0 +1,7 @@ + + + <![CDATA[<a href=http://example.com/">example</a>]]> + diff --git a/lib/feedparser/tests/wellformed/atom10/qna.xml b/lib/feedparser/tests/wellformed/atom10/qna.xml new file mode 100644 index 00000000..6198ec1e --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/qna.xml @@ -0,0 +1,9 @@ + + + + Q&A session + + diff --git a/lib/feedparser/tests/wellformed/atom10/quote_in_attr.xml b/lib/feedparser/tests/wellformed/atom10/quote_in_attr.xml new file mode 100644 index 00000000..88c133c7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/quote_in_attr.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml"><a title='"test"'>test</a></div> + diff --git a/lib/feedparser/tests/wellformed/atom10/relative_uri.xml b/lib/feedparser/tests/wellformed/atom10/relative_uri.xml new file mode 100644 index 00000000..8c5509bd --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/relative_uri.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + diff --git a/lib/feedparser/tests/wellformed/atom10/relative_uri_inherit.xml b/lib/feedparser/tests/wellformed/atom10/relative_uri_inherit.xml new file mode 100644 index 00000000..5462c18f --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/relative_uri_inherit.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + diff --git a/lib/feedparser/tests/wellformed/atom10/relative_uri_inherit_2.xml b/lib/feedparser/tests/wellformed/atom10/relative_uri_inherit_2.xml new file mode 100644 index 00000000..e018e2df --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/relative_uri_inherit_2.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + diff --git a/lib/feedparser/tests/wellformed/atom10/tag_in_attr.xml b/lib/feedparser/tests/wellformed/atom10/tag_in_attr.xml new file mode 100644 index 00000000..9e4d3beb --- /dev/null +++ b/lib/feedparser/tests/wellformed/atom10/tag_in_attr.xml @@ -0,0 +1,7 @@ + + + <![CDATA[<img src="http://example.com/cat-dog.jpg" alt="cat<br />dog">]]> + diff --git a/lib/feedparser/tests/wellformed/base/cdf_item_abstract_xml_base.xml b/lib/feedparser/tests/wellformed/base/cdf_item_abstract_xml_base.xml new file mode 100644 index 00000000..f90968e4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/cdf_item_abstract_xml_base.xml @@ -0,0 +1,18 @@ + + + channel title + channel abstract + + item title + item abstract + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/entry_content_xml_base.xml b/lib/feedparser/tests/wellformed/base/entry_content_xml_base.xml new file mode 100644 index 00000000..d64344ec --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/entry_content_xml_base.xml @@ -0,0 +1,9 @@ + + + +
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/entry_content_xml_base_inherit.xml b/lib/feedparser/tests/wellformed/base/entry_content_xml_base_inherit.xml new file mode 100644 index 00000000..cd09929e --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/entry_content_xml_base_inherit.xml @@ -0,0 +1,9 @@ + + + +
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/entry_content_xml_base_inherit_2.xml b/lib/feedparser/tests/wellformed/base/entry_content_xml_base_inherit_2.xml new file mode 100644 index 00000000..58c699d4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/entry_content_xml_base_inherit_2.xml @@ -0,0 +1,9 @@ + + + +
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/entry_content_xml_base_inherit_3.xml b/lib/feedparser/tests/wellformed/base/entry_content_xml_base_inherit_3.xml new file mode 100644 index 00000000..49c3ceab --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/entry_content_xml_base_inherit_3.xml @@ -0,0 +1,10 @@ + + + +
blah blah blah
+
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/entry_content_xml_base_inherit_4.xml b/lib/feedparser/tests/wellformed/base/entry_content_xml_base_inherit_4.xml new file mode 100644 index 00000000..64053cf4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/entry_content_xml_base_inherit_4.xml @@ -0,0 +1,10 @@ + + + +
blah blah blah
+
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/entry_summary_xml_base.xml b/lib/feedparser/tests/wellformed/base/entry_summary_xml_base.xml new file mode 100644 index 00000000..ae49ecf3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/entry_summary_xml_base.xml @@ -0,0 +1,9 @@ + + + +
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/entry_summary_xml_base_inherit.xml b/lib/feedparser/tests/wellformed/base/entry_summary_xml_base_inherit.xml new file mode 100644 index 00000000..3fe23348 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/entry_summary_xml_base_inherit.xml @@ -0,0 +1,9 @@ + + + +
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/entry_summary_xml_base_inherit_2.xml b/lib/feedparser/tests/wellformed/base/entry_summary_xml_base_inherit_2.xml new file mode 100644 index 00000000..cf0c95fd --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/entry_summary_xml_base_inherit_2.xml @@ -0,0 +1,9 @@ + + + +
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/entry_summary_xml_base_inherit_3.xml b/lib/feedparser/tests/wellformed/base/entry_summary_xml_base_inherit_3.xml new file mode 100644 index 00000000..75f442b6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/entry_summary_xml_base_inherit_3.xml @@ -0,0 +1,10 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
blah blah blah
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/entry_summary_xml_base_inherit_4.xml b/lib/feedparser/tests/wellformed/base/entry_summary_xml_base_inherit_4.xml new file mode 100644 index 00000000..d3602994 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/entry_summary_xml_base_inherit_4.xml @@ -0,0 +1,10 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
blah blah blah
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/entry_title_xml_base.xml b/lib/feedparser/tests/wellformed/base/entry_title_xml_base.xml new file mode 100644 index 00000000..10a13fe8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/entry_title_xml_base.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/entry_title_xml_base_inherit.xml b/lib/feedparser/tests/wellformed/base/entry_title_xml_base_inherit.xml new file mode 100644 index 00000000..b838c9ec --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/entry_title_xml_base_inherit.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/entry_title_xml_base_inherit_2.xml b/lib/feedparser/tests/wellformed/base/entry_title_xml_base_inherit_2.xml new file mode 100644 index 00000000..7bef55e6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/entry_title_xml_base_inherit_2.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/entry_title_xml_base_inherit_3.xml b/lib/feedparser/tests/wellformed/base/entry_title_xml_base_inherit_3.xml new file mode 100644 index 00000000..28518d98 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/entry_title_xml_base_inherit_3.xml @@ -0,0 +1,10 @@ + + + +
blah blah blah
+ <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/entry_title_xml_base_inherit_4.xml b/lib/feedparser/tests/wellformed/base/entry_title_xml_base_inherit_4.xml new file mode 100644 index 00000000..7104e098 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/entry_title_xml_base_inherit_4.xml @@ -0,0 +1,10 @@ + + + +
blah blah blah
+ <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_copyright_xml_base.xml b/lib/feedparser/tests/wellformed/base/feed_copyright_xml_base.xml new file mode 100644 index 00000000..22a3de83 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_copyright_xml_base.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit.xml b/lib/feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit.xml new file mode 100644 index 00000000..fd19cc4b --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit_2.xml b/lib/feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit_2.xml new file mode 100644 index 00000000..5d2b7a66 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit_2.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit_3.xml b/lib/feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit_3.xml new file mode 100644 index 00000000..eddb60af --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit_3.xml @@ -0,0 +1,8 @@ + + +
blah blah blah
+
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit_4.xml b/lib/feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit_4.xml new file mode 100644 index 00000000..14afc9d7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_copyright_xml_base_inherit_4.xml @@ -0,0 +1,8 @@ + + +
blah blah blah
+
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_info_xml_base.xml b/lib/feedparser/tests/wellformed/base/feed_info_xml_base.xml new file mode 100644 index 00000000..2f830c6a --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_info_xml_base.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_info_xml_base_inherit.xml b/lib/feedparser/tests/wellformed/base/feed_info_xml_base_inherit.xml new file mode 100644 index 00000000..50cf9cd4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_info_xml_base_inherit.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_info_xml_base_inherit_2.xml b/lib/feedparser/tests/wellformed/base/feed_info_xml_base_inherit_2.xml new file mode 100644 index 00000000..3a095a58 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_info_xml_base_inherit_2.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_info_xml_base_inherit_3.xml b/lib/feedparser/tests/wellformed/base/feed_info_xml_base_inherit_3.xml new file mode 100644 index 00000000..92f6d36f --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_info_xml_base_inherit_3.xml @@ -0,0 +1,8 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
blah blah blah
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_info_xml_base_inherit_4.xml b/lib/feedparser/tests/wellformed/base/feed_info_xml_base_inherit_4.xml new file mode 100644 index 00000000..09dcc337 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_info_xml_base_inherit_4.xml @@ -0,0 +1,8 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
blah blah blah
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_link_xml_base_iri.xml b/lib/feedparser/tests/wellformed/base/feed_link_xml_base_iri.xml new file mode 100644 index 00000000..4777baa2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_link_xml_base_iri.xml @@ -0,0 +1,7 @@ + + + + diff --git a/lib/feedparser/tests/wellformed/base/feed_tagline_xml_base.xml b/lib/feedparser/tests/wellformed/base/feed_tagline_xml_base.xml new file mode 100644 index 00000000..953f2b80 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_tagline_xml_base.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit.xml b/lib/feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit.xml new file mode 100644 index 00000000..c6339d7f --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit_2.xml b/lib/feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit_2.xml new file mode 100644 index 00000000..5ce1d77f --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit_2.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit_3.xml b/lib/feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit_3.xml new file mode 100644 index 00000000..0e840363 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit_3.xml @@ -0,0 +1,8 @@ + + +
blah blah blah
+
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit_4.xml b/lib/feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit_4.xml new file mode 100644 index 00000000..6248bbd6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_tagline_xml_base_inherit_4.xml @@ -0,0 +1,8 @@ + + +
blah blah blah
+
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_title_xml_base.xml b/lib/feedparser/tests/wellformed/base/feed_title_xml_base.xml new file mode 100644 index 00000000..3613c680 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_title_xml_base.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_title_xml_base_inherit.xml b/lib/feedparser/tests/wellformed/base/feed_title_xml_base_inherit.xml new file mode 100644 index 00000000..8c06788b --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_title_xml_base_inherit.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_title_xml_base_inherit_2.xml b/lib/feedparser/tests/wellformed/base/feed_title_xml_base_inherit_2.xml new file mode 100644 index 00000000..8137b7f5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_title_xml_base_inherit_2.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_title_xml_base_inherit_3.xml b/lib/feedparser/tests/wellformed/base/feed_title_xml_base_inherit_3.xml new file mode 100644 index 00000000..5123fb5d --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_title_xml_base_inherit_3.xml @@ -0,0 +1,8 @@ + + +
blah blah blah
+ <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/feed_title_xml_base_inherit_4.xml b/lib/feedparser/tests/wellformed/base/feed_title_xml_base_inherit_4.xml new file mode 100644 index 00000000..5675be27 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/feed_title_xml_base_inherit_4.xml @@ -0,0 +1,8 @@ + + +
blah blah blah
+ <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_channel_docs_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_channel_docs_base_content_location.xml new file mode 100644 index 00000000..26f7ccd1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_channel_docs_base_content_location.xml @@ -0,0 +1,10 @@ + + + +/relative/uri + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_channel_docs_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_channel_docs_base_docuri.xml new file mode 100644 index 00000000..933567e0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_channel_docs_base_docuri.xml @@ -0,0 +1,9 @@ + + + +/relative/uri + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_channel_link_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_channel_link_base_content_location.xml new file mode 100644 index 00000000..400976b3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_channel_link_base_content_location.xml @@ -0,0 +1,10 @@ + + + +/relative/uri + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_channel_link_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_channel_link_base_docuri.xml new file mode 100644 index 00000000..4611b591 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_channel_link_base_docuri.xml @@ -0,0 +1,9 @@ + + + +/relative/uri + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_author_url_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_entry_author_url_base_content_location.xml new file mode 100644 index 00000000..ad89d1d4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_author_url_base_content_location.xml @@ -0,0 +1,12 @@ + + + + + /relative/link + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_author_url_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_entry_author_url_base_docuri.xml new file mode 100644 index 00000000..90de1ea2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_author_url_base_docuri.xml @@ -0,0 +1,11 @@ + + + + + /relative/link + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_content_base64_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_entry_content_base64_base_content_location.xml new file mode 100644 index 00000000..5bdf866d --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_content_base64_base_content_location.xml @@ -0,0 +1,12 @@ + + + + +PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_content_base64_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_entry_content_base64_base_docuri.xml new file mode 100644 index 00000000..c2672064 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_content_base64_base_docuri.xml @@ -0,0 +1,11 @@ + + + + +PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_content_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_entry_content_base_content_location.xml new file mode 100644 index 00000000..650fbd93 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_content_base_content_location.xml @@ -0,0 +1,10 @@ + + + +<div><a href="/relative/uri">click here</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_content_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_entry_content_base_docuri.xml new file mode 100644 index 00000000..97c0e437 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_content_base_docuri.xml @@ -0,0 +1,9 @@ + + + +<div><a href="/relative/uri">click here</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_content_inline_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_entry_content_inline_base_content_location.xml new file mode 100644 index 00000000..71855723 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_content_inline_base_content_location.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_content_inline_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_entry_content_inline_base_docuri.xml new file mode 100644 index 00000000..cbd82ca0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_content_inline_base_docuri.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_contributor_url_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_entry_contributor_url_base_content_location.xml new file mode 100644 index 00000000..84f38b96 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_contributor_url_base_content_location.xml @@ -0,0 +1,12 @@ + + + + + /relative/link + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_contributor_url_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_entry_contributor_url_base_docuri.xml new file mode 100644 index 00000000..7bf7738b --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_contributor_url_base_docuri.xml @@ -0,0 +1,11 @@ + + + + + /relative/link + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_id_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_entry_id_base_content_location.xml new file mode 100644 index 00000000..2a3cf901 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_id_base_content_location.xml @@ -0,0 +1,10 @@ + + + + /relative/link + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_id_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_entry_id_base_docuri.xml new file mode 100644 index 00000000..a9e146d0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_id_base_docuri.xml @@ -0,0 +1,9 @@ + + + + /relative/link + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_link_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_entry_link_base_content_location.xml new file mode 100644 index 00000000..b09bde69 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_link_base_content_location.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_link_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_entry_link_base_docuri.xml new file mode 100644 index 00000000..ec49b082 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_link_base_docuri.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_summary_base64_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_entry_summary_base64_base_content_location.xml new file mode 100644 index 00000000..0833f811 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_summary_base64_base_content_location.xml @@ -0,0 +1,12 @@ + + + + +PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_summary_base64_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_entry_summary_base64_base_docuri.xml new file mode 100644 index 00000000..4ae879cf --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_summary_base64_base_docuri.xml @@ -0,0 +1,11 @@ + + + + +PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_summary_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_entry_summary_base_content_location.xml new file mode 100644 index 00000000..031cbdcc --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_summary_base_content_location.xml @@ -0,0 +1,10 @@ + + + +<div><a href="/relative/uri">click here</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_summary_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_entry_summary_base_docuri.xml new file mode 100644 index 00000000..27279f60 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_summary_base_docuri.xml @@ -0,0 +1,9 @@ + + + +<div><a href="/relative/uri">click here</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_summary_inline_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_entry_summary_inline_base_content_location.xml new file mode 100644 index 00000000..32c365e5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_summary_inline_base_content_location.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_summary_inline_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_entry_summary_inline_base_docuri.xml new file mode 100644 index 00000000..ea7820db --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_summary_inline_base_docuri.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_title_base64_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_entry_title_base64_base_content_location.xml new file mode 100644 index 00000000..e23bdbb5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_title_base64_base_content_location.xml @@ -0,0 +1,12 @@ + + + + +PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_title_base64_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_entry_title_base64_base_docuri.xml new file mode 100644 index 00000000..b9a673f0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_title_base64_base_docuri.xml @@ -0,0 +1,11 @@ + + + + +PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_title_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_entry_title_base_content_location.xml new file mode 100644 index 00000000..9a0bc2b4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_title_base_content_location.xml @@ -0,0 +1,10 @@ + + + +<div><a href="/relative/uri">click here</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_title_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_entry_title_base_docuri.xml new file mode 100644 index 00000000..776fbcde --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_title_base_docuri.xml @@ -0,0 +1,9 @@ + + + +<div><a href="/relative/uri">click here</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_title_inline_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_entry_title_inline_base_content_location.xml new file mode 100644 index 00000000..95f6bc07 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_title_inline_base_content_location.xml @@ -0,0 +1,10 @@ + + + +<div xmlns="http://www.w3.org/1999/xhtml"><a href="/relative/uri">click here</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_entry_title_inline_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_entry_title_inline_base_docuri.xml new file mode 100644 index 00000000..cb766893 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_entry_title_inline_base_docuri.xml @@ -0,0 +1,9 @@ + + + +<div xmlns="http://www.w3.org/1999/xhtml"><a href="/relative/uri">click here</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_author_url_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_author_url_base_content_location.xml new file mode 100644 index 00000000..f9c757fc --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_author_url_base_content_location.xml @@ -0,0 +1,10 @@ + + + + /relative/link + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_author_url_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_author_url_base_docuri.xml new file mode 100644 index 00000000..f4c5ab2b --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_author_url_base_docuri.xml @@ -0,0 +1,9 @@ + + + + /relative/link + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_contributor_url_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_contributor_url_base_content_location.xml new file mode 100644 index 00000000..07c762e6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_contributor_url_base_content_location.xml @@ -0,0 +1,10 @@ + + + + /relative/link + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_contributor_url_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_contributor_url_base_docuri.xml new file mode 100644 index 00000000..962836c8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_contributor_url_base_docuri.xml @@ -0,0 +1,9 @@ + + + + /relative/link + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_copyright_base64_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_copyright_base64_base_content_location.xml new file mode 100644 index 00000000..045f730e --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_copyright_base64_base_content_location.xml @@ -0,0 +1,10 @@ + + + +PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_copyright_base64_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_copyright_base64_base_docuri.xml new file mode 100644 index 00000000..71764142 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_copyright_base64_base_docuri.xml @@ -0,0 +1,9 @@ + + + +PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_copyright_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_copyright_base_content_location.xml new file mode 100644 index 00000000..a15fe2a0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_copyright_base_content_location.xml @@ -0,0 +1,8 @@ + + +<div><a href="/relative/uri">click here</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_copyright_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_copyright_base_docuri.xml new file mode 100644 index 00000000..ff363af7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_copyright_base_docuri.xml @@ -0,0 +1,7 @@ + + +<div><a href="/relative/uri">click here</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_copyright_inline_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_copyright_inline_base_content_location.xml new file mode 100644 index 00000000..f9e8555f --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_copyright_inline_base_content_location.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_copyright_inline_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_copyright_inline_base_docuri.xml new file mode 100644 index 00000000..b076c7a1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_copyright_inline_base_docuri.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_generator_url_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_generator_url_base_content_location.xml new file mode 100644 index 00000000..3b418bc0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_generator_url_base_content_location.xml @@ -0,0 +1,8 @@ + + +Movable Type + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_generator_url_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_generator_url_base_docuri.xml new file mode 100644 index 00000000..b9d9e66e --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_generator_url_base_docuri.xml @@ -0,0 +1,7 @@ + + +Movable Type + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_id_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_id_base_content_location.xml new file mode 100644 index 00000000..3f8b6ae6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_id_base_content_location.xml @@ -0,0 +1,8 @@ + + + /relative/link + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_id_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_id_base_docuri.xml new file mode 100644 index 00000000..a4c67022 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_id_base_docuri.xml @@ -0,0 +1,7 @@ + + + /relative/link + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_info_base64_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_info_base64_base_content_location.xml new file mode 100644 index 00000000..6bb78e83 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_info_base64_base_content_location.xml @@ -0,0 +1,10 @@ + + + +PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_info_base64_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_info_base64_base_docuri.xml new file mode 100644 index 00000000..66ba7854 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_info_base64_base_docuri.xml @@ -0,0 +1,9 @@ + + + +PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_info_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_info_base_content_location.xml new file mode 100644 index 00000000..78a09e5a --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_info_base_content_location.xml @@ -0,0 +1,8 @@ + + +<div><a href="/relative/uri">click here</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_info_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_info_base_docuri.xml new file mode 100644 index 00000000..a19e737e --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_info_base_docuri.xml @@ -0,0 +1,7 @@ + + +<div><a href="/relative/uri">click here</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_info_inline_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_info_inline_base_content_location.xml new file mode 100644 index 00000000..8e60e157 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_info_inline_base_content_location.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_info_inline_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_info_inline_base_docuri.xml new file mode 100644 index 00000000..41bd64a1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_info_inline_base_docuri.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_link_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_link_base_content_location.xml new file mode 100644 index 00000000..3c416b1f --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_link_base_content_location.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_link_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_link_base_docuri.xml new file mode 100644 index 00000000..ab7fe93d --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_link_base_docuri.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_tagline_base64_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_tagline_base64_base_content_location.xml new file mode 100644 index 00000000..cfa216da --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_tagline_base64_base_content_location.xml @@ -0,0 +1,10 @@ + + + +PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_tagline_base64_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_tagline_base64_base_docuri.xml new file mode 100644 index 00000000..2bd63232 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_tagline_base64_base_docuri.xml @@ -0,0 +1,9 @@ + + + +PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_tagline_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_tagline_base_content_location.xml new file mode 100644 index 00000000..29e93e54 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_tagline_base_content_location.xml @@ -0,0 +1,8 @@ + + +<div><a href="/relative/uri">click here</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_tagline_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_tagline_base_docuri.xml new file mode 100644 index 00000000..2fe14caa --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_tagline_base_docuri.xml @@ -0,0 +1,7 @@ + + +<div><a href="/relative/uri">click here</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_tagline_inline_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_tagline_inline_base_content_location.xml new file mode 100644 index 00000000..619b3a6a --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_tagline_inline_base_content_location.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_tagline_inline_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_tagline_inline_base_docuri.xml new file mode 100644 index 00000000..e5a05f40 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_tagline_inline_base_docuri.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_title_base64_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_title_base64_base_content_location.xml new file mode 100644 index 00000000..38975b42 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_title_base64_base_content_location.xml @@ -0,0 +1,10 @@ + + + +PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_title_base64_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_title_base64_base_docuri.xml new file mode 100644 index 00000000..88ee5ab3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_title_base64_base_docuri.xml @@ -0,0 +1,9 @@ + + + +PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_title_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_title_base_content_location.xml new file mode 100644 index 00000000..a0d29406 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_title_base_content_location.xml @@ -0,0 +1,8 @@ + + +<div><a href="/relative/uri">click here</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_title_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_title_base_docuri.xml new file mode 100644 index 00000000..0a9a9414 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_title_base_docuri.xml @@ -0,0 +1,7 @@ + + +<div><a href="/relative/uri">click here</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_title_inline_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_feed_title_inline_base_content_location.xml new file mode 100644 index 00000000..2287791d --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_title_inline_base_content_location.xml @@ -0,0 +1,8 @@ + + +<div xmlns="http://www.w3.org/1999/xhtml"><a href="/relative/uri">click here</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_feed_title_inline_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_feed_title_inline_base_docuri.xml new file mode 100644 index 00000000..2eb83ad4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_feed_title_inline_base_docuri.xml @@ -0,0 +1,7 @@ + + +<div xmlns="http://www.w3.org/1999/xhtml"><a href="/relative/uri">click here</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_body_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_item_body_base_content_location.xml new file mode 100644 index 00000000..036295ac --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_body_base_content_location.xml @@ -0,0 +1,12 @@ + + + + +click here + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_body_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_item_body_base_docuri.xml new file mode 100644 index 00000000..1abea106 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_body_base_docuri.xml @@ -0,0 +1,11 @@ + + + + +click here + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_comments_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_item_comments_base_content_location.xml new file mode 100644 index 00000000..128cdddd --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_comments_base_content_location.xml @@ -0,0 +1,12 @@ + + + + +/relative/uri + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_comments_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_item_comments_base_docuri.xml new file mode 100644 index 00000000..a42a2848 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_comments_base_docuri.xml @@ -0,0 +1,11 @@ + + + + +/relative/uri + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_content_encoded_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_item_content_encoded_base_content_location.xml new file mode 100644 index 00000000..03526eba --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_content_encoded_base_content_location.xml @@ -0,0 +1,12 @@ + + + + +<a href="/relative/uri">click here</a> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_content_encoded_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_item_content_encoded_base_docuri.xml new file mode 100644 index 00000000..d7e7430b --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_content_encoded_base_docuri.xml @@ -0,0 +1,11 @@ + + + + +<a href="/relative/uri">click here</a> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_description_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_item_description_base_content_location.xml new file mode 100644 index 00000000..f935976f --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_description_base_content_location.xml @@ -0,0 +1,12 @@ + + + + +<a href="/relative/uri">click here</a> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_description_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_item_description_base_docuri.xml new file mode 100644 index 00000000..0e56e0a8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_description_base_docuri.xml @@ -0,0 +1,11 @@ + + + + +<a href="/relative/uri">click here</a> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_description_spaces.xml b/lib/feedparser/tests/wellformed/base/http_item_description_spaces.xml new file mode 100644 index 00000000..1efc8b7c --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_description_spaces.xml @@ -0,0 +1,11 @@ + + + + +<a href=" /relative/uri ">click here</a> + + + diff --git a/lib/feedparser/tests/wellformed/base/http_item_fullitem_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_item_fullitem_base_content_location.xml new file mode 100644 index 00000000..a10d1054 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_fullitem_base_content_location.xml @@ -0,0 +1,12 @@ + + + + +<a href="/relative/uri">click here</a> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_fullitem_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_item_fullitem_base_docuri.xml new file mode 100644 index 00000000..145fb7c1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_fullitem_base_docuri.xml @@ -0,0 +1,11 @@ + + + + +<a href="/relative/uri">click here</a> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_link_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_item_link_base_content_location.xml new file mode 100644 index 00000000..ad5fec18 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_link_base_content_location.xml @@ -0,0 +1,12 @@ + + + + +/relative/uri + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_link_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_item_link_base_docuri.xml new file mode 100644 index 00000000..c3dabac3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_link_base_docuri.xml @@ -0,0 +1,11 @@ + + + + +/relative/uri + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_wfw_commentRSS_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_item_wfw_commentRSS_base_content_location.xml new file mode 100644 index 00000000..fe5c1a72 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_wfw_commentRSS_base_content_location.xml @@ -0,0 +1,12 @@ + + + + +/relative/uri + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_wfw_commentRSS_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_item_wfw_commentRSS_base_docuri.xml new file mode 100644 index 00000000..0704efdb --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_wfw_commentRSS_base_docuri.xml @@ -0,0 +1,11 @@ + + + + +/relative/uri + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_wfw_comment_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_item_wfw_comment_base_content_location.xml new file mode 100644 index 00000000..f15c73a1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_wfw_comment_base_content_location.xml @@ -0,0 +1,12 @@ + + + + +/relative/uri + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_wfw_comment_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_item_wfw_comment_base_docuri.xml new file mode 100644 index 00000000..f01880b1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_wfw_comment_base_docuri.xml @@ -0,0 +1,11 @@ + + + + +/relative/uri + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_xhtml_body_base_content_location.xml b/lib/feedparser/tests/wellformed/base/http_item_xhtml_body_base_content_location.xml new file mode 100644 index 00000000..a30fdcea --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_xhtml_body_base_content_location.xml @@ -0,0 +1,12 @@ + + + + +click here + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_item_xhtml_body_base_docuri.xml b/lib/feedparser/tests/wellformed/base/http_item_xhtml_body_base_docuri.xml new file mode 100644 index 00000000..c7a441ea --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_item_xhtml_body_base_docuri.xml @@ -0,0 +1,11 @@ + + + + +click here + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_relative_xml_base.xml b/lib/feedparser/tests/wellformed/base/http_relative_xml_base.xml new file mode 100644 index 00000000..46aa556e --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_relative_xml_base.xml @@ -0,0 +1,10 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/http_relative_xml_base_2.xml b/lib/feedparser/tests/wellformed/base/http_relative_xml_base_2.xml new file mode 100644 index 00000000..362d948e --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/http_relative_xml_base_2.xml @@ -0,0 +1,10 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/item_media_title1.xml b/lib/feedparser/tests/wellformed/base/item_media_title1.xml new file mode 100644 index 00000000..d3c272e3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/item_media_title1.xml @@ -0,0 +1,11 @@ + + + + + bar + + + diff --git a/lib/feedparser/tests/wellformed/base/item_media_title2.xml b/lib/feedparser/tests/wellformed/base/item_media_title2.xml new file mode 100644 index 00000000..57c7aef9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/item_media_title2.xml @@ -0,0 +1,12 @@ + + + + + bar + foo + + + diff --git a/lib/feedparser/tests/wellformed/base/item_media_title3.xml b/lib/feedparser/tests/wellformed/base/item_media_title3.xml new file mode 100644 index 00000000..a9fbd31c --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/item_media_title3.xml @@ -0,0 +1,12 @@ + + + + + foo + bar + + + diff --git a/lib/feedparser/tests/wellformed/base/malformed_base.xml b/lib/feedparser/tests/wellformed/base/malformed_base.xml new file mode 100644 index 00000000..3bed7b02 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/malformed_base.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/rel_uri_with_unicode_character.xml b/lib/feedparser/tests/wellformed/base/rel_uri_with_unicode_character.xml new file mode 100644 index 00000000..2f8d9330 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/rel_uri_with_unicode_character.xml @@ -0,0 +1,11 @@ + + + + + <a href="À">uri</a> + + + diff --git a/lib/feedparser/tests/wellformed/base/relative_xml_base.xml b/lib/feedparser/tests/wellformed/base/relative_xml_base.xml new file mode 100644 index 00000000..1c686c63 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/relative_xml_base.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/relative_xml_base_2.xml b/lib/feedparser/tests/wellformed/base/relative_xml_base_2.xml new file mode 100644 index 00000000..4d2115e4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/relative_xml_base_2.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/base/unsafe_base.xml b/lib/feedparser/tests/wellformed/base/unsafe_base.xml new file mode 100644 index 00000000..50b8c30f --- /dev/null +++ b/lib/feedparser/tests/wellformed/base/unsafe_base.xml @@ -0,0 +1,10 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + + diff --git a/lib/feedparser/tests/wellformed/cdf/channel_abstract_map_description.xml b/lib/feedparser/tests/wellformed/cdf/channel_abstract_map_description.xml new file mode 100644 index 00000000..8bce8d9e --- /dev/null +++ b/lib/feedparser/tests/wellformed/cdf/channel_abstract_map_description.xml @@ -0,0 +1,7 @@ + + + Example description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/cdf/channel_abstract_map_tagline.xml b/lib/feedparser/tests/wellformed/cdf/channel_abstract_map_tagline.xml new file mode 100644 index 00000000..04feca0c --- /dev/null +++ b/lib/feedparser/tests/wellformed/cdf/channel_abstract_map_tagline.xml @@ -0,0 +1,7 @@ + + + Example description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/cdf/channel_href_map_link.xml b/lib/feedparser/tests/wellformed/cdf/channel_href_map_link.xml new file mode 100644 index 00000000..133f1419 --- /dev/null +++ b/lib/feedparser/tests/wellformed/cdf/channel_href_map_link.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/cdf/channel_href_map_links.xml b/lib/feedparser/tests/wellformed/cdf/channel_href_map_links.xml new file mode 100644 index 00000000..0c65bc27 --- /dev/null +++ b/lib/feedparser/tests/wellformed/cdf/channel_href_map_links.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/cdf/channel_lastmod.xml b/lib/feedparser/tests/wellformed/cdf/channel_lastmod.xml new file mode 100644 index 00000000..7b91da4d --- /dev/null +++ b/lib/feedparser/tests/wellformed/cdf/channel_lastmod.xml @@ -0,0 +1,6 @@ + + + diff --git a/lib/feedparser/tests/wellformed/cdf/channel_lastmod_parsed.xml b/lib/feedparser/tests/wellformed/cdf/channel_lastmod_parsed.xml new file mode 100644 index 00000000..65faa72c --- /dev/null +++ b/lib/feedparser/tests/wellformed/cdf/channel_lastmod_parsed.xml @@ -0,0 +1,6 @@ + + + diff --git a/lib/feedparser/tests/wellformed/cdf/channel_title.xml b/lib/feedparser/tests/wellformed/cdf/channel_title.xml new file mode 100644 index 00000000..080c725f --- /dev/null +++ b/lib/feedparser/tests/wellformed/cdf/channel_title.xml @@ -0,0 +1,7 @@ + + + Example feed + diff --git a/lib/feedparser/tests/wellformed/cdf/item_abstract_map_description.xml b/lib/feedparser/tests/wellformed/cdf/item_abstract_map_description.xml new file mode 100644 index 00000000..64821d07 --- /dev/null +++ b/lib/feedparser/tests/wellformed/cdf/item_abstract_map_description.xml @@ -0,0 +1,9 @@ + + + + Example description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/cdf/item_abstract_map_summary.xml b/lib/feedparser/tests/wellformed/cdf/item_abstract_map_summary.xml new file mode 100644 index 00000000..14946c9d --- /dev/null +++ b/lib/feedparser/tests/wellformed/cdf/item_abstract_map_summary.xml @@ -0,0 +1,9 @@ + + + + Example description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/cdf/item_href_map_link.xml b/lib/feedparser/tests/wellformed/cdf/item_href_map_link.xml new file mode 100644 index 00000000..973609eb --- /dev/null +++ b/lib/feedparser/tests/wellformed/cdf/item_href_map_link.xml @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/cdf/item_href_map_links.xml b/lib/feedparser/tests/wellformed/cdf/item_href_map_links.xml new file mode 100644 index 00000000..a55082e9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/cdf/item_href_map_links.xml @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/cdf/item_lastmod.xml b/lib/feedparser/tests/wellformed/cdf/item_lastmod.xml new file mode 100644 index 00000000..50db8a13 --- /dev/null +++ b/lib/feedparser/tests/wellformed/cdf/item_lastmod.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/lib/feedparser/tests/wellformed/cdf/item_lastmod_parsed.xml b/lib/feedparser/tests/wellformed/cdf/item_lastmod_parsed.xml new file mode 100644 index 00000000..1767352f --- /dev/null +++ b/lib/feedparser/tests/wellformed/cdf/item_lastmod_parsed.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/lib/feedparser/tests/wellformed/cdf/item_title.xml b/lib/feedparser/tests/wellformed/cdf/item_title.xml new file mode 100644 index 00000000..50fb359d --- /dev/null +++ b/lib/feedparser/tests/wellformed/cdf/item_title.xml @@ -0,0 +1,9 @@ + + + + Example item + + diff --git a/lib/feedparser/tests/wellformed/feedburner/feedburner_browserfriendly.xml b/lib/feedparser/tests/wellformed/feedburner/feedburner_browserfriendly.xml new file mode 100644 index 00000000..4d341cf0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/feedburner/feedburner_browserfriendly.xml @@ -0,0 +1,9 @@ + + + + This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site. + + diff --git a/lib/feedparser/tests/wellformed/http/headers_content_location-relative.xml b/lib/feedparser/tests/wellformed/http/headers_content_location-relative.xml new file mode 100644 index 00000000..4c0254fe --- /dev/null +++ b/lib/feedparser/tests/wellformed/http/headers_content_location-relative.xml @@ -0,0 +1,8 @@ + + + + diff --git a/lib/feedparser/tests/wellformed/http/headers_content_location-unsafe.xml b/lib/feedparser/tests/wellformed/http/headers_content_location-unsafe.xml new file mode 100644 index 00000000..e22c2625 --- /dev/null +++ b/lib/feedparser/tests/wellformed/http/headers_content_location-unsafe.xml @@ -0,0 +1,9 @@ + + + + diff --git a/lib/feedparser/tests/wellformed/http/headers_etag.xml b/lib/feedparser/tests/wellformed/http/headers_etag.xml new file mode 100644 index 00000000..af4f905c --- /dev/null +++ b/lib/feedparser/tests/wellformed/http/headers_etag.xml @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/http/headers_foo.xml b/lib/feedparser/tests/wellformed/http/headers_foo.xml new file mode 100644 index 00000000..e32833fb --- /dev/null +++ b/lib/feedparser/tests/wellformed/http/headers_foo.xml @@ -0,0 +1,7 @@ + + + diff --git a/lib/feedparser/tests/wellformed/http/headers_no_etag.xml b/lib/feedparser/tests/wellformed/http/headers_no_etag.xml new file mode 100644 index 00000000..051c2a15 --- /dev/null +++ b/lib/feedparser/tests/wellformed/http/headers_no_etag.xml @@ -0,0 +1,7 @@ + + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_block.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_block.xml new file mode 100644 index 00000000..1d7b87ed --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_block.xml @@ -0,0 +1,9 @@ + + + + yes + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_block_false.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_block_false.xml new file mode 100644 index 00000000..a935e1ce --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_block_false.xml @@ -0,0 +1,9 @@ + + + + false + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_block_no.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_block_no.xml new file mode 100644 index 00000000..1aa62758 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_block_no.xml @@ -0,0 +1,9 @@ + + + + no + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_block_true.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_block_true.xml new file mode 100644 index 00000000..93655ae5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_block_true.xml @@ -0,0 +1,9 @@ + + + + true + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_block_uppercase.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_block_uppercase.xml new file mode 100644 index 00000000..c031ef2c --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_block_uppercase.xml @@ -0,0 +1,9 @@ + + + + YES + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_block_whitespace.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_block_whitespace.xml new file mode 100644 index 00000000..864f5e3d --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_block_whitespace.xml @@ -0,0 +1,9 @@ + + + + yes + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_category.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_category.xml new file mode 100644 index 00000000..7a670a27 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_category.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_category_nested.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_category_nested.xml new file mode 100644 index 00000000..7ec9d588 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_category_nested.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_category_scheme.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_category_scheme.xml new file mode 100644 index 00000000..00fde6bc --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_category_scheme.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit.xml new file mode 100644 index 00000000..584f1fd6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit.xml @@ -0,0 +1,9 @@ + + + + yes + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_clean.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_clean.xml new file mode 100644 index 00000000..caec32fd --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_clean.xml @@ -0,0 +1,9 @@ + + + + clean + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_false.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_false.xml new file mode 100644 index 00000000..71b2e008 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_false.xml @@ -0,0 +1,9 @@ + + + + false + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_no.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_no.xml new file mode 100644 index 00000000..369021b6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_no.xml @@ -0,0 +1,9 @@ + + + + no + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_true.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_true.xml new file mode 100644 index 00000000..ddb7a8bd --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_true.xml @@ -0,0 +1,9 @@ + + + + true + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_uppercase.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_uppercase.xml new file mode 100644 index 00000000..a9fc6fa8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_uppercase.xml @@ -0,0 +1,9 @@ + + + + YES + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_whitespace.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_whitespace.xml new file mode 100644 index 00000000..38105316 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_explicit_whitespace.xml @@ -0,0 +1,9 @@ + + + + yes + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_image.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_image.xml new file mode 100644 index 00000000..883352ef --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_image.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_image_no_href.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_image_no_href.xml new file mode 100644 index 00000000..a0d455a8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_image_no_href.xml @@ -0,0 +1,12 @@ + + + + + http://i.INVALID/i.gif + + + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_image_url.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_image_url.xml new file mode 100644 index 00000000..4778c715 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_image_url.xml @@ -0,0 +1,9 @@ + + + + + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_keywords.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_keywords.xml new file mode 100644 index 00000000..299fb7b3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_keywords.xml @@ -0,0 +1,9 @@ + + + +Technology + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_keywords_duplicate.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_keywords_duplicate.xml new file mode 100644 index 00000000..5ca4085d --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_keywords_duplicate.xml @@ -0,0 +1,9 @@ + + + +Technology,Technology + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_keywords_duplicate_2.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_keywords_duplicate_2.xml new file mode 100644 index 00000000..4fcfa5b9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_keywords_duplicate_2.xml @@ -0,0 +1,10 @@ + + + + +Technology + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_keywords_multiple.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_keywords_multiple.xml new file mode 100644 index 00000000..9629e014 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_keywords_multiple.xml @@ -0,0 +1,9 @@ + + + +Technology, Gadgets + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_link_image.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_link_image.xml new file mode 100644 index 00000000..c89dc9f1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_link_image.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_owner_email.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_owner_email.xml new file mode 100644 index 00000000..92c433b4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_owner_email.xml @@ -0,0 +1,12 @@ + + + + +Mark Pilgrim +mark@example.com + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_owner_name.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_owner_name.xml new file mode 100644 index 00000000..6d3d54fe --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_owner_name.xml @@ -0,0 +1,12 @@ + + + + +Mark Pilgrim +mark@example.com + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_subtitle.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_subtitle.xml new file mode 100644 index 00000000..c638bf5b --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_subtitle.xml @@ -0,0 +1,9 @@ + + + + Example subtitle + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_channel_summary.xml b/lib/feedparser/tests/wellformed/itunes/itunes_channel_summary.xml new file mode 100644 index 00000000..f23b3284 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_channel_summary.xml @@ -0,0 +1,9 @@ + + + + Example summary + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_core_element_uppercase.xml b/lib/feedparser/tests/wellformed/itunes/itunes_core_element_uppercase.xml new file mode 100644 index 00000000..9b3e91f2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_core_element_uppercase.xml @@ -0,0 +1,9 @@ + + + +Example title + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_author_map_author.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_author_map_author.xml new file mode 100644 index 00000000..e6764845 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_author_map_author.xml @@ -0,0 +1,11 @@ + + + + + Mark Pilgrim + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_block.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_block.xml new file mode 100644 index 00000000..e7d05ccd --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_block.xml @@ -0,0 +1,11 @@ + + + + + yes + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_block_false.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_block_false.xml new file mode 100644 index 00000000..7f9d4da7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_block_false.xml @@ -0,0 +1,11 @@ + + + + + false + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_block_no.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_block_no.xml new file mode 100644 index 00000000..f09435bb --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_block_no.xml @@ -0,0 +1,11 @@ + + + + + no + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_block_true.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_block_true.xml new file mode 100644 index 00000000..e30de679 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_block_true.xml @@ -0,0 +1,11 @@ + + + + + true + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_block_uppercase.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_block_uppercase.xml new file mode 100644 index 00000000..8ebabeab --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_block_uppercase.xml @@ -0,0 +1,11 @@ + + + + + YES + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_block_whitespace.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_block_whitespace.xml new file mode 100644 index 00000000..ca71b54e --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_block_whitespace.xml @@ -0,0 +1,11 @@ + + + + + yes + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_category.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_category.xml new file mode 100644 index 00000000..54e312ca --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_category.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_category_nested.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_category_nested.xml new file mode 100644 index 00000000..4939da1b --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_category_nested.xml @@ -0,0 +1,13 @@ + + + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_category_scheme.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_category_scheme.xml new file mode 100644 index 00000000..ab66dcc4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_category_scheme.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_duration.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_duration.xml new file mode 100644 index 00000000..20a83efb --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_duration.xml @@ -0,0 +1,11 @@ + + + + + 3:00 + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit.xml new file mode 100644 index 00000000..e5d9d39c --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit.xml @@ -0,0 +1,11 @@ + + + + + yes + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_clean.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_clean.xml new file mode 100644 index 00000000..eb4e89e8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_clean.xml @@ -0,0 +1,11 @@ + + + + + clean + + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_false.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_false.xml new file mode 100644 index 00000000..f3c0610d --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_false.xml @@ -0,0 +1,11 @@ + + + + + false + + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_no.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_no.xml new file mode 100644 index 00000000..b2a0b3cd --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_no.xml @@ -0,0 +1,11 @@ + + + + + no + + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_true.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_true.xml new file mode 100644 index 00000000..c42c3c58 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_true.xml @@ -0,0 +1,11 @@ + + + + + true + + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_uppercase.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_uppercase.xml new file mode 100644 index 00000000..017c24d5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_uppercase.xml @@ -0,0 +1,11 @@ + + + + + YES + + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_whitespace.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_whitespace.xml new file mode 100644 index 00000000..8bf2f539 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_explicit_whitespace.xml @@ -0,0 +1,11 @@ + + + + + yes + + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_image.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_image.xml new file mode 100644 index 00000000..2c0f9c76 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_image.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_image_url.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_image_url.xml new file mode 100644 index 00000000..3a23c495 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_image_url.xml @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_link_image.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_link_image.xml new file mode 100644 index 00000000..befa0ac9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_link_image.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_subtitle.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_subtitle.xml new file mode 100644 index 00000000..7a485236 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_subtitle.xml @@ -0,0 +1,11 @@ + + + + + Example subtitle + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_item_summary.xml b/lib/feedparser/tests/wellformed/itunes/itunes_item_summary.xml new file mode 100644 index 00000000..159918a1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_item_summary.xml @@ -0,0 +1,11 @@ + + + + + Example summary + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_namespace.xml b/lib/feedparser/tests/wellformed/itunes/itunes_namespace.xml new file mode 100644 index 00000000..8a1fc43b --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_namespace.xml @@ -0,0 +1,9 @@ + + + + yes + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_namespace_example.xml b/lib/feedparser/tests/wellformed/itunes/itunes_namespace_example.xml new file mode 100644 index 00000000..24221d80 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_namespace_example.xml @@ -0,0 +1,9 @@ + + + + yes + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_namespace_lowercase.xml b/lib/feedparser/tests/wellformed/itunes/itunes_namespace_lowercase.xml new file mode 100644 index 00000000..fdceb9e2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_namespace_lowercase.xml @@ -0,0 +1,9 @@ + + + + yes + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/itunes/itunes_namespace_uppercase.xml b/lib/feedparser/tests/wellformed/itunes/itunes_namespace_uppercase.xml new file mode 100644 index 00000000..9d78ea5e --- /dev/null +++ b/lib/feedparser/tests/wellformed/itunes/itunes_namespace_uppercase.xml @@ -0,0 +1,9 @@ + + + + yes + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/channel_dc_language.xml b/lib/feedparser/tests/wellformed/lang/channel_dc_language.xml new file mode 100644 index 00000000..8ca66fbe --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/channel_dc_language.xml @@ -0,0 +1,9 @@ + + + +en + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/channel_language.xml b/lib/feedparser/tests/wellformed/lang/channel_language.xml new file mode 100644 index 00000000..85009399 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/channel_language.xml @@ -0,0 +1,9 @@ + + + +en-us + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang.xml b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang.xml new file mode 100644 index 00000000..96bf686b --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_blank.xml b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_blank.xml new file mode 100644 index 00000000..25bf9c34 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_blank.xml @@ -0,0 +1,9 @@ + + + +
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_blank_2.xml b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_blank_2.xml new file mode 100644 index 00000000..6c508498 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_blank_2.xml @@ -0,0 +1,9 @@ + + + +
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_blank_3.xml b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_blank_3.xml new file mode 100644 index 00000000..ea34db9d --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_blank_3.xml @@ -0,0 +1,12 @@ + + + +
Example test
+
+ +
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit.xml b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit.xml new file mode 100644 index 00000000..80445b17 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit.xml @@ -0,0 +1,9 @@ + + + +
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit_2.xml b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit_2.xml new file mode 100644 index 00000000..fe1d3b07 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit_2.xml @@ -0,0 +1,9 @@ + + + +
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit_3.xml b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit_3.xml new file mode 100644 index 00000000..c80c753d --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit_3.xml @@ -0,0 +1,10 @@ + + + +
blah blah blah
+
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit_4.xml b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit_4.xml new file mode 100644 index 00000000..8399d1f1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_inherit_4.xml @@ -0,0 +1,10 @@ + + + +
blah blah blah
+
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_underscore.xml b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_underscore.xml new file mode 100644 index 00000000..9de86a43 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_content_xml_lang_underscore.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + diff --git a/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang.xml b/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang.xml new file mode 100644 index 00000000..63d8966c --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang_blank.xml b/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang_blank.xml new file mode 100644 index 00000000..39383476 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang_blank.xml @@ -0,0 +1,9 @@ + + + +
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit.xml b/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit.xml new file mode 100644 index 00000000..4d1b1659 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit.xml @@ -0,0 +1,9 @@ + + + +
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit_2.xml b/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit_2.xml new file mode 100644 index 00000000..3d894061 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit_2.xml @@ -0,0 +1,9 @@ + + + +
Example test
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit_3.xml b/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit_3.xml new file mode 100644 index 00000000..37ada76c --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit_3.xml @@ -0,0 +1,10 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
blah blah blah
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit_4.xml b/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit_4.xml new file mode 100644 index 00000000..4a5909e2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_summary_xml_lang_inherit_4.xml @@ -0,0 +1,10 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
blah blah blah
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang.xml b/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang.xml new file mode 100644 index 00000000..e10a4fd6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang.xml @@ -0,0 +1,9 @@ + + + + Example Atom + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang_blank.xml b/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang_blank.xml new file mode 100644 index 00000000..0152a4aa --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang_blank.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit.xml b/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit.xml new file mode 100644 index 00000000..752bf686 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit_2.xml b/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit_2.xml new file mode 100644 index 00000000..2fa32a82 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit_2.xml @@ -0,0 +1,9 @@ + + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit_3.xml b/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit_3.xml new file mode 100644 index 00000000..93efc4d2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit_3.xml @@ -0,0 +1,10 @@ + + + +
blah blah blah
+ <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit_4.xml b/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit_4.xml new file mode 100644 index 00000000..28c8a0df --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/entry_title_xml_lang_inherit_4.xml @@ -0,0 +1,10 @@ + + + +
blah blah blah
+ <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang.xml b/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang.xml new file mode 100644 index 00000000..2ec0dffc --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang_blank.xml b/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang_blank.xml new file mode 100644 index 00000000..1dc0b95d --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang_blank.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit.xml b/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit.xml new file mode 100644 index 00000000..0edff944 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit_2.xml b/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit_2.xml new file mode 100644 index 00000000..900a3242 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit_2.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit_3.xml b/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit_3.xml new file mode 100644 index 00000000..3957f454 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit_3.xml @@ -0,0 +1,8 @@ + + +
blah blah blah
+
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit_4.xml b/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit_4.xml new file mode 100644 index 00000000..0752e966 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_copyright_xml_lang_inherit_4.xml @@ -0,0 +1,8 @@ + + +
blah blah blah
+
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang.xml b/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang.xml new file mode 100644 index 00000000..e863e8de --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang_blank.xml b/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang_blank.xml new file mode 100644 index 00000000..cb8f7f5a --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang_blank.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit.xml b/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit.xml new file mode 100644 index 00000000..b36cfa8d --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit_2.xml b/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit_2.xml new file mode 100644 index 00000000..8e665406 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit_2.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit_3.xml b/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit_3.xml new file mode 100644 index 00000000..5aaf56a2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit_3.xml @@ -0,0 +1,8 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
blah blah blah
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit_4.xml b/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit_4.xml new file mode 100644 index 00000000..4764fb03 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_info_xml_lang_inherit_4.xml @@ -0,0 +1,8 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
blah blah blah
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_language.xml b/lib/feedparser/tests/wellformed/lang/feed_language.xml new file mode 100644 index 00000000..4301594c --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_language.xml @@ -0,0 +1,9 @@ + + + +en + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_language_override.xml b/lib/feedparser/tests/wellformed/lang/feed_language_override.xml new file mode 100644 index 00000000..4301594c --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_language_override.xml @@ -0,0 +1,9 @@ + + + +en + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_not_xml_lang.xml b/lib/feedparser/tests/wellformed/lang/feed_not_xml_lang.xml new file mode 100644 index 00000000..6e89e9c9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_not_xml_lang.xml @@ -0,0 +1,7 @@ + + +foo + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_not_xml_lang_2.xml b/lib/feedparser/tests/wellformed/lang/feed_not_xml_lang_2.xml new file mode 100644 index 00000000..5ea58f5e --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_not_xml_lang_2.xml @@ -0,0 +1,7 @@ + + +foo + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang.xml b/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang.xml new file mode 100644 index 00000000..c7a3088e --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang_blank.xml b/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang_blank.xml new file mode 100644 index 00000000..ece12084 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang_blank.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit.xml b/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit.xml new file mode 100644 index 00000000..97d78896 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit_2.xml b/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit_2.xml new file mode 100644 index 00000000..72fea3c6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit_2.xml @@ -0,0 +1,7 @@ + + +
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit_3.xml b/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit_3.xml new file mode 100644 index 00000000..bda6b065 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit_3.xml @@ -0,0 +1,8 @@ + + +
blah blah blah
+
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit_4.xml b/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit_4.xml new file mode 100644 index 00000000..8d9b83dd --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_tagline_xml_lang_inherit_4.xml @@ -0,0 +1,8 @@ + + +
blah blah blah
+
Example test
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang.xml b/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang.xml new file mode 100644 index 00000000..3ce6b48d --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang.xml @@ -0,0 +1,7 @@ + + + Example Atom + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang_blank.xml b/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang_blank.xml new file mode 100644 index 00000000..12a5d465 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang_blank.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit.xml b/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit.xml new file mode 100644 index 00000000..0a2e6b20 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit_2.xml b/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit_2.xml new file mode 100644 index 00000000..1d9a636d --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit_2.xml @@ -0,0 +1,7 @@ + + + <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit_3.xml b/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit_3.xml new file mode 100644 index 00000000..535e34e8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit_3.xml @@ -0,0 +1,8 @@ + + +
blah blah blah
+ <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit_4.xml b/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit_4.xml new file mode 100644 index 00000000..de9bff9e --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_title_xml_lang_inherit_4.xml @@ -0,0 +1,8 @@ + + +
blah blah blah
+ <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> +
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_xml_lang.xml b/lib/feedparser/tests/wellformed/lang/feed_xml_lang.xml new file mode 100644 index 00000000..e60bc559 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_xml_lang.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/feed_xml_lang_underscore.xml b/lib/feedparser/tests/wellformed/lang/feed_xml_lang_underscore.xml new file mode 100644 index 00000000..d29a49e7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/feed_xml_lang_underscore.xml @@ -0,0 +1,6 @@ + + + diff --git a/lib/feedparser/tests/wellformed/lang/http_content_language.xml b/lib/feedparser/tests/wellformed/lang/http_content_language.xml new file mode 100644 index 00000000..cc245abb --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/http_content_language.xml @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/http_content_language_entry_title_inherit.xml b/lib/feedparser/tests/wellformed/lang/http_content_language_entry_title_inherit.xml new file mode 100644 index 00000000..97c4b199 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/http_content_language_entry_title_inherit.xml @@ -0,0 +1,10 @@ + + + +foo + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/http_content_language_entry_title_inherit_2.xml b/lib/feedparser/tests/wellformed/lang/http_content_language_entry_title_inherit_2.xml new file mode 100644 index 00000000..cc573e9a --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/http_content_language_entry_title_inherit_2.xml @@ -0,0 +1,11 @@ + + + +1 +foo + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/http_content_language_feed_language.xml b/lib/feedparser/tests/wellformed/lang/http_content_language_feed_language.xml new file mode 100644 index 00000000..4421746b --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/http_content_language_feed_language.xml @@ -0,0 +1,10 @@ + + + +fr + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/http_content_language_feed_xml_lang.xml b/lib/feedparser/tests/wellformed/lang/http_content_language_feed_xml_lang.xml new file mode 100644 index 00000000..0ab11869 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/http_content_language_feed_xml_lang.xml @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/item_content_encoded_xml_lang.xml b/lib/feedparser/tests/wellformed/lang/item_content_encoded_xml_lang.xml new file mode 100644 index 00000000..0a61f55b --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/item_content_encoded_xml_lang.xml @@ -0,0 +1,11 @@ + + + + +<p>Example content</p> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/item_content_encoded_xml_lang_inherit.xml b/lib/feedparser/tests/wellformed/lang/item_content_encoded_xml_lang_inherit.xml new file mode 100644 index 00000000..69397d46 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/item_content_encoded_xml_lang_inherit.xml @@ -0,0 +1,11 @@ + + + + +<p>Example content</p> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/item_dc_language.xml b/lib/feedparser/tests/wellformed/lang/item_dc_language.xml new file mode 100644 index 00000000..045a4715 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/item_dc_language.xml @@ -0,0 +1,11 @@ + + + + +en + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/item_fullitem_xml_lang.xml b/lib/feedparser/tests/wellformed/lang/item_fullitem_xml_lang.xml new file mode 100644 index 00000000..0a4da4ad --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/item_fullitem_xml_lang.xml @@ -0,0 +1,11 @@ + + + + +<p>Example content</p> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/item_fullitem_xml_lang_inherit.xml b/lib/feedparser/tests/wellformed/lang/item_fullitem_xml_lang_inherit.xml new file mode 100644 index 00000000..7fe98d1c --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/item_fullitem_xml_lang_inherit.xml @@ -0,0 +1,11 @@ + + + + +<p>Example content</p> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/item_xhtml_body_xml_lang.xml b/lib/feedparser/tests/wellformed/lang/item_xhtml_body_xml_lang.xml new file mode 100644 index 00000000..4f483877 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/item_xhtml_body_xml_lang.xml @@ -0,0 +1,13 @@ + + + + + +

Example content

+ +
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/lang/item_xhtml_body_xml_lang_inherit.xml b/lib/feedparser/tests/wellformed/lang/item_xhtml_body_xml_lang_inherit.xml new file mode 100644 index 00000000..a9eb6347 --- /dev/null +++ b/lib/feedparser/tests/wellformed/lang/item_xhtml_body_xml_lang_inherit.xml @@ -0,0 +1,13 @@ + + + + + +

Example content

+ +
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/mf_hcard/3-5-5-org-unicode.xml b/lib/feedparser/tests/wellformed/mf_hcard/3-5-5-org-unicode.xml new file mode 100644 index 00000000..3cb6c96f --- /dev/null +++ b/lib/feedparser/tests/wellformed/mf_hcard/3-5-5-org-unicode.xml @@ -0,0 +1,14 @@ + + + + +<div class="vcard"> +<span class='org'>´</span> +</div> + + + diff --git a/lib/feedparser/tests/wellformed/mf_rel_tag/rel_tag_term_no_term.xml b/lib/feedparser/tests/wellformed/mf_rel_tag/rel_tag_term_no_term.xml new file mode 100644 index 00000000..75db178e --- /dev/null +++ b/lib/feedparser/tests/wellformed/mf_rel_tag/rel_tag_term_no_term.xml @@ -0,0 +1,12 @@ + + + + +<a href='http://empty-path.test' rel='tag'>anything</a> + + + diff --git a/lib/feedparser/tests/wellformed/namespace/atommathml.xml b/lib/feedparser/tests/wellformed/namespace/atommathml.xml new file mode 100644 index 00000000..1795a2e0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/atommathml.xml @@ -0,0 +1,9 @@ + + + +
a+b
+
+
diff --git a/lib/feedparser/tests/wellformed/namespace/atomsvg.xml b/lib/feedparser/tests/wellformed/namespace/atomsvg.xml new file mode 100644 index 00000000..ecee5ed7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/atomsvg.xml @@ -0,0 +1,9 @@ + + + +
+
+
diff --git a/lib/feedparser/tests/wellformed/namespace/atomsvgdctitle.xml b/lib/feedparser/tests/wellformed/namespace/atomsvgdctitle.xml new file mode 100644 index 00000000..d28c9e33 --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/atomsvgdctitle.xml @@ -0,0 +1,36 @@ + + + + +
+

Before

+ + + + + Christmas Tree + + + + Aaron Spike + + + + + + + + + + + +

After

+
+
+
+
diff --git a/lib/feedparser/tests/wellformed/namespace/atomsvgdesc.xml b/lib/feedparser/tests/wellformed/namespace/atomsvgdesc.xml new file mode 100644 index 00000000..5f9311cd --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/atomsvgdesc.xml @@ -0,0 +1,9 @@ + + + +
foo
+
+
diff --git a/lib/feedparser/tests/wellformed/namespace/atomsvgtitle.xml b/lib/feedparser/tests/wellformed/namespace/atomsvgtitle.xml new file mode 100644 index 00000000..7848e992 --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/atomsvgtitle.xml @@ -0,0 +1,9 @@ + + + +
foo
+
+
diff --git a/lib/feedparser/tests/wellformed/namespace/atomthreading.xml b/lib/feedparser/tests/wellformed/namespace/atomthreading.xml new file mode 100644 index 00000000..b5d6ea66 --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/atomthreading.xml @@ -0,0 +1,5 @@ + + diff --git a/lib/feedparser/tests/wellformed/namespace/atomthreadingwithentry.xml b/lib/feedparser/tests/wellformed/namespace/atomthreadingwithentry.xml new file mode 100644 index 00000000..79c7e4d0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/atomthreadingwithentry.xml @@ -0,0 +1,6 @@ + + +tag:blogger.com,1999:blog-893591374313312737.post3861663258538857954..comments2009-12-08T16:59:02.563-08:00Comments on salmon-test: Test postJohnnoreply@blogger.comBlogger30125tag:blogger.com,1999:blog-893591374313312737.post-47886288576257377012009-12-08T16:59:02.544-08:002009-12-08T16:59:02.544-08:00bloffo bliff by te...bloffo bliff by <a href="http://example.org/profile/te..." rel="nofollow">te...</a>Johnhttp://www.blogger.com/profile/12344017489797258795noreply@blogger.com diff --git a/lib/feedparser/tests/wellformed/namespace/atomxlink.xml b/lib/feedparser/tests/wellformed/namespace/atomxlink.xml new file mode 100644 index 00000000..ed7105ec --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/atomxlink.xml @@ -0,0 +1,9 @@ + + + +
+
+
diff --git a/lib/feedparser/tests/wellformed/namespace/rss1.0withModules.xml b/lib/feedparser/tests/wellformed/namespace/rss1.0withModules.xml new file mode 100644 index 00000000..469b7630 --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/rss1.0withModules.xml @@ -0,0 +1,47 @@ + + + + RSS Tests - RSS 1.0 + http://www.pocketsoap.com/rssTests/rss1.0withModules.xml + A set of test RSS files for examining the state of extension support in RSS aggregators + en-gb + Copyright 2002 Simon Fell + + 2002-09-28T20:01:19Z + sf@zaks.demon.co.uk + sf@zaks.demon.co.uk + + 2002-09-28T20:01:19Z + 2002-01-12T02:15:32Z + + 2002-09-28T20:01:19Z + 2002 + + + + + + + + + + Test Item - RSS 1.0 + http://www.pocketsoap.com/weblog/rssTests/rss1.0withModules.xml#1 + + This is a fairly standard RSS 1.0 feed with a few modules, with no localname clashes, any aggregator that supports RSS 1.0 should handle this fine (RSS 1.0) + 2002-09-28T20:01:19Z + + 2002-09-28T20:01:19Z + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/namespace/rss1.0withModulesNoDefNS.xml b/lib/feedparser/tests/wellformed/namespace/rss1.0withModulesNoDefNS.xml new file mode 100644 index 00000000..d0442be1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/rss1.0withModulesNoDefNS.xml @@ -0,0 +1,48 @@ + + + + RSS Tests - RSS 1.0 no Default NS + http://www.pocketsoap.com/rssTests/rss1.0withModulesNoDefNS.xml + A set of test RSS files for examining the state of extension support in RSS aggregators + en-gb + Copyright 2002 Simon Fell + + 2002-09-28T20:01:19Z + sf@zaks.demon.co.uk + sf@zaks.demon.co.uk + + 2002-09-28T20:01:19Z + 2002-01-12T02:15:32Z + + 2002-09-28T20:01:19Z + 2002 + + + + + + + + + + Test Item - RSS 1.0 no Default NS + http://www.pocketsoap.com/weblog/rssTests/rss1.0withModulesNoDefNS.xml#1 + + This is a fairly standard RSS 1.0 feed with a few modules, with no localname clashes, any aggregator that supports RSS 1.0 should handle this fine. This doesn't use + any default namespace declarations, all namespaces are mapped to prefixes. As far the namespace spec is concerned this is identical to the rss1.0withModules.xml version (RSS 1.0 no Default NS) + 2002-09-28T20:01:19Z + + 2002-09-28T20:01:19Z + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/namespace/rss1.0withModulesNoDefNSLocalNameClash.xml b/lib/feedparser/tests/wellformed/namespace/rss1.0withModulesNoDefNSLocalNameClash.xml new file mode 100644 index 00000000..f09c9f5f --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/rss1.0withModulesNoDefNSLocalNameClash.xml @@ -0,0 +1,53 @@ + + + + RSS Tests - RSS 1.0 no Default NS, localName clashes + http://www.pocketsoap.com/rssTests/rss1.0withModulesNoDefNSLocalNameClash.xml + A set of test RSS files for examining the state of extension support in RSS aggregators + en-gb + Copyright 2002 Simon Fell + + 2002-09-28T20:01:19Z + sf@zaks.demon.co.uk + sf@zaks.demon.co.uk + + 2002-09-28T20:01:19Z + 2002-01-12T02:15:32Z + + 2002-09-28T20:01:19Z + 2002 + + + + + + + + + + Test Item - RSS 1.0 no Default NS, localName clashes + http://www.pocketsoap.com/weblog/rssTests/rss1.0withModulesNoDefNSLocalNameClash.xml#1 + + This is a extension module that is in a different namespace, but uses a localname from the RSS core spec. + This shouldn't appear in your aggregator, but probably does. (pre rss:description RSS 1.0 no Default NS, localName clashes) + + correct description + This is a extension module that is in a different namespace, but uses a localname from the RSS core spec. + This shouldn't appear in your aggregator, but probably does. (post rss:description RSS 1.0 no Default NS, localName clashes) + + 2002-09-28T20:01:19Z + 2002-09-28T20:01:19Z + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/namespace/rss2.0NSwithModules.xml b/lib/feedparser/tests/wellformed/namespace/rss2.0NSwithModules.xml new file mode 100644 index 00000000..99f40d77 --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/rss2.0NSwithModules.xml @@ -0,0 +1,50 @@ + + + + RSS Tests - RSS2.0 w/ NS + http://www.pocketsoap.com/rssTests/rss2.0NSwithModules.xml + A set of test RSS files for examining the state of extension support in RSS aggregators + en-gb + Copyright 2002 Simon Fell + + Copyright 2002 Simon Fell + 2002-09-28T21:00:02Z + Sat, 28 Sep 2002 21:00:02 GMT + Sat, 28 Sep 2002 21:00:02 GMT + sf@zaks.demon.co.uk + sf@zaks.demon.co.uk + + sf@zaks.demon.co.uk + ultraedit-32 + + sf@zaks.demon.co.uk (Simon Fell) + 2002-09-28T20:01:19Z + 2002-01-12T02:15:32Z + + 2002-09-28T20:01:19Z + 2002 + + + Test Item - RSS2.0 w/ NS + http://www.pocketsoap.com/weblog/rssTests/rss2.0NSwithModules.xml#1 + This is a fairly standard RSS 2.0 feed, it uses a few modules, the RSS 2.0 elements are in the http://backend.userland.com/rss2 namespace, all module elements are in their required namespaces. + there are no localname clashes. This is very similar to a RSS1.0 feed. (RSS2.0 w/ NS) + + + 2002-09-28T20:01:19Z + 2002-09-28T20:01:19Z + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/namespace/rss2.0NSwithModulesNoDefNS.xml b/lib/feedparser/tests/wellformed/namespace/rss2.0NSwithModulesNoDefNS.xml new file mode 100644 index 00000000..7f374dd2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/rss2.0NSwithModulesNoDefNS.xml @@ -0,0 +1,50 @@ + + + + RSS Tests - RSS2.0 w/ NS no default NS + http://www.pocketsoap.com/rssTests/rss2.0NSwithModulesNoDefNS.xml + A set of test RSS files for examining the state of extension support in RSS aggregators + en-gb + Copyright 2002 Simon Fell + + Copyright 2002 Simon Fell + 2002-09-28T21:00:02Z + Sat, 28 Sep 2002 21:00:02 GMT + Sat, 28 Sep 2002 21:00:02 GMT + sf@zaks.demon.co.uk + sf@zaks.demon.co.uk + + sf@zaks.demon.co.uk + ultraedit-32 + + sf@zaks.demon.co.uk (Simon Fell) + 2002-09-28T20:01:19Z + 2002-01-12T02:15:32Z + + 2002-09-28T20:01:19Z + 2002 + + + Test Item - - RSS2.0 w/ NS no default NS + http://www.pocketsoap.com/weblog/rssTests/rss2.0withModulesNoDefNS.xml#1 + This is a fairly standard RSS 2.0 feed, it uses a few modules, the RSS 2.0 elements are in the http://backend.userland.com/rss2 namespace, all module elements are in their required namespaces. + there are no localname clashes, all elements uses namespace prefixes, there is no default namespace declared. This is very similar to a RSS1.0 feed. (RSS2.0 w/ NS no default NS) + + + 2002-09-28T20:01:19Z + 2002-09-28T20:01:19Z + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/namespace/rss2.0NSwithModulesNoDefNSLocalNameClash.xml b/lib/feedparser/tests/wellformed/namespace/rss2.0NSwithModulesNoDefNSLocalNameClash.xml new file mode 100644 index 00000000..be99b57c --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/rss2.0NSwithModulesNoDefNSLocalNameClash.xml @@ -0,0 +1,58 @@ + + + + RSS Tests - RSS2.0 w/ NS, no default NS, localName clash + http://www.pocketsoap.com/rssTests/rss2.0NSwithModulesNoDefNSLocalNameClash.xml + A set of test RSS files for examining the state of extension support in RSS aggregators + en-gb + en-gb + + Copyright 2002 Simon Fell + Copyright 2002 Simon Fell + 2002-09-28T21:00:02Z + Sat, 28 Sep 2002 21:00:02 GMT + Sat, 28 Sep 2002 21:00:02 GMT + sf@zaks.demon.co.uk + + sf@zaks.demon.co.uk + sf@zaks.demon.co.uk + ultraedit-32 + + sf@zaks.demon.co.uk (Simon Fell) + 2002-09-28T20:01:19Z + + 2002-01-12T02:15:32Z + 2002-09-28T20:01:19Z + 2002 + + + Test Item - RSS2.0 w/ NS, no default NS, localName clash + http://www.pocketsoap.com/weblog/rssTests/rss2.0NSwithModulesNoDefNSLocalNameClash.xml#1 + + + This is a extension module that is in a different namespace, but uses a localname from the RSS core spec. + This shouldn't appear in your aggregator, but probably does. (pre rss:description - RSS2.0 w/ NS, no default NS, localName clash) + + correct description + This is a extension module that is in a different namespace, but uses a localname from the RSS core spec. + This shouldn't appear in your aggregator, but probably does. (post rss:description - RSS2.0 w/ NS, no default NS, localName clash) + + 2002-09-28T20:01:19Z + 2002-09-28T20:01:19Z + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/namespace/rss2.0mathml.xml b/lib/feedparser/tests/wellformed/namespace/rss2.0mathml.xml new file mode 100644 index 00000000..0a1bbca7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/rss2.0mathml.xml @@ -0,0 +1,11 @@ + + + + +<math xmlns='http://www.w3.org/1998/Math/MathML'><mrow xlink:type="simple" xlink:show="replace" xlink:href="http://golem.ph.utexas.edu"><mrow><mi>a</mi><mo>+</mo><mi>b</mi></mrow></mrow></math> + + + diff --git a/lib/feedparser/tests/wellformed/namespace/rss2.0noNSwithModules.xml b/lib/feedparser/tests/wellformed/namespace/rss2.0noNSwithModules.xml new file mode 100644 index 00000000..3869d964 --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/rss2.0noNSwithModules.xml @@ -0,0 +1,49 @@ + + + + RSS Tests - RSS2.0 no NS + http://www.pocketsoap.com/rssTests/rss2.0noNSwithModules.xml + A set of test RSS files for examining the state of extension support in RSS aggregators + en-gb + Copyright 2002 Simon Fell + + Copyright 2002 Simon Fell + 2002-09-28T21:00:02Z + Sat, 28 Sep 2002 21:00:02 GMT + Sat, 28 Sep 2002 21:00:02 GMT + sf@zaks.demon.co.uk + sf@zaks.demon.co.uk + + sf@zaks.demon.co.uk + ultraedit-32 + + sf@zaks.demon.co.uk (Simon Fell) + 2002-09-28T20:01:19Z + 2002-01-12T02:15:32Z + + 2002-09-28T20:01:19Z + 2002 + + + Test Item - RSS 2.0 no NS + http://www.pocketsoap.com/weblog/rssTests/rss2.0noNSwithModules.xml + This is a fairly standard RSS 2.0 feed, it uses a few modules, the RSS 2.0 elements aren't in any namespace, all module elements are in their required namespaces. + there are no localname clashes. This is largely backwardly compatible with 0.9x. (RSS 2.0 no NS) + + + 2002-09-28T20:01:19Z + 2002-09-28T20:01:19Z + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/namespace/rss2.0noNSwithModulesLocalNameClash.xml b/lib/feedparser/tests/wellformed/namespace/rss2.0noNSwithModulesLocalNameClash.xml new file mode 100644 index 00000000..174de089 --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/rss2.0noNSwithModulesLocalNameClash.xml @@ -0,0 +1,57 @@ + + + + RSS Tests - RSS2.0 no NS localName clash + http://www.pocketsoap.com/rssTests/rss2.0noNSwithModulesLocalNameClash.xml + A set of test RSS files for examining the state of extension support in RSS aggregators + en-gb + en-gb + + Copyright 2002 Simon Fell + Copyright 2002 Simon Fell + 2002-09-28T21:00:02Z + Sat, 28 Sep 2002 21:00:02 GMT + Sat, 28 Sep 2002 21:00:02 GMT + sf@zaks.demon.co.uk + + sf@zaks.demon.co.uk + sf@zaks.demon.co.uk + ultraedit-32 + + sf@zaks.demon.co.uk (Simon Fell) + 2002-09-28T20:01:19Z + + 2002-01-12T02:15:32Z + 2002-09-28T20:01:19Z + 2002 + + + Test Item - RSS2.0 no NS localName clash + http://www.pocketsoap.com/weblog/rssTests/rss2.0noNSwithModulesLocalNameClash.xml#1 + + + This is a extension module that is in a different namespace, but uses a localname from the RSS core spec. + This shouldn't appear in your aggregator, but probably does. (pre rss:description - RSS2.0 no NS localName clash) + + correct description + This is a extension module that is in a different namespace, but uses a localname from the RSS core spec. + This shouldn't appear in your aggregator, but probably does. (post rss:description - RSS2.0 no NS localName clash) + + 2002-09-28T20:01:19Z + 2002-09-28T20:01:19Z + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/namespace/rss2.0svg.xml b/lib/feedparser/tests/wellformed/namespace/rss2.0svg.xml new file mode 100644 index 00000000..1a7a5546 --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/rss2.0svg.xml @@ -0,0 +1,11 @@ + + + + +<svg version="1.1" baseProfile="full" width="300px" height="200px" xmlns="http://www.w3.org/2000/svg"><circle cx="150px" cy="100px" r="50px" fill="#ff0000" stroke="#000000" stroke-width="5px" /></svg> + + + diff --git a/lib/feedparser/tests/wellformed/namespace/rss2.0svg5.xml b/lib/feedparser/tests/wellformed/namespace/rss2.0svg5.xml new file mode 100644 index 00000000..8119615b --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/rss2.0svg5.xml @@ -0,0 +1,11 @@ + + + + +<svg version="1.1" baseProfile="full" width="300px" height="200px"><circle cx="150px" cy="100px" r="50px" fill="#ff0000" stroke="#000000" stroke-width="5px" /></svg> + + + diff --git a/lib/feedparser/tests/wellformed/namespace/rss2.0svgtitle.xml b/lib/feedparser/tests/wellformed/namespace/rss2.0svgtitle.xml new file mode 100644 index 00000000..e06a69ca --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/rss2.0svgtitle.xml @@ -0,0 +1,11 @@ + + + + +<svg version="1.1" baseProfile="full" width="300px" height="200px" xmlns="http://www.w3.org/2000/svg"><title>foo</title><circle cx="150px" cy="100px" r="50px" fill="#ff0000" stroke="#000000" stroke-width="5px"/></svg> + + + diff --git a/lib/feedparser/tests/wellformed/namespace/rss2.0withAtomNS.xml b/lib/feedparser/tests/wellformed/namespace/rss2.0withAtomNS.xml new file mode 100644 index 00000000..6f4bbe0b --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/rss2.0withAtomNS.xml @@ -0,0 +1,27 @@ + + + + Delicious/wearehugh + http://delicious.com/wearehugh + bookmarks posted by wearehugh + + + rsync and vfat | Geek at Play + Fri, 25 Dec 2009 03:30:22 +0000 + http://delicious.com/url/174603f9d836a1aafac49e28ace1c19e#wearehugh + http://www.kylev.com/2005/03/29/rsync-and-vfat/ + + http://delicious.com/url/174603f9d836a1aafac49e28ace1c19e + http://feeds.delicious.com/v2/rss/url/174603f9d836a1aafac49e28ace1c19e + wearehugh's bookmarks + rsync + vfat + windows + linux + mount + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/namespace/rss2.0xlink.xml b/lib/feedparser/tests/wellformed/namespace/rss2.0xlink.xml new file mode 100644 index 00000000..047c0bce --- /dev/null +++ b/lib/feedparser/tests/wellformed/namespace/rss2.0xlink.xml @@ -0,0 +1,11 @@ + + + + +<svg version="1.1" baseProfile="full" width="300px" height="200px" xmlns="http://www.w3.org/2000/svg"><a xlink:href="http://example.com/"><circle cx="150px" cy="100px" r="50px" fill="#ff0000" stroke="#000000" stroke-width="5px" /></a></svg> + + + diff --git a/lib/feedparser/tests/wellformed/node_precedence/atom10_arbitrary_element.xml b/lib/feedparser/tests/wellformed/node_precedence/atom10_arbitrary_element.xml new file mode 100644 index 00000000..4421f817 --- /dev/null +++ b/lib/feedparser/tests/wellformed/node_precedence/atom10_arbitrary_element.xml @@ -0,0 +1,18 @@ + + + + Correct Value + + Incorrect Value + + + + + Incorrect Value + + Correct Value + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/node_precedence/atom10_id.xml b/lib/feedparser/tests/wellformed/node_precedence/atom10_id.xml new file mode 100644 index 00000000..e6741531 --- /dev/null +++ b/lib/feedparser/tests/wellformed/node_precedence/atom10_id.xml @@ -0,0 +1,18 @@ + + + + Correct Value + + Incorrect Value + + + + + Incorrect Value + + Correct Value + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/node_precedence/atom10_title.xml b/lib/feedparser/tests/wellformed/node_precedence/atom10_title.xml new file mode 100644 index 00000000..bf3a201b --- /dev/null +++ b/lib/feedparser/tests/wellformed/node_precedence/atom10_title.xml @@ -0,0 +1,18 @@ + + + + Correct Value + + Incorrect Value + + + + + Incorrect Value + + Correct Value + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rdf/doctype_contains_entity_decl.xml b/lib/feedparser/tests/wellformed/rdf/doctype_contains_entity_decl.xml new file mode 100644 index 00000000..e235aa05 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rdf/doctype_contains_entity_decl.xml @@ -0,0 +1,17 @@ + + + +%HTMLlat1; +]> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rdf/rdf_channel_description.xml b/lib/feedparser/tests/wellformed/rdf/rdf_channel_description.xml new file mode 100644 index 00000000..26be54e7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rdf/rdf_channel_description.xml @@ -0,0 +1,9 @@ + + + + Example description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rdf/rdf_channel_link.xml b/lib/feedparser/tests/wellformed/rdf/rdf_channel_link.xml new file mode 100644 index 00000000..9c50f64a --- /dev/null +++ b/lib/feedparser/tests/wellformed/rdf/rdf_channel_link.xml @@ -0,0 +1,9 @@ + + + + http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rdf/rdf_channel_title.xml b/lib/feedparser/tests/wellformed/rdf/rdf_channel_title.xml new file mode 100644 index 00000000..edca2428 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rdf/rdf_channel_title.xml @@ -0,0 +1,9 @@ + + + + Example feed + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rdf/rdf_item_description.xml b/lib/feedparser/tests/wellformed/rdf/rdf_item_description.xml new file mode 100644 index 00000000..a40ea080 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rdf/rdf_item_description.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + Example description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rdf/rdf_item_link.xml b/lib/feedparser/tests/wellformed/rdf/rdf_item_link.xml new file mode 100644 index 00000000..8f0a07c7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rdf/rdf_item_link.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + http://example.com/1 + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rdf/rdf_item_rdf_about.xml b/lib/feedparser/tests/wellformed/rdf/rdf_item_rdf_about.xml new file mode 100644 index 00000000..1362e1b1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rdf/rdf_item_rdf_about.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rdf/rdf_item_title.xml b/lib/feedparser/tests/wellformed/rdf/rdf_item_title.xml new file mode 100644 index 00000000..04ec848d --- /dev/null +++ b/lib/feedparser/tests/wellformed/rdf/rdf_item_title.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + Example title + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rdf/rss090_channel_title.xml b/lib/feedparser/tests/wellformed/rdf/rss090_channel_title.xml new file mode 100644 index 00000000..0169e311 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rdf/rss090_channel_title.xml @@ -0,0 +1,12 @@ + + + +Example title + + +Item title + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rdf/rss090_item_title.xml b/lib/feedparser/tests/wellformed/rdf/rss090_item_title.xml new file mode 100644 index 00000000..41d88e31 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rdf/rss090_item_title.xml @@ -0,0 +1,12 @@ + + + +Example title + + +Item title + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rdf/rss_version_10.xml b/lib/feedparser/tests/wellformed/rdf/rss_version_10.xml new file mode 100644 index 00000000..b51a1130 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rdf/rss_version_10.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rdf/rss_version_10_not_default_ns.xml b/lib/feedparser/tests/wellformed/rdf/rss_version_10_not_default_ns.xml new file mode 100644 index 00000000..e033013e --- /dev/null +++ b/lib/feedparser/tests/wellformed/rdf/rss_version_10_not_default_ns.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/lib/feedparser/tests/wellformed/rss/aaa_wellformed.xml b/lib/feedparser/tests/wellformed/rss/aaa_wellformed.xml new file mode 100644 index 00000000..c9c70bed --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/aaa_wellformed.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_author.xml b/lib/feedparser/tests/wellformed/rss/channel_author.xml new file mode 100644 index 00000000..74aecd76 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_author.xml @@ -0,0 +1,9 @@ + + + +Example editor (me@example.com) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_author_map_author_detail_email.xml b/lib/feedparser/tests/wellformed/rss/channel_author_map_author_detail_email.xml new file mode 100644 index 00000000..c0919c2b --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_author_map_author_detail_email.xml @@ -0,0 +1,9 @@ + + + +Example editor (me@example.com) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_author_map_author_detail_email_2.xml b/lib/feedparser/tests/wellformed/rss/channel_author_map_author_detail_email_2.xml new file mode 100644 index 00000000..da0b9c19 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_author_map_author_detail_email_2.xml @@ -0,0 +1,9 @@ + + + +Example editor (me+spam@example.com) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_author_map_author_detail_email_3.xml b/lib/feedparser/tests/wellformed/rss/channel_author_map_author_detail_email_3.xml new file mode 100644 index 00000000..8deba3e7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_author_map_author_detail_email_3.xml @@ -0,0 +1,9 @@ + + + +me@example.com (Example editor) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_author_map_author_detail_name.xml b/lib/feedparser/tests/wellformed/rss/channel_author_map_author_detail_name.xml new file mode 100644 index 00000000..3e5f8705 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_author_map_author_detail_name.xml @@ -0,0 +1,9 @@ + + + +Example editor (me@example.com) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_author_map_author_detail_name_2.xml b/lib/feedparser/tests/wellformed/rss/channel_author_map_author_detail_name_2.xml new file mode 100644 index 00000000..ec133699 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_author_map_author_detail_name_2.xml @@ -0,0 +1,9 @@ + + + +me@example.com (Example editor) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_category.xml b/lib/feedparser/tests/wellformed/rss/channel_category.xml new file mode 100644 index 00000000..37ddf22d --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_category.xml @@ -0,0 +1,9 @@ + + + +Example category + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_category_domain.xml b/lib/feedparser/tests/wellformed/rss/channel_category_domain.xml new file mode 100644 index 00000000..6c07ccc5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_category_domain.xml @@ -0,0 +1,9 @@ + + + +Example category + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_category_multiple.xml b/lib/feedparser/tests/wellformed/rss/channel_category_multiple.xml new file mode 100644 index 00000000..9effbfdd --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_category_multiple.xml @@ -0,0 +1,10 @@ + + + +Example category 1 +Example category 2 + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_category_multiple_2.xml b/lib/feedparser/tests/wellformed/rss/channel_category_multiple_2.xml new file mode 100644 index 00000000..00daebe2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_category_multiple_2.xml @@ -0,0 +1,10 @@ + + + +Example category 1 +Example category 2 + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_cloud_domain.xml b/lib/feedparser/tests/wellformed/rss/channel_cloud_domain.xml new file mode 100644 index 00000000..ef926b6c --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_cloud_domain.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_cloud_path.xml b/lib/feedparser/tests/wellformed/rss/channel_cloud_path.xml new file mode 100644 index 00000000..eccf1b9d --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_cloud_path.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_cloud_port.xml b/lib/feedparser/tests/wellformed/rss/channel_cloud_port.xml new file mode 100644 index 00000000..0cd2bc65 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_cloud_port.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_cloud_protocol.xml b/lib/feedparser/tests/wellformed/rss/channel_cloud_protocol.xml new file mode 100644 index 00000000..73e3392c --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_cloud_protocol.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_cloud_registerProcedure.xml b/lib/feedparser/tests/wellformed/rss/channel_cloud_registerProcedure.xml new file mode 100644 index 00000000..703f5365 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_cloud_registerProcedure.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_copyright.xml b/lib/feedparser/tests/wellformed/rss/channel_copyright.xml new file mode 100644 index 00000000..c1dec40c --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_copyright.xml @@ -0,0 +1,9 @@ + + + +Example copyright + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_author.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_author.xml new file mode 100644 index 00000000..6bae15e1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_author.xml @@ -0,0 +1,9 @@ + + + +Example editor + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_author_map_author_detail_email.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_author_map_author_detail_email.xml new file mode 100644 index 00000000..b5d73d55 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_author_map_author_detail_email.xml @@ -0,0 +1,9 @@ + + + +Example editor (me@example.com) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_author_map_author_detail_name.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_author_map_author_detail_name.xml new file mode 100644 index 00000000..f6894456 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_author_map_author_detail_name.xml @@ -0,0 +1,9 @@ + + + +Example editor (me@example.com) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_contributor.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_contributor.xml new file mode 100644 index 00000000..76450c2f --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_contributor.xml @@ -0,0 +1,9 @@ + + + +Example contributor + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_creator.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_creator.xml new file mode 100644 index 00000000..111ae8ba --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_creator.xml @@ -0,0 +1,9 @@ + + + +Example editor + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_creator_map_author_detail_email.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_creator_map_author_detail_email.xml new file mode 100644 index 00000000..05cb34ac --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_creator_map_author_detail_email.xml @@ -0,0 +1,9 @@ + + + +Example editor (me@example.com) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_creator_map_author_detail_name.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_creator_map_author_detail_name.xml new file mode 100644 index 00000000..451dd86e --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_creator_map_author_detail_name.xml @@ -0,0 +1,9 @@ + + + +Example editor (me@example.com) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_date.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_date.xml new file mode 100644 index 00000000..cbf3fa79 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_date.xml @@ -0,0 +1,9 @@ + + + +2003-12-31T10:14:55Z + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_date_parsed.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_date_parsed.xml new file mode 100644 index 00000000..79511488 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_date_parsed.xml @@ -0,0 +1,9 @@ + + + +2003-12-31T10:14:55Z + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_publisher.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_publisher.xml new file mode 100644 index 00000000..b21d4ad8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_publisher.xml @@ -0,0 +1,9 @@ + + + +Example editor + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_publisher_email.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_publisher_email.xml new file mode 100644 index 00000000..1c5d8cd1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_publisher_email.xml @@ -0,0 +1,9 @@ + + + +Example editor (me@example.com) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_publisher_name.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_publisher_name.xml new file mode 100644 index 00000000..e581af65 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_publisher_name.xml @@ -0,0 +1,9 @@ + + + +Example editor (me@example.com) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_rights.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_rights.xml new file mode 100644 index 00000000..9d33d75c --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_rights.xml @@ -0,0 +1,9 @@ + + + +Example copyright + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_subject.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_subject.xml new file mode 100644 index 00000000..c8ab3010 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_subject.xml @@ -0,0 +1,9 @@ + + + +Example category + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_subject_2.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_subject_2.xml new file mode 100644 index 00000000..953d4d3f --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_subject_2.xml @@ -0,0 +1,9 @@ + + + +Example category + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_subject_multiple.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_subject_multiple.xml new file mode 100644 index 00000000..3ff2558c --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_subject_multiple.xml @@ -0,0 +1,10 @@ + + + +Example category 1 +Example category 2 + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_dc_title.xml b/lib/feedparser/tests/wellformed/rss/channel_dc_title.xml new file mode 100644 index 00000000..299ae233 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dc_title.xml @@ -0,0 +1,9 @@ + + + +Example title + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_dcterms_created.xml b/lib/feedparser/tests/wellformed/rss/channel_dcterms_created.xml new file mode 100644 index 00000000..aa36aadb --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dcterms_created.xml @@ -0,0 +1,9 @@ + + + +2003-12-31T10:14:55Z + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_dcterms_created_parsed.xml b/lib/feedparser/tests/wellformed/rss/channel_dcterms_created_parsed.xml new file mode 100644 index 00000000..21117859 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dcterms_created_parsed.xml @@ -0,0 +1,9 @@ + + + +2003-12-31T10:14:55Z + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_dcterms_issued.xml b/lib/feedparser/tests/wellformed/rss/channel_dcterms_issued.xml new file mode 100644 index 00000000..a17cee67 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dcterms_issued.xml @@ -0,0 +1,9 @@ + + + +2003-12-31T10:14:55Z + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_dcterms_issued_parsed.xml b/lib/feedparser/tests/wellformed/rss/channel_dcterms_issued_parsed.xml new file mode 100644 index 00000000..dda97dca --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dcterms_issued_parsed.xml @@ -0,0 +1,9 @@ + + + +2003-12-31T10:14:55Z + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_dcterms_modified.xml b/lib/feedparser/tests/wellformed/rss/channel_dcterms_modified.xml new file mode 100644 index 00000000..5a436d2c --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dcterms_modified.xml @@ -0,0 +1,9 @@ + + + +2003-12-31T10:14:55Z + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_dcterms_modified_parsed.xml b/lib/feedparser/tests/wellformed/rss/channel_dcterms_modified_parsed.xml new file mode 100644 index 00000000..53ed3b26 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_dcterms_modified_parsed.xml @@ -0,0 +1,9 @@ + + + +2003-12-31T10:14:55Z + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_description.xml b/lib/feedparser/tests/wellformed/rss/channel_description.xml new file mode 100644 index 00000000..d2621011 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_description.xml @@ -0,0 +1,9 @@ + + + +Example description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_description_escaped_markup.xml b/lib/feedparser/tests/wellformed/rss/channel_description_escaped_markup.xml new file mode 100644 index 00000000..fa86a59c --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_description_escaped_markup.xml @@ -0,0 +1,9 @@ + + + +<p>Example description</p> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_description_map_tagline.xml b/lib/feedparser/tests/wellformed/rss/channel_description_map_tagline.xml new file mode 100644 index 00000000..f83cc50d --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_description_map_tagline.xml @@ -0,0 +1,9 @@ + + + +Example description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_description_naked_markup.xml b/lib/feedparser/tests/wellformed/rss/channel_description_naked_markup.xml new file mode 100644 index 00000000..671452fb --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_description_naked_markup.xml @@ -0,0 +1,9 @@ + + + +

Example description

+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_description_shorttag.xml b/lib/feedparser/tests/wellformed/rss/channel_description_shorttag.xml new file mode 100644 index 00000000..d0d49285 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_description_shorttag.xml @@ -0,0 +1,10 @@ + + + + +http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_docs.xml b/lib/feedparser/tests/wellformed/rss/channel_docs.xml new file mode 100644 index 00000000..f2e312a9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_docs.xml @@ -0,0 +1,9 @@ + + + +http://www.example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_generator.xml b/lib/feedparser/tests/wellformed/rss/channel_generator.xml new file mode 100644 index 00000000..5c046e35 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_generator.xml @@ -0,0 +1,9 @@ + + + +Example generator + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_image_description.xml b/lib/feedparser/tests/wellformed/rss/channel_image_description.xml new file mode 100644 index 00000000..e498675e --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_image_description.xml @@ -0,0 +1,16 @@ + + + + +Sample image +http://example.org/url +http://example.org/link +80 +15 +Available in Netscape RSS 0.91 + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_image_height.xml b/lib/feedparser/tests/wellformed/rss/channel_image_height.xml new file mode 100644 index 00000000..97c68b34 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_image_height.xml @@ -0,0 +1,16 @@ + + + + +Sample image +http://example.org/url +http://example.org/link +80 +15 +Available in Netscape RSS 0.91 + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_image_link.xml b/lib/feedparser/tests/wellformed/rss/channel_image_link.xml new file mode 100644 index 00000000..3e1ad8c4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_image_link.xml @@ -0,0 +1,16 @@ + + + + +Sample image +http://example.org/url +http://example.org/link +80 +15 +Available in Netscape RSS 0.91 + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_image_link_bleed.xml b/lib/feedparser/tests/wellformed/rss/channel_image_link_bleed.xml new file mode 100644 index 00000000..d6b1c026 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_image_link_bleed.xml @@ -0,0 +1,12 @@ + + + +http://channel.example.com/ + +http://image.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_image_link_conflict.xml b/lib/feedparser/tests/wellformed/rss/channel_image_link_conflict.xml new file mode 100644 index 00000000..6187df74 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_image_link_conflict.xml @@ -0,0 +1,12 @@ + + + +http://channel.example.com/ + +http://image.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_image_title.xml b/lib/feedparser/tests/wellformed/rss/channel_image_title.xml new file mode 100644 index 00000000..66d8fe83 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_image_title.xml @@ -0,0 +1,16 @@ + + + + +Sample image +http://example.org/url +http://example.org/link +80 +15 +Available in Netscape RSS 0.91 + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_image_title_conflict.xml b/lib/feedparser/tests/wellformed/rss/channel_image_title_conflict.xml new file mode 100644 index 00000000..aac174d6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_image_title_conflict.xml @@ -0,0 +1,12 @@ + + + +Real title + +textInput title + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_image_url.xml b/lib/feedparser/tests/wellformed/rss/channel_image_url.xml new file mode 100644 index 00000000..cd3c0529 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_image_url.xml @@ -0,0 +1,16 @@ + + + + +Sample image +http://example.org/url +http://example.org/link +80 +15 +Available in Netscape RSS 0.91 + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_image_width.xml b/lib/feedparser/tests/wellformed/rss/channel_image_width.xml new file mode 100644 index 00000000..96470d64 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_image_width.xml @@ -0,0 +1,16 @@ + + + + +Sample image +http://example.org/url +http://example.org/link +80 +15 +Available in Netscape RSS 0.91 + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_lastBuildDate.xml b/lib/feedparser/tests/wellformed/rss/channel_lastBuildDate.xml new file mode 100644 index 00000000..88b1398a --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_lastBuildDate.xml @@ -0,0 +1,9 @@ + + + + Sat, 07 Sep 2002 00:00:01 GMT + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_lastBuildDate_parsed.xml b/lib/feedparser/tests/wellformed/rss/channel_lastBuildDate_parsed.xml new file mode 100644 index 00000000..aa0ff822 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_lastBuildDate_parsed.xml @@ -0,0 +1,9 @@ + + + + Sat, 07 Sep 2002 00:00:01 GMT + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_link.xml b/lib/feedparser/tests/wellformed/rss/channel_link.xml new file mode 100644 index 00000000..51b616fa --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_link.xml @@ -0,0 +1,9 @@ + + + +http://example.com/ + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_managingEditor.xml b/lib/feedparser/tests/wellformed/rss/channel_managingEditor.xml new file mode 100644 index 00000000..56cfa70f --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_managingEditor.xml @@ -0,0 +1,9 @@ + + + +Example editor + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_managingEditor_map_author_detail_email.xml b/lib/feedparser/tests/wellformed/rss/channel_managingEditor_map_author_detail_email.xml new file mode 100644 index 00000000..bfe88857 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_managingEditor_map_author_detail_email.xml @@ -0,0 +1,9 @@ + + + +Example editor (me@example.com) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_managingEditor_map_author_detail_name.xml b/lib/feedparser/tests/wellformed/rss/channel_managingEditor_map_author_detail_name.xml new file mode 100644 index 00000000..58294445 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_managingEditor_map_author_detail_name.xml @@ -0,0 +1,9 @@ + + + +Example editor (me@example.com) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_pubDate.xml b/lib/feedparser/tests/wellformed/rss/channel_pubDate.xml new file mode 100644 index 00000000..b60f8474 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_pubDate.xml @@ -0,0 +1,9 @@ + + + +Thu, 01 Jan 2004 19:48:21 GMT + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_pubDate_map_updated_parsed.xml b/lib/feedparser/tests/wellformed/rss/channel_pubDate_map_updated_parsed.xml new file mode 100644 index 00000000..271338d8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_pubDate_map_updated_parsed.xml @@ -0,0 +1,9 @@ + + + +Thu, 01 Jan 2004 19:48:21 GMT + + diff --git a/lib/feedparser/tests/wellformed/rss/channel_textInput_description.xml b/lib/feedparser/tests/wellformed/rss/channel_textInput_description.xml new file mode 100644 index 00000000..91ca14ba --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_textInput_description.xml @@ -0,0 +1,14 @@ + + + +Real title +Real description + +textInput title +textInput description + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_textInput_description_conflict.xml b/lib/feedparser/tests/wellformed/rss/channel_textInput_description_conflict.xml new file mode 100644 index 00000000..3eb6e7bc --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_textInput_description_conflict.xml @@ -0,0 +1,12 @@ + + + +Real description + +textInput description + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_textInput_link.xml b/lib/feedparser/tests/wellformed/rss/channel_textInput_link.xml new file mode 100644 index 00000000..ce5073bd --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_textInput_link.xml @@ -0,0 +1,12 @@ + + + +http://channel.example.com/ + +http://textinput.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_textInput_link_bleed.xml b/lib/feedparser/tests/wellformed/rss/channel_textInput_link_bleed.xml new file mode 100644 index 00000000..77d1aca6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_textInput_link_bleed.xml @@ -0,0 +1,12 @@ + + + +http://channel.example.com/ + +http://textinput.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_textInput_link_conflict.xml b/lib/feedparser/tests/wellformed/rss/channel_textInput_link_conflict.xml new file mode 100644 index 00000000..9d1ffb67 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_textInput_link_conflict.xml @@ -0,0 +1,12 @@ + + + +http://channel.example.com/ + +http://textinput.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_textInput_name.xml b/lib/feedparser/tests/wellformed/rss/channel_textInput_name.xml new file mode 100644 index 00000000..cf2316ca --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_textInput_name.xml @@ -0,0 +1,11 @@ + + + + +textinput name + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_textInput_title.xml b/lib/feedparser/tests/wellformed/rss/channel_textInput_title.xml new file mode 100644 index 00000000..7d2f4b70 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_textInput_title.xml @@ -0,0 +1,12 @@ + + + +Real title + +textInput title + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_textInput_title_conflict.xml b/lib/feedparser/tests/wellformed/rss/channel_textInput_title_conflict.xml new file mode 100644 index 00000000..f6a9d374 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_textInput_title_conflict.xml @@ -0,0 +1,12 @@ + + + +Real title + +textInput title + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_title.xml b/lib/feedparser/tests/wellformed/rss/channel_title.xml new file mode 100644 index 00000000..c4ea8c07 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_title.xml @@ -0,0 +1,9 @@ + + + +Example feed + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_title_apos.xml b/lib/feedparser/tests/wellformed/rss/channel_title_apos.xml new file mode 100644 index 00000000..35b36f3f --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_title_apos.xml @@ -0,0 +1,9 @@ + + + +Mark's title + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_title_gt.xml b/lib/feedparser/tests/wellformed/rss/channel_title_gt.xml new file mode 100644 index 00000000..dec60c1a --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_title_gt.xml @@ -0,0 +1,9 @@ + + + +2 > 1 + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_title_lt.xml b/lib/feedparser/tests/wellformed/rss/channel_title_lt.xml new file mode 100644 index 00000000..c1cf9ec5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_title_lt.xml @@ -0,0 +1,9 @@ + + + +1 < 2 + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_ttl.xml b/lib/feedparser/tests/wellformed/rss/channel_ttl.xml new file mode 100644 index 00000000..781d0585 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_ttl.xml @@ -0,0 +1,9 @@ + + + +60 + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_webMaster.xml b/lib/feedparser/tests/wellformed/rss/channel_webMaster.xml new file mode 100644 index 00000000..2f0ff5f1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_webMaster.xml @@ -0,0 +1,9 @@ + + + +Example editor + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_webMaster_email.xml b/lib/feedparser/tests/wellformed/rss/channel_webMaster_email.xml new file mode 100644 index 00000000..ff0410db --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_webMaster_email.xml @@ -0,0 +1,9 @@ + + + +Example editor (me@example.com) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/channel_webMaster_name.xml b/lib/feedparser/tests/wellformed/rss/channel_webMaster_name.xml new file mode 100644 index 00000000..1fad5732 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/channel_webMaster_name.xml @@ -0,0 +1,9 @@ + + + +Example editor (me@example.com) + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/entity_in_doctype.xml b/lib/feedparser/tests/wellformed/rss/entity_in_doctype.xml new file mode 100644 index 00000000..b8890763 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/entity_in_doctype.xml @@ -0,0 +1,16 @@ + + + +]> + + + + +&id;2006-05-04:/blog/ + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_author.xml b/lib/feedparser/tests/wellformed/rss/item_author.xml new file mode 100644 index 00000000..176ce1c9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_author.xml @@ -0,0 +1,11 @@ + + + + +Example editor + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_email.xml b/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_email.xml new file mode 100644 index 00000000..e990c9f5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_email.xml @@ -0,0 +1,11 @@ + + + + +Example editor (me@example.com) + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_email2.xml b/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_email2.xml new file mode 100644 index 00000000..4cbf2da9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_email2.xml @@ -0,0 +1,11 @@ + + + + +Example editor <me@example.com> + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_email3.xml b/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_email3.xml new file mode 100644 index 00000000..42aafb03 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_email3.xml @@ -0,0 +1,11 @@ + + + + +me@example.com (Example editor) + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_name.xml b/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_name.xml new file mode 100644 index 00000000..8083ff44 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_name.xml @@ -0,0 +1,11 @@ + + + + +Example editor (me@example.com) + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_name2.xml b/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_name2.xml new file mode 100644 index 00000000..bcc45135 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_name2.xml @@ -0,0 +1,11 @@ + + + + +Example editor <me@example.com> + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_name3.xml b/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_name3.xml new file mode 100644 index 00000000..c0f64169 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_author_map_author_detail_name3.xml @@ -0,0 +1,11 @@ + + + + +me@example.com (Example editor) + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_category.xml b/lib/feedparser/tests/wellformed/rss/item_category.xml new file mode 100644 index 00000000..2b50558c --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_category.xml @@ -0,0 +1,11 @@ + + + + +Example category + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_category_domain.xml b/lib/feedparser/tests/wellformed/rss/item_category_domain.xml new file mode 100644 index 00000000..8cbe25fd --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_category_domain.xml @@ -0,0 +1,11 @@ + + + + +Example category + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_category_image.xml b/lib/feedparser/tests/wellformed/rss/item_category_image.xml new file mode 100644 index 00000000..6c1c5e85 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_category_image.xml @@ -0,0 +1,17 @@ + + + + +Example category + + http://www.thestranger.com/imager/b/story/4281993/a0a6/SavageLove-400.jpg + <![CDATA[Savage Love]]> + + + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_category_multiple.xml b/lib/feedparser/tests/wellformed/rss/item_category_multiple.xml new file mode 100644 index 00000000..c2f121d3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_category_multiple.xml @@ -0,0 +1,12 @@ + + + + +Example category 1 +Example category 2 + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_category_multiple_2.xml b/lib/feedparser/tests/wellformed/rss/item_category_multiple_2.xml new file mode 100644 index 00000000..861dd92e --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_category_multiple_2.xml @@ -0,0 +1,12 @@ + + + + +Example category 1 +Example category 2 + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_cc_license.xml b/lib/feedparser/tests/wellformed/rss/item_cc_license.xml new file mode 100644 index 00000000..6b023b9a --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_cc_license.xml @@ -0,0 +1,12 @@ + + + + + +http://example.com/ + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_comments.xml b/lib/feedparser/tests/wellformed/rss/item_comments.xml new file mode 100644 index 00000000..9751403c --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_comments.xml @@ -0,0 +1,11 @@ + + + + +http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_content_encoded.xml b/lib/feedparser/tests/wellformed/rss/item_content_encoded.xml new file mode 100644 index 00000000..e826c39b --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_content_encoded.xml @@ -0,0 +1,11 @@ + + + + +<p>Example content</p> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_content_encoded_mode.xml b/lib/feedparser/tests/wellformed/rss/item_content_encoded_mode.xml new file mode 100644 index 00000000..6cbd874b --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_content_encoded_mode.xml @@ -0,0 +1,11 @@ + + + + +<p>Example content</p> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_content_encoded_type.xml b/lib/feedparser/tests/wellformed/rss/item_content_encoded_type.xml new file mode 100644 index 00000000..3640386b --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_content_encoded_type.xml @@ -0,0 +1,11 @@ + + + + +<p>Example content</p> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_creativeCommons_license.xml b/lib/feedparser/tests/wellformed/rss/item_creativeCommons_license.xml new file mode 100644 index 00000000..65353d91 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_creativeCommons_license.xml @@ -0,0 +1,12 @@ + + + + +http://www.creativecommons.org/licenses/by-nc/1.0 +http://example.com/ + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_author.xml b/lib/feedparser/tests/wellformed/rss/item_dc_author.xml new file mode 100644 index 00000000..22e71c64 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_author.xml @@ -0,0 +1,11 @@ + + + + +Example editor + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_author_map_author_detail_email.xml b/lib/feedparser/tests/wellformed/rss/item_dc_author_map_author_detail_email.xml new file mode 100644 index 00000000..eb81dc96 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_author_map_author_detail_email.xml @@ -0,0 +1,11 @@ + + + + +Example editor (me@example.com) + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_author_map_author_detail_name.xml b/lib/feedparser/tests/wellformed/rss/item_dc_author_map_author_detail_name.xml new file mode 100644 index 00000000..5139a243 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_author_map_author_detail_name.xml @@ -0,0 +1,11 @@ + + + + +Example editor (me@example.com) + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_contributor.xml b/lib/feedparser/tests/wellformed/rss/item_dc_contributor.xml new file mode 100644 index 00000000..79d16d03 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_contributor.xml @@ -0,0 +1,11 @@ + + + + +Example contributor + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_creator.xml b/lib/feedparser/tests/wellformed/rss/item_dc_creator.xml new file mode 100644 index 00000000..c214414b --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_creator.xml @@ -0,0 +1,11 @@ + + + + +Example editor + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_creator_map_author_detail_email.xml b/lib/feedparser/tests/wellformed/rss/item_dc_creator_map_author_detail_email.xml new file mode 100644 index 00000000..899464ec --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_creator_map_author_detail_email.xml @@ -0,0 +1,11 @@ + + + + +Example editor (me@example.com) + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_creator_map_author_detail_name.xml b/lib/feedparser/tests/wellformed/rss/item_dc_creator_map_author_detail_name.xml new file mode 100644 index 00000000..ca20ab08 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_creator_map_author_detail_name.xml @@ -0,0 +1,11 @@ + + + + +Example editor (me@example.com) + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_date.xml b/lib/feedparser/tests/wellformed/rss/item_dc_date.xml new file mode 100644 index 00000000..0f0f1179 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_date.xml @@ -0,0 +1,11 @@ + + + + +2003-12-31T10:14:55Z + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_date_parsed.xml b/lib/feedparser/tests/wellformed/rss/item_dc_date_parsed.xml new file mode 100644 index 00000000..1d39df93 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_date_parsed.xml @@ -0,0 +1,11 @@ + + + + +2003-12-31T10:14:55Z + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_description.xml b/lib/feedparser/tests/wellformed/rss/item_dc_description.xml new file mode 100644 index 00000000..973d736c --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_description.xml @@ -0,0 +1,11 @@ + + + + +Example description + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_publisher.xml b/lib/feedparser/tests/wellformed/rss/item_dc_publisher.xml new file mode 100644 index 00000000..7b4e82b5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_publisher.xml @@ -0,0 +1,11 @@ + + + + +Example editor + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_publisher_email.xml b/lib/feedparser/tests/wellformed/rss/item_dc_publisher_email.xml new file mode 100644 index 00000000..d321bed4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_publisher_email.xml @@ -0,0 +1,11 @@ + + + + +Example editor (me@example.com) + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_publisher_name.xml b/lib/feedparser/tests/wellformed/rss/item_dc_publisher_name.xml new file mode 100644 index 00000000..636c739e --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_publisher_name.xml @@ -0,0 +1,11 @@ + + + + +Example editor (me@example.com) + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_rights.xml b/lib/feedparser/tests/wellformed/rss/item_dc_rights.xml new file mode 100644 index 00000000..2d734a98 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_rights.xml @@ -0,0 +1,11 @@ + + + + +Example copyright + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_subject.xml b/lib/feedparser/tests/wellformed/rss/item_dc_subject.xml new file mode 100644 index 00000000..745a7864 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_subject.xml @@ -0,0 +1,11 @@ + + + + +Example category + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_subject_2.xml b/lib/feedparser/tests/wellformed/rss/item_dc_subject_2.xml new file mode 100644 index 00000000..b7de4cc0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_subject_2.xml @@ -0,0 +1,11 @@ + + + + +Example category + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_subject_multiple.xml b/lib/feedparser/tests/wellformed/rss/item_dc_subject_multiple.xml new file mode 100644 index 00000000..aa7722d6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_subject_multiple.xml @@ -0,0 +1,12 @@ + + + + +Example category 1 +Example category 2 + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_dc_title.xml b/lib/feedparser/tests/wellformed/rss/item_dc_title.xml new file mode 100644 index 00000000..dbe11343 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dc_title.xml @@ -0,0 +1,11 @@ + + + + +Example title + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_dcterms_created.xml b/lib/feedparser/tests/wellformed/rss/item_dcterms_created.xml new file mode 100644 index 00000000..f70882b1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dcterms_created.xml @@ -0,0 +1,11 @@ + + + + +2003-12-31T10:14:55Z + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_dcterms_created_parsed.xml b/lib/feedparser/tests/wellformed/rss/item_dcterms_created_parsed.xml new file mode 100644 index 00000000..5d235c14 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dcterms_created_parsed.xml @@ -0,0 +1,11 @@ + + + + +2003-12-31T10:14:55Z + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_dcterms_issued.xml b/lib/feedparser/tests/wellformed/rss/item_dcterms_issued.xml new file mode 100644 index 00000000..789d514c --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dcterms_issued.xml @@ -0,0 +1,11 @@ + + + + +2003-12-31T10:14:55Z + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_dcterms_issued_parsed.xml b/lib/feedparser/tests/wellformed/rss/item_dcterms_issued_parsed.xml new file mode 100644 index 00000000..4a3db36e --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dcterms_issued_parsed.xml @@ -0,0 +1,11 @@ + + + + +2003-12-31T10:14:55Z + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_dcterms_modified.xml b/lib/feedparser/tests/wellformed/rss/item_dcterms_modified.xml new file mode 100644 index 00000000..00409dd5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dcterms_modified.xml @@ -0,0 +1,11 @@ + + + + +2003-12-31T10:14:55Z + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_dcterms_modified_parsed.xml b/lib/feedparser/tests/wellformed/rss/item_dcterms_modified_parsed.xml new file mode 100644 index 00000000..388e3e70 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_dcterms_modified_parsed.xml @@ -0,0 +1,11 @@ + + + + +2003-12-31T10:14:55Z + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_description.xml b/lib/feedparser/tests/wellformed/rss/item_description.xml new file mode 100644 index 00000000..f5a49448 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_description.xml @@ -0,0 +1,11 @@ + + + + +Example description + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_description_and_summary.xml b/lib/feedparser/tests/wellformed/rss/item_description_and_summary.xml new file mode 100644 index 00000000..355f1c47 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_description_and_summary.xml @@ -0,0 +1,12 @@ + + + + +Example description +Example summary + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_description_br.xml b/lib/feedparser/tests/wellformed/rss/item_description_br.xml new file mode 100644 index 00000000..19a5a121 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_description_br.xml @@ -0,0 +1,11 @@ + + + + +
article byline

text of article]]>
+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_description_br_shorttag.xml b/lib/feedparser/tests/wellformed/rss/item_description_br_shorttag.xml new file mode 100644 index 00000000..aa11391f --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_description_br_shorttag.xml @@ -0,0 +1,12 @@ + + + + +http://www.example.com/ +<b>x</b><br/> + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_description_code_br.xml b/lib/feedparser/tests/wellformed/rss/item_description_code_br.xml new file mode 100644 index 00000000..d5b98d62 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_description_code_br.xml @@ -0,0 +1,12 @@ + + + + +http://www.example.com/ +<br />
]]> + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_description_escaped_markup.xml b/lib/feedparser/tests/wellformed/rss/item_description_escaped_markup.xml new file mode 100644 index 00000000..4f461a30 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_description_escaped_markup.xml @@ -0,0 +1,11 @@ + + + + +<p>Example description</p> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_description_map_summary.xml b/lib/feedparser/tests/wellformed/rss/item_description_map_summary.xml new file mode 100644 index 00000000..a43ece73 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_description_map_summary.xml @@ -0,0 +1,11 @@ + + + + +Example description + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_description_naked_markup.xml b/lib/feedparser/tests/wellformed/rss/item_description_naked_markup.xml new file mode 100644 index 00000000..95d54460 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_description_naked_markup.xml @@ -0,0 +1,11 @@ + + + + +

Example description

+
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_description_not_a_doctype.xml b/lib/feedparser/tests/wellformed/rss/item_description_not_a_doctype.xml new file mode 100644 index 00000000..1930555c --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_description_not_a_doctype.xml @@ -0,0 +1,9 @@ + + + +<!' <a href="foo"> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_description_not_a_doctype2.xml b/lib/feedparser/tests/wellformed/rss/item_description_not_a_doctype2.xml new file mode 100644 index 00000000..a32d25ed --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_description_not_a_doctype2.xml @@ -0,0 +1,9 @@ + + + + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_enclosure_length.xml b/lib/feedparser/tests/wellformed/rss/item_enclosure_length.xml new file mode 100644 index 00000000..5f0f72fe --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_enclosure_length.xml @@ -0,0 +1,12 @@ + + + + + +http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_enclosure_multiple.xml b/lib/feedparser/tests/wellformed/rss/item_enclosure_multiple.xml new file mode 100644 index 00000000..0e40abd0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_enclosure_multiple.xml @@ -0,0 +1,13 @@ + + + + + + +http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_enclosure_type.xml b/lib/feedparser/tests/wellformed/rss/item_enclosure_type.xml new file mode 100644 index 00000000..3b191c6d --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_enclosure_type.xml @@ -0,0 +1,12 @@ + + + + + +http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_enclosure_url.xml b/lib/feedparser/tests/wellformed/rss/item_enclosure_url.xml new file mode 100644 index 00000000..b5da8cd5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_enclosure_url.xml @@ -0,0 +1,12 @@ + + + + + +http://example.com/ + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_expirationDate.xml b/lib/feedparser/tests/wellformed/rss/item_expirationDate.xml new file mode 100644 index 00000000..c4738acd --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_expirationDate.xml @@ -0,0 +1,11 @@ + + + + +Thu, 01 Jan 2004 19:48:21 GMT + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_expirationDate_multiple_values.xml b/lib/feedparser/tests/wellformed/rss/item_expirationDate_multiple_values.xml new file mode 100644 index 00000000..59a099f6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_expirationDate_multiple_values.xml @@ -0,0 +1,12 @@ + + + + +Wed, 01 Dec 2010 19:48:21 GMT +Thu, 01 Jan 2004 19:48:21 GMT + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_expirationDate_parsed.xml b/lib/feedparser/tests/wellformed/rss/item_expirationDate_parsed.xml new file mode 100644 index 00000000..39ec50d6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_expirationDate_parsed.xml @@ -0,0 +1,11 @@ + + + + +Thu, 01 Jan 2004 19:48:21 GMT + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_fullitem.xml b/lib/feedparser/tests/wellformed/rss/item_fullitem.xml new file mode 100644 index 00000000..afe454b9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_fullitem.xml @@ -0,0 +1,11 @@ + + + + +<p>Example content</p> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_fullitem_mode.xml b/lib/feedparser/tests/wellformed/rss/item_fullitem_mode.xml new file mode 100644 index 00000000..bc14adaa --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_fullitem_mode.xml @@ -0,0 +1,11 @@ + + + + +<p>Example content</p> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_fullitem_type.xml b/lib/feedparser/tests/wellformed/rss/item_fullitem_type.xml new file mode 100644 index 00000000..f667d695 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_fullitem_type.xml @@ -0,0 +1,11 @@ + + + + +<p>Example content</p> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_guid.xml b/lib/feedparser/tests/wellformed/rss/item_guid.xml new file mode 100644 index 00000000..52ed0843 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_guid.xml @@ -0,0 +1,11 @@ + + + + +http://guid.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_guid_conflict_link.xml b/lib/feedparser/tests/wellformed/rss/item_guid_conflict_link.xml new file mode 100644 index 00000000..b579c3cd --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_guid_conflict_link.xml @@ -0,0 +1,12 @@ + + + + +http://link.example.com/ +http://guid.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_guid_guidislink.xml b/lib/feedparser/tests/wellformed/rss/item_guid_guidislink.xml new file mode 100644 index 00000000..1f9705e8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_guid_guidislink.xml @@ -0,0 +1,11 @@ + + + + +http://guid.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_guid_isPermaLink_conflict_link.xml b/lib/feedparser/tests/wellformed/rss/item_guid_isPermaLink_conflict_link.xml new file mode 100644 index 00000000..64bd5753 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_guid_isPermaLink_conflict_link.xml @@ -0,0 +1,12 @@ + + + + +http://link.example.com/ +http://guid.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_guid_isPermaLink_conflict_link_not_guidislink.xml b/lib/feedparser/tests/wellformed/rss/item_guid_isPermaLink_conflict_link_not_guidislink.xml new file mode 100644 index 00000000..d8505fb1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_guid_isPermaLink_conflict_link_not_guidislink.xml @@ -0,0 +1,12 @@ + + + + +http://link.example.com/ +http://guid.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_guid_isPermaLink_guidislink.xml b/lib/feedparser/tests/wellformed/rss/item_guid_isPermaLink_guidislink.xml new file mode 100644 index 00000000..bed21fec --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_guid_isPermaLink_guidislink.xml @@ -0,0 +1,11 @@ + + + + +http://guid.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_guid_isPermaLink_map_link.xml b/lib/feedparser/tests/wellformed/rss/item_guid_isPermaLink_map_link.xml new file mode 100644 index 00000000..ce2e90cb --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_guid_isPermaLink_map_link.xml @@ -0,0 +1,11 @@ + + + + +http://guid.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_guid_map_link.xml b/lib/feedparser/tests/wellformed/rss/item_guid_map_link.xml new file mode 100644 index 00000000..bb778e79 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_guid_map_link.xml @@ -0,0 +1,11 @@ + + + + +http://guid.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_guid_not_permalink.xml b/lib/feedparser/tests/wellformed/rss/item_guid_not_permalink.xml new file mode 100644 index 00000000..79f20e24 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_guid_not_permalink.xml @@ -0,0 +1,11 @@ + + + + +http://guid.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_guid_not_permalink_conflict_link.xml b/lib/feedparser/tests/wellformed/rss/item_guid_not_permalink_conflict_link.xml new file mode 100644 index 00000000..5f16a292 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_guid_not_permalink_conflict_link.xml @@ -0,0 +1,12 @@ + + + + +http://link.example.com/ +http://guid.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_guid_not_permalink_not_guidislink.xml b/lib/feedparser/tests/wellformed/rss/item_guid_not_permalink_not_guidislink.xml new file mode 100644 index 00000000..c25de446 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_guid_not_permalink_not_guidislink.xml @@ -0,0 +1,11 @@ + + + + +http://guid.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_guid_not_permalink_not_guidislink_2.xml b/lib/feedparser/tests/wellformed/rss/item_guid_not_permalink_not_guidislink_2.xml new file mode 100644 index 00000000..7052b455 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_guid_not_permalink_not_guidislink_2.xml @@ -0,0 +1,12 @@ + + + + +http://link.example.com/ +http://guid.example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_guid_not_permalink_not_url.xml b/lib/feedparser/tests/wellformed/rss/item_guid_not_permalink_not_url.xml new file mode 100644 index 00000000..008a2477 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_guid_not_permalink_not_url.xml @@ -0,0 +1,11 @@ + + + + +abc + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_image_link_bleed.xml b/lib/feedparser/tests/wellformed/rss/item_image_link_bleed.xml new file mode 100644 index 00000000..ae5b9864 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_image_link_bleed.xml @@ -0,0 +1,14 @@ + + + + + http://item.TEST/ + + http://item.TEST/imagelink + + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_image_link_conflict.xml b/lib/feedparser/tests/wellformed/rss/item_image_link_conflict.xml new file mode 100644 index 00000000..3fa86ae7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_image_link_conflict.xml @@ -0,0 +1,14 @@ + + + + + http://item.TEST/ + + http://item.TEST/imagelink + + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_link.xml b/lib/feedparser/tests/wellformed/rss/item_link.xml new file mode 100644 index 00000000..f56a3d4c --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_link.xml @@ -0,0 +1,11 @@ + + + + +http://example.com/ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_pubDate.xml b/lib/feedparser/tests/wellformed/rss/item_pubDate.xml new file mode 100644 index 00000000..23c3c896 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_pubDate.xml @@ -0,0 +1,11 @@ + + + + +Thu, 01 Jan 2004 19:48:21 GMT + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_pubDate_map_updated_parsed.xml b/lib/feedparser/tests/wellformed/rss/item_pubDate_map_updated_parsed.xml new file mode 100644 index 00000000..32db8be4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_pubDate_map_updated_parsed.xml @@ -0,0 +1,11 @@ + + + + +Thu, 01 Jan 2004 19:48:21 GMT + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_source.xml b/lib/feedparser/tests/wellformed/rss/item_source.xml new file mode 100644 index 00000000..12b7745e --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_source.xml @@ -0,0 +1,11 @@ + + + + +Example source + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_source_url.xml b/lib/feedparser/tests/wellformed/rss/item_source_url.xml new file mode 100644 index 00000000..c5f235a4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_source_url.xml @@ -0,0 +1,11 @@ + + + + +Example source + + + diff --git a/lib/feedparser/tests/wellformed/rss/item_summary_and_description.xml b/lib/feedparser/tests/wellformed/rss/item_summary_and_description.xml new file mode 100644 index 00000000..9fd152f0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_summary_and_description.xml @@ -0,0 +1,12 @@ + + + + +Example summary +Example description + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_title.xml b/lib/feedparser/tests/wellformed/rss/item_title.xml new file mode 100644 index 00000000..b0d62660 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_title.xml @@ -0,0 +1,11 @@ + + + + +Item 1 title + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_xhtml_body.xml b/lib/feedparser/tests/wellformed/rss/item_xhtml_body.xml new file mode 100644 index 00000000..cf41c29a --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_xhtml_body.xml @@ -0,0 +1,13 @@ + + + + + +

Example content

+ +
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_xhtml_body_mode.xml b/lib/feedparser/tests/wellformed/rss/item_xhtml_body_mode.xml new file mode 100644 index 00000000..5d30b0f2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_xhtml_body_mode.xml @@ -0,0 +1,13 @@ + + + + + +

Example content

+ +
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/item_xhtml_body_type.xml b/lib/feedparser/tests/wellformed/rss/item_xhtml_body_type.xml new file mode 100644 index 00000000..ded661a0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/item_xhtml_body_type.xml @@ -0,0 +1,13 @@ + + + + + +

Example content

+ +
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/newlocation.xml b/lib/feedparser/tests/wellformed/rss/newlocation.xml new file mode 100644 index 00000000..b6b99239 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/newlocation.xml @@ -0,0 +1,9 @@ + + + + http://example/new + + diff --git a/lib/feedparser/tests/wellformed/rss/rss_namespace_1.xml b/lib/feedparser/tests/wellformed/rss/rss_namespace_1.xml new file mode 100644 index 00000000..9f583c69 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/rss_namespace_1.xml @@ -0,0 +1,9 @@ + + + +Example description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/rss_namespace_2.xml b/lib/feedparser/tests/wellformed/rss/rss_namespace_2.xml new file mode 100644 index 00000000..38af2200 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/rss_namespace_2.xml @@ -0,0 +1,9 @@ + + + +Example description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/rss_namespace_3.xml b/lib/feedparser/tests/wellformed/rss/rss_namespace_3.xml new file mode 100644 index 00000000..8bd75469 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/rss_namespace_3.xml @@ -0,0 +1,9 @@ + + + +Example description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/rss_namespace_4.xml b/lib/feedparser/tests/wellformed/rss/rss_namespace_4.xml new file mode 100644 index 00000000..52dc603e --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/rss_namespace_4.xml @@ -0,0 +1,9 @@ + + + +Example description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/rss_version_090.xml b/lib/feedparser/tests/wellformed/rss/rss_version_090.xml new file mode 100644 index 00000000..a73e246b --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/rss_version_090.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/rss_version_091_netscape.xml b/lib/feedparser/tests/wellformed/rss/rss_version_091_netscape.xml new file mode 100644 index 00000000..fbcc15ce --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/rss_version_091_netscape.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/rss_version_091_userland.xml b/lib/feedparser/tests/wellformed/rss/rss_version_091_userland.xml new file mode 100644 index 00000000..ee9f1cc3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/rss_version_091_userland.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/rss_version_092.xml b/lib/feedparser/tests/wellformed/rss/rss_version_092.xml new file mode 100644 index 00000000..3f3b82ad --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/rss_version_092.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/rss_version_093.xml b/lib/feedparser/tests/wellformed/rss/rss_version_093.xml new file mode 100644 index 00000000..5855af68 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/rss_version_093.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/rss_version_094.xml b/lib/feedparser/tests/wellformed/rss/rss_version_094.xml new file mode 100644 index 00000000..8b03e17d --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/rss_version_094.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/rss_version_20.xml b/lib/feedparser/tests/wellformed/rss/rss_version_20.xml new file mode 100644 index 00000000..56ffbdde --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/rss_version_20.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/rss_version_201.xml b/lib/feedparser/tests/wellformed/rss/rss_version_201.xml new file mode 100644 index 00000000..74965979 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/rss_version_201.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/rss_version_21.xml b/lib/feedparser/tests/wellformed/rss/rss_version_21.xml new file mode 100644 index 00000000..b7d45ef7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/rss_version_21.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/rss/rss_version_missing.xml b/lib/feedparser/tests/wellformed/rss/rss_version_missing.xml new file mode 100644 index 00000000..e6440d88 --- /dev/null +++ b/lib/feedparser/tests/wellformed/rss/rss_version_missing.xml @@ -0,0 +1,9 @@ + + + +Example description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_abbr.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_abbr.xml new file mode 100644 index 00000000..71c1aa74 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_abbr.xml @@ -0,0 +1,9 @@ + + + +<span abbr=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_accept-charset.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_accept-charset.xml new file mode 100644 index 00000000..28c84977 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_accept-charset.xml @@ -0,0 +1,9 @@ + + + +<span accept-charset=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_accept.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_accept.xml new file mode 100644 index 00000000..9eaee233 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_accept.xml @@ -0,0 +1,9 @@ + + + +<span accept=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_accesskey.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_accesskey.xml new file mode 100644 index 00000000..dd41be86 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_accesskey.xml @@ -0,0 +1,9 @@ + + + +<span accesskey=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_action.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_action.xml new file mode 100644 index 00000000..fa15e1e9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_action.xml @@ -0,0 +1,9 @@ + + + +<span action=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_align.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_align.xml new file mode 100644 index 00000000..9d1c53b7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_align.xml @@ -0,0 +1,9 @@ + + + +<span align=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_alt.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_alt.xml new file mode 100644 index 00000000..88c0b194 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_alt.xml @@ -0,0 +1,9 @@ + + + +<span alt=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_autocomplete.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_autocomplete.xml new file mode 100644 index 00000000..71399464 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_autocomplete.xml @@ -0,0 +1,9 @@ + + + +<span autocomplete=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_autofocus.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_autofocus.xml new file mode 100644 index 00000000..77cd3fa3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_autofocus.xml @@ -0,0 +1,9 @@ + + + +<span autofocus=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_autoplay.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_autoplay.xml new file mode 100644 index 00000000..0d872934 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_autoplay.xml @@ -0,0 +1,9 @@ + + + +<span autoplay=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_axis.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_axis.xml new file mode 100644 index 00000000..2d3232f1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_axis.xml @@ -0,0 +1,9 @@ + + + +<span axis=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_background.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_background.xml new file mode 100644 index 00000000..bc0fb9b9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_background.xml @@ -0,0 +1,9 @@ + + + +<span background=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_balance.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_balance.xml new file mode 100644 index 00000000..9a9dfc74 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_balance.xml @@ -0,0 +1,9 @@ + + + +<span balance=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bgcolor.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bgcolor.xml new file mode 100644 index 00000000..efc9f5c3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bgcolor.xml @@ -0,0 +1,9 @@ + + + +<span bgcolor=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bgproperties.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bgproperties.xml new file mode 100644 index 00000000..8f964272 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bgproperties.xml @@ -0,0 +1,9 @@ + + + +<span bgproperties=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_border.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_border.xml new file mode 100644 index 00000000..80b118dd --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_border.xml @@ -0,0 +1,9 @@ + + + +<span border=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bordercolor.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bordercolor.xml new file mode 100644 index 00000000..5b314be8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bordercolor.xml @@ -0,0 +1,9 @@ + + + +<span bordercolor=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bordercolordark.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bordercolordark.xml new file mode 100644 index 00000000..5913ffab --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bordercolordark.xml @@ -0,0 +1,9 @@ + + + +<span bordercolordark=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bordercolorlight.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bordercolorlight.xml new file mode 100644 index 00000000..4883e64a --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bordercolorlight.xml @@ -0,0 +1,9 @@ + + + +<span bordercolorlight=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bottompadding.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bottompadding.xml new file mode 100644 index 00000000..beaad75f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_bottompadding.xml @@ -0,0 +1,9 @@ + + + +<span bottompadding=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_cellpadding.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_cellpadding.xml new file mode 100644 index 00000000..27c4df18 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_cellpadding.xml @@ -0,0 +1,9 @@ + + + +<span cellpadding=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_cellspacing.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_cellspacing.xml new file mode 100644 index 00000000..4043ac5c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_cellspacing.xml @@ -0,0 +1,9 @@ + + + +<span cellspacing=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_ch.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_ch.xml new file mode 100644 index 00000000..e1dcbcec --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_ch.xml @@ -0,0 +1,9 @@ + + + +<span ch=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_challenge.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_challenge.xml new file mode 100644 index 00000000..2eb2869c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_challenge.xml @@ -0,0 +1,9 @@ + + + +<span challenge=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_char.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_char.xml new file mode 100644 index 00000000..31d30b4e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_char.xml @@ -0,0 +1,9 @@ + + + +<span char=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_charoff.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_charoff.xml new file mode 100644 index 00000000..4f866340 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_charoff.xml @@ -0,0 +1,9 @@ + + + +<span charoff=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_charset.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_charset.xml new file mode 100644 index 00000000..85d2a1fb --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_charset.xml @@ -0,0 +1,9 @@ + + + +<span charset=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_checked.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_checked.xml new file mode 100644 index 00000000..259e17c7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_checked.xml @@ -0,0 +1,9 @@ + + + +<span checked=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_choff.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_choff.xml new file mode 100644 index 00000000..2e3e79bf --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_choff.xml @@ -0,0 +1,9 @@ + + + +<span choff=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_cite.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_cite.xml new file mode 100644 index 00000000..5eb0011f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_cite.xml @@ -0,0 +1,9 @@ + + + +<span cite=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_class.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_class.xml new file mode 100644 index 00000000..bd2577db --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_class.xml @@ -0,0 +1,9 @@ + + + +<span class=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_clear.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_clear.xml new file mode 100644 index 00000000..a1a572dc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_clear.xml @@ -0,0 +1,9 @@ + + + +<span clear=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_color.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_color.xml new file mode 100644 index 00000000..980ccfc1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_color.xml @@ -0,0 +1,9 @@ + + + +<span color=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_cols.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_cols.xml new file mode 100644 index 00000000..ceeef598 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_cols.xml @@ -0,0 +1,9 @@ + + + +<span cols=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_colspan.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_colspan.xml new file mode 100644 index 00000000..eef6cb6c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_colspan.xml @@ -0,0 +1,9 @@ + + + +<span colspan=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_compact.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_compact.xml new file mode 100644 index 00000000..61a0bbe6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_compact.xml @@ -0,0 +1,9 @@ + + + +<span compact=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_contenteditable.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_contenteditable.xml new file mode 100644 index 00000000..328c6249 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_contenteditable.xml @@ -0,0 +1,9 @@ + + + +<span contenteditable=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_coords.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_coords.xml new file mode 100644 index 00000000..9d389fb6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_coords.xml @@ -0,0 +1,9 @@ + + + +<span coords=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_data.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_data.xml new file mode 100644 index 00000000..537d331e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_data.xml @@ -0,0 +1,9 @@ + + + +<span data=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_datafld.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_datafld.xml new file mode 100644 index 00000000..44837182 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_datafld.xml @@ -0,0 +1,9 @@ + + + +<span datafld=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_datapagesize.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_datapagesize.xml new file mode 100644 index 00000000..4093280a --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_datapagesize.xml @@ -0,0 +1,9 @@ + + + +<span datapagesize=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_datasrc.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_datasrc.xml new file mode 100644 index 00000000..3d86946b --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_datasrc.xml @@ -0,0 +1,9 @@ + + + +<span datasrc=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_datetime.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_datetime.xml new file mode 100644 index 00000000..6554045b --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_datetime.xml @@ -0,0 +1,9 @@ + + + +<span datetime=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_default.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_default.xml new file mode 100644 index 00000000..17829c04 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_default.xml @@ -0,0 +1,9 @@ + + + +<span default=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_delay.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_delay.xml new file mode 100644 index 00000000..ee7777d7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_delay.xml @@ -0,0 +1,9 @@ + + + +<span delay=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_dir.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_dir.xml new file mode 100644 index 00000000..c0618cc1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_dir.xml @@ -0,0 +1,9 @@ + + + +<span dir=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_disabled.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_disabled.xml new file mode 100644 index 00000000..aa9194a9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_disabled.xml @@ -0,0 +1,9 @@ + + + +<span disabled=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_draggable.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_draggable.xml new file mode 100644 index 00000000..88720d3d --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_draggable.xml @@ -0,0 +1,9 @@ + + + +<span draggable=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_dynsrc.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_dynsrc.xml new file mode 100644 index 00000000..c57ccb76 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_dynsrc.xml @@ -0,0 +1,9 @@ + + + +<span dynsrc=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_enctype.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_enctype.xml new file mode 100644 index 00000000..ab50610a --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_enctype.xml @@ -0,0 +1,9 @@ + + + +<span enctype=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_end.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_end.xml new file mode 100644 index 00000000..22cc29e4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_end.xml @@ -0,0 +1,9 @@ + + + +<span end=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_face.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_face.xml new file mode 100644 index 00000000..6c595b03 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_face.xml @@ -0,0 +1,9 @@ + + + +<span face=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_for.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_for.xml new file mode 100644 index 00000000..2b08493f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_for.xml @@ -0,0 +1,9 @@ + + + +<span for=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_form.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_form.xml new file mode 100644 index 00000000..4b37f62c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_form.xml @@ -0,0 +1,9 @@ + + + +<span form=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_frame.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_frame.xml new file mode 100644 index 00000000..ed8d85a2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_frame.xml @@ -0,0 +1,9 @@ + + + +<span frame=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_galleryimg.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_galleryimg.xml new file mode 100644 index 00000000..f4668258 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_galleryimg.xml @@ -0,0 +1,9 @@ + + + +<span galleryimg=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_gutter.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_gutter.xml new file mode 100644 index 00000000..ed5a8f5a --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_gutter.xml @@ -0,0 +1,9 @@ + + + +<span gutter=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_headers.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_headers.xml new file mode 100644 index 00000000..6e805fcc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_headers.xml @@ -0,0 +1,9 @@ + + + +<span headers=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_height.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_height.xml new file mode 100644 index 00000000..881636bc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_height.xml @@ -0,0 +1,9 @@ + + + +<span height=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_hidden.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_hidden.xml new file mode 100644 index 00000000..7e45d5b4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_hidden.xml @@ -0,0 +1,9 @@ + + + +<span hidden=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_hidefocus.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_hidefocus.xml new file mode 100644 index 00000000..b1ae3e08 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_hidefocus.xml @@ -0,0 +1,9 @@ + + + +<span hidefocus=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_high.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_high.xml new file mode 100644 index 00000000..b89160b7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_high.xml @@ -0,0 +1,9 @@ + + + +<span high=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_href.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_href.xml new file mode 100644 index 00000000..4382e9fc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_href.xml @@ -0,0 +1,9 @@ + + + +<span href=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_hreflang.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_hreflang.xml new file mode 100644 index 00000000..a48b42f3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_hreflang.xml @@ -0,0 +1,9 @@ + + + +<span hreflang=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_hspace.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_hspace.xml new file mode 100644 index 00000000..c08a6027 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_hspace.xml @@ -0,0 +1,9 @@ + + + +<span hspace=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_icon.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_icon.xml new file mode 100644 index 00000000..444a6b8f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_icon.xml @@ -0,0 +1,9 @@ + + + +<span icon=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_id.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_id.xml new file mode 100644 index 00000000..d9f93a84 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_id.xml @@ -0,0 +1,9 @@ + + + +<span id=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_inputmode.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_inputmode.xml new file mode 100644 index 00000000..b0956390 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_inputmode.xml @@ -0,0 +1,9 @@ + + + +<span inputmode=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_ismap.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_ismap.xml new file mode 100644 index 00000000..eda48b6e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_ismap.xml @@ -0,0 +1,9 @@ + + + +<span ismap=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_keytype.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_keytype.xml new file mode 100644 index 00000000..074727b9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_keytype.xml @@ -0,0 +1,9 @@ + + + +<span keytype=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_label.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_label.xml new file mode 100644 index 00000000..340a4c38 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_label.xml @@ -0,0 +1,9 @@ + + + +<span label=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_lang.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_lang.xml new file mode 100644 index 00000000..2d7e5261 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_lang.xml @@ -0,0 +1,9 @@ + + + +<span lang=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_leftspacing.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_leftspacing.xml new file mode 100644 index 00000000..a6432e0c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_leftspacing.xml @@ -0,0 +1,9 @@ + + + +<span leftspacing=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_list.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_list.xml new file mode 100644 index 00000000..360b27f8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_list.xml @@ -0,0 +1,9 @@ + + + +<span list=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_longdesc.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_longdesc.xml new file mode 100644 index 00000000..97b7d941 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_longdesc.xml @@ -0,0 +1,9 @@ + + + +<span longdesc=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_loop.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_loop.xml new file mode 100644 index 00000000..8201f52d --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_loop.xml @@ -0,0 +1,9 @@ + + + +<span loop=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_loopcount.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_loopcount.xml new file mode 100644 index 00000000..8bde8e88 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_loopcount.xml @@ -0,0 +1,9 @@ + + + +<span loopcount=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_loopend.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_loopend.xml new file mode 100644 index 00000000..fa608d17 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_loopend.xml @@ -0,0 +1,9 @@ + + + +<span loopend=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_loopstart.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_loopstart.xml new file mode 100644 index 00000000..f1190127 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_loopstart.xml @@ -0,0 +1,9 @@ + + + +<span loopstart=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_low.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_low.xml new file mode 100644 index 00000000..8ec062fe --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_low.xml @@ -0,0 +1,9 @@ + + + +<span low=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_lowsrc.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_lowsrc.xml new file mode 100644 index 00000000..a4258e36 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_lowsrc.xml @@ -0,0 +1,9 @@ + + + +<span lowsrc=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_max.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_max.xml new file mode 100644 index 00000000..80cbaeba --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_max.xml @@ -0,0 +1,9 @@ + + + +<span max=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_maxlength.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_maxlength.xml new file mode 100644 index 00000000..ad16126e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_maxlength.xml @@ -0,0 +1,9 @@ + + + +<span maxlength=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_media.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_media.xml new file mode 100644 index 00000000..daeea441 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_media.xml @@ -0,0 +1,9 @@ + + + +<span media=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_method.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_method.xml new file mode 100644 index 00000000..c3a81ce5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_method.xml @@ -0,0 +1,9 @@ + + + +<span method=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_min.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_min.xml new file mode 100644 index 00000000..ad28c081 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_min.xml @@ -0,0 +1,9 @@ + + + +<span min=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_multiple.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_multiple.xml new file mode 100644 index 00000000..ef1e17ac --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_multiple.xml @@ -0,0 +1,9 @@ + + + +<span multiple=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_name.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_name.xml new file mode 100644 index 00000000..0f98d769 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_name.xml @@ -0,0 +1,9 @@ + + + +<span name=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_nohref.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_nohref.xml new file mode 100644 index 00000000..1b7fb0d9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_nohref.xml @@ -0,0 +1,9 @@ + + + +<span nohref=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_noshade.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_noshade.xml new file mode 100644 index 00000000..b1371da3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_noshade.xml @@ -0,0 +1,9 @@ + + + +<span noshade=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_nowrap.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_nowrap.xml new file mode 100644 index 00000000..b312dea0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_nowrap.xml @@ -0,0 +1,9 @@ + + + +<span nowrap=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_open.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_open.xml new file mode 100644 index 00000000..2f4fc43c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_open.xml @@ -0,0 +1,9 @@ + + + +<span open=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_optimum.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_optimum.xml new file mode 100644 index 00000000..a1220763 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_optimum.xml @@ -0,0 +1,9 @@ + + + +<span optimum=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_pattern.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_pattern.xml new file mode 100644 index 00000000..c4e10322 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_pattern.xml @@ -0,0 +1,9 @@ + + + +<span pattern=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_ping.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_ping.xml new file mode 100644 index 00000000..03b4f233 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_ping.xml @@ -0,0 +1,9 @@ + + + +<span ping=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_point-size.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_point-size.xml new file mode 100644 index 00000000..f6a6713f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_point-size.xml @@ -0,0 +1,9 @@ + + + +<span point-size=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_poster.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_poster.xml new file mode 100644 index 00000000..4148f5e7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_poster.xml @@ -0,0 +1,9 @@ + + + +<video poster="p.jpeg"></video> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_pqg.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_pqg.xml new file mode 100644 index 00000000..c2afa36a --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_pqg.xml @@ -0,0 +1,9 @@ + + + +<span pqg=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_preload.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_preload.xml new file mode 100644 index 00000000..0e26d091 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_preload.xml @@ -0,0 +1,9 @@ + + + +<video preload="auto"></video> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_prompt.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_prompt.xml new file mode 100644 index 00000000..86f0d0b6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_prompt.xml @@ -0,0 +1,9 @@ + + + +<span prompt=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_radiogroup.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_radiogroup.xml new file mode 100644 index 00000000..d575eace --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_radiogroup.xml @@ -0,0 +1,9 @@ + + + +<span radiogroup=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_readonly.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_readonly.xml new file mode 100644 index 00000000..f123f839 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_readonly.xml @@ -0,0 +1,9 @@ + + + +<span readonly=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rel.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rel.xml new file mode 100644 index 00000000..cd09d308 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rel.xml @@ -0,0 +1,9 @@ + + + +<span rel=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_repeat-max.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_repeat-max.xml new file mode 100644 index 00000000..15b86874 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_repeat-max.xml @@ -0,0 +1,9 @@ + + + +<span repeat-max=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_repeat-min.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_repeat-min.xml new file mode 100644 index 00000000..9549f0e4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_repeat-min.xml @@ -0,0 +1,9 @@ + + + +<span repeat-min=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_replace.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_replace.xml new file mode 100644 index 00000000..2fb1e8c4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_replace.xml @@ -0,0 +1,9 @@ + + + +<span replace=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_required.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_required.xml new file mode 100644 index 00000000..3252c8a4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_required.xml @@ -0,0 +1,9 @@ + + + +<span required=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rev.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rev.xml new file mode 100644 index 00000000..8f56b026 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rev.xml @@ -0,0 +1,9 @@ + + + +<span rev=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rightspacing.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rightspacing.xml new file mode 100644 index 00000000..9a90e34a --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rightspacing.xml @@ -0,0 +1,9 @@ + + + +<span rightspacing=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rows.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rows.xml new file mode 100644 index 00000000..6817c543 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rows.xml @@ -0,0 +1,9 @@ + + + +<span rows=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rowspan.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rowspan.xml new file mode 100644 index 00000000..daca0671 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rowspan.xml @@ -0,0 +1,9 @@ + + + +<span rowspan=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rules.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rules.xml new file mode 100644 index 00000000..62a718cc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_rules.xml @@ -0,0 +1,9 @@ + + + +<span rules=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_scope.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_scope.xml new file mode 100644 index 00000000..7ae2c075 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_scope.xml @@ -0,0 +1,9 @@ + + + +<span scope=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_selected.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_selected.xml new file mode 100644 index 00000000..e1ff4b1f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_selected.xml @@ -0,0 +1,9 @@ + + + +<span selected=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_shape.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_shape.xml new file mode 100644 index 00000000..9bcb6923 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_shape.xml @@ -0,0 +1,9 @@ + + + +<span shape=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_size.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_size.xml new file mode 100644 index 00000000..5a7d7a98 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_size.xml @@ -0,0 +1,9 @@ + + + +<span size=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_span.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_span.xml new file mode 100644 index 00000000..e6da56c4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_span.xml @@ -0,0 +1,9 @@ + + + +<span span=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_src.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_src.xml new file mode 100644 index 00000000..fd6636ba --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_src.xml @@ -0,0 +1,9 @@ + + + +<span src=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_start.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_start.xml new file mode 100644 index 00000000..81374748 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_start.xml @@ -0,0 +1,9 @@ + + + +<span start=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_step.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_step.xml new file mode 100644 index 00000000..3935b810 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_step.xml @@ -0,0 +1,9 @@ + + + +<span step=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_summary.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_summary.xml new file mode 100644 index 00000000..903ccf68 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_summary.xml @@ -0,0 +1,9 @@ + + + +<span summary=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_suppress.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_suppress.xml new file mode 100644 index 00000000..9779ee12 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_suppress.xml @@ -0,0 +1,9 @@ + + + +<span suppress=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_tabindex.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_tabindex.xml new file mode 100644 index 00000000..a6c0ec6e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_tabindex.xml @@ -0,0 +1,9 @@ + + + +<span tabindex=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_target.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_target.xml new file mode 100644 index 00000000..3716ecd3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_target.xml @@ -0,0 +1,9 @@ + + + +<span target=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_template.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_template.xml new file mode 100644 index 00000000..b624ee09 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_template.xml @@ -0,0 +1,9 @@ + + + +<span template=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_title.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_title.xml new file mode 100644 index 00000000..0e8d5207 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_title.xml @@ -0,0 +1,9 @@ + + + +<span title=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_toppadding.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_toppadding.xml new file mode 100644 index 00000000..248bfbfb --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_toppadding.xml @@ -0,0 +1,9 @@ + + + +<span toppadding=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_type.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_type.xml new file mode 100644 index 00000000..7f9479f4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_type.xml @@ -0,0 +1,9 @@ + + + +<span type=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_unselectable.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_unselectable.xml new file mode 100644 index 00000000..4ef7f63a --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_unselectable.xml @@ -0,0 +1,9 @@ + + + +<span unselectable=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_urn.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_urn.xml new file mode 100644 index 00000000..ebbcfc5b --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_urn.xml @@ -0,0 +1,9 @@ + + + +<span urn=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_usemap.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_usemap.xml new file mode 100644 index 00000000..d0a76387 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_usemap.xml @@ -0,0 +1,9 @@ + + + +<span usemap=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_valign.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_valign.xml new file mode 100644 index 00000000..21efa6bf --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_valign.xml @@ -0,0 +1,9 @@ + + + +<span valign=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_value.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_value.xml new file mode 100644 index 00000000..56ce060c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_value.xml @@ -0,0 +1,9 @@ + + + +<span value=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_variable.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_variable.xml new file mode 100644 index 00000000..ada4076f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_variable.xml @@ -0,0 +1,9 @@ + + + +<span variable=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_volume.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_volume.xml new file mode 100644 index 00000000..05852092 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_volume.xml @@ -0,0 +1,9 @@ + + + +<span volume=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_vrml.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_vrml.xml new file mode 100644 index 00000000..50b7a3f4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_vrml.xml @@ -0,0 +1,9 @@ + + + +<span vrml=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_vspace.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_vspace.xml new file mode 100644 index 00000000..7eca04f8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_vspace.xml @@ -0,0 +1,9 @@ + + + +<span vspace=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_width.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_width.xml new file mode 100644 index 00000000..c2b4cebe --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_width.xml @@ -0,0 +1,9 @@ + + + +<span width=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_wrap.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_wrap.xml new file mode 100644 index 00000000..1b23e49f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_attribute_wrap.xml @@ -0,0 +1,9 @@ + + + +<span wrap=""></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_a.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_a.xml new file mode 100644 index 00000000..3c502891 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_a.xml @@ -0,0 +1,9 @@ + + + +<a></a> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_abbr.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_abbr.xml new file mode 100644 index 00000000..4aafa029 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_abbr.xml @@ -0,0 +1,9 @@ + + + +<abbr></abbr> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_acronym.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_acronym.xml new file mode 100644 index 00000000..5762c398 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_acronym.xml @@ -0,0 +1,9 @@ + + + +<acronym></acronym> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_address.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_address.xml new file mode 100644 index 00000000..e11de2fb --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_address.xml @@ -0,0 +1,9 @@ + + + +<address></address> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_area.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_area.xml new file mode 100644 index 00000000..ce4a14fe --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_area.xml @@ -0,0 +1,9 @@ + + + +<area></area> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_article.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_article.xml new file mode 100644 index 00000000..3c1c3285 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_article.xml @@ -0,0 +1,9 @@ + + + +<article></article> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_aside.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_aside.xml new file mode 100644 index 00000000..035ab288 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_aside.xml @@ -0,0 +1,9 @@ + + + +<aside></aside> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_audio.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_audio.xml new file mode 100644 index 00000000..3923dfab --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_audio.xml @@ -0,0 +1,9 @@ + + + +<audio></audio> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_b.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_b.xml new file mode 100644 index 00000000..76cdf89c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_b.xml @@ -0,0 +1,9 @@ + + + +<b></b> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_big.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_big.xml new file mode 100644 index 00000000..8671e096 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_big.xml @@ -0,0 +1,9 @@ + + + +<big></big> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_blockquote.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_blockquote.xml new file mode 100644 index 00000000..5eae0451 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_blockquote.xml @@ -0,0 +1,9 @@ + + + +<blockquote></blockquote> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_br.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_br.xml new file mode 100644 index 00000000..192a27ce --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_br.xml @@ -0,0 +1,9 @@ + + + +<br></br> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_button.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_button.xml new file mode 100644 index 00000000..9a07d9f0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_button.xml @@ -0,0 +1,9 @@ + + + +<button></button> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_canvas.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_canvas.xml new file mode 100644 index 00000000..99b97bd0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_canvas.xml @@ -0,0 +1,9 @@ + + + +<canvas></canvas> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_caption.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_caption.xml new file mode 100644 index 00000000..fc4c55af --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_caption.xml @@ -0,0 +1,9 @@ + + + +<caption></caption> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_center.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_center.xml new file mode 100644 index 00000000..8aecf8f3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_center.xml @@ -0,0 +1,9 @@ + + + +<center></center> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_cite.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_cite.xml new file mode 100644 index 00000000..0af1302e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_cite.xml @@ -0,0 +1,9 @@ + + + +<cite></cite> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_code.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_code.xml new file mode 100644 index 00000000..c43bfe02 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_code.xml @@ -0,0 +1,9 @@ + + + +<code></code> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_col.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_col.xml new file mode 100644 index 00000000..14b064fe --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_col.xml @@ -0,0 +1,9 @@ + + + +<col></col> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_colgroup.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_colgroup.xml new file mode 100644 index 00000000..0b628463 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_colgroup.xml @@ -0,0 +1,9 @@ + + + +<colgroup></colgroup> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_command.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_command.xml new file mode 100644 index 00000000..c09276c8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_command.xml @@ -0,0 +1,9 @@ + + + +<command></command> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_datagrid.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_datagrid.xml new file mode 100644 index 00000000..a9b1a681 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_datagrid.xml @@ -0,0 +1,9 @@ + + + +<datagrid></datagrid> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_datalist.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_datalist.xml new file mode 100644 index 00000000..d4ab94bb --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_datalist.xml @@ -0,0 +1,9 @@ + + + +<datalist></datalist> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dd.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dd.xml new file mode 100644 index 00000000..99b110ae --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dd.xml @@ -0,0 +1,9 @@ + + + +<dd></dd> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_del.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_del.xml new file mode 100644 index 00000000..36444a5e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_del.xml @@ -0,0 +1,9 @@ + + + +<del></del> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_details.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_details.xml new file mode 100644 index 00000000..c66b6b07 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_details.xml @@ -0,0 +1,9 @@ + + + +<details></details> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dfn.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dfn.xml new file mode 100644 index 00000000..d6d09546 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dfn.xml @@ -0,0 +1,9 @@ + + + +<dfn></dfn> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dialog.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dialog.xml new file mode 100644 index 00000000..c0f91220 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dialog.xml @@ -0,0 +1,9 @@ + + + +<dialog></dialog> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dir.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dir.xml new file mode 100644 index 00000000..55e74651 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dir.xml @@ -0,0 +1,9 @@ + + + +<dir></dir> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_div.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_div.xml new file mode 100644 index 00000000..aecbff33 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_div.xml @@ -0,0 +1,9 @@ + + + +<div></div> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dl.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dl.xml new file mode 100644 index 00000000..bd14c61c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dl.xml @@ -0,0 +1,9 @@ + + + +<dl></dl> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dt.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dt.xml new file mode 100644 index 00000000..9cb828c6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_dt.xml @@ -0,0 +1,9 @@ + + + +<dt></dt> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_em.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_em.xml new file mode 100644 index 00000000..1fad48ed --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_em.xml @@ -0,0 +1,9 @@ + + + +<em></em> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_event-source.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_event-source.xml new file mode 100644 index 00000000..693381fc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_event-source.xml @@ -0,0 +1,9 @@ + + + +<event-source></event-source> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_fieldset.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_fieldset.xml new file mode 100644 index 00000000..489fc29d --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_fieldset.xml @@ -0,0 +1,9 @@ + + + +<fieldset></fieldset> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_figure.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_figure.xml new file mode 100644 index 00000000..0314699c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_figure.xml @@ -0,0 +1,9 @@ + + + +<figure></figure> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_font.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_font.xml new file mode 100644 index 00000000..4356a897 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_font.xml @@ -0,0 +1,9 @@ + + + +<font></font> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_footer.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_footer.xml new file mode 100644 index 00000000..05fddcfa --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_footer.xml @@ -0,0 +1,9 @@ + + + +<footer></footer> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_form.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_form.xml new file mode 100644 index 00000000..b2795de9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_form.xml @@ -0,0 +1,9 @@ + + + +<form></form> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h1.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h1.xml new file mode 100644 index 00000000..792d8438 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h1.xml @@ -0,0 +1,9 @@ + + + +<h1></h1> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h2.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h2.xml new file mode 100644 index 00000000..1e559c17 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h2.xml @@ -0,0 +1,9 @@ + + + +<h2></h2> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h3.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h3.xml new file mode 100644 index 00000000..d778b68a --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h3.xml @@ -0,0 +1,9 @@ + + + +<h3></h3> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h4.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h4.xml new file mode 100644 index 00000000..736e40d0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h4.xml @@ -0,0 +1,9 @@ + + + +<h4></h4> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h5.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h5.xml new file mode 100644 index 00000000..44d0cece --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h5.xml @@ -0,0 +1,9 @@ + + + +<h5></h5> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h6.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h6.xml new file mode 100644 index 00000000..e50a6a17 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_h6.xml @@ -0,0 +1,9 @@ + + + +<h6></h6> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_header.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_header.xml new file mode 100644 index 00000000..c6e124dc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_header.xml @@ -0,0 +1,9 @@ + + + +<header></header> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_hr.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_hr.xml new file mode 100644 index 00000000..9d960505 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_hr.xml @@ -0,0 +1,9 @@ + + + +<hr></hr> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_i.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_i.xml new file mode 100644 index 00000000..6d61b461 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_i.xml @@ -0,0 +1,9 @@ + + + +<i></i> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_img.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_img.xml new file mode 100644 index 00000000..87c3e14e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_img.xml @@ -0,0 +1,9 @@ + + + +<img></img> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_input.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_input.xml new file mode 100644 index 00000000..955bcd85 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_input.xml @@ -0,0 +1,9 @@ + + + +<input></input> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_ins.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_ins.xml new file mode 100644 index 00000000..75ebb8c7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_ins.xml @@ -0,0 +1,9 @@ + + + +<ins></ins> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_kbd.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_kbd.xml new file mode 100644 index 00000000..a26b8771 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_kbd.xml @@ -0,0 +1,9 @@ + + + +<kbd></kbd> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_keygen.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_keygen.xml new file mode 100644 index 00000000..e86b15f5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_keygen.xml @@ -0,0 +1,9 @@ + + + +<keygen></keygen> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_label.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_label.xml new file mode 100644 index 00000000..64379d86 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_label.xml @@ -0,0 +1,9 @@ + + + +<label></label> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_legend.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_legend.xml new file mode 100644 index 00000000..c858b6fd --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_legend.xml @@ -0,0 +1,9 @@ + + + +<legend></legend> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_li.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_li.xml new file mode 100644 index 00000000..212ed94c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_li.xml @@ -0,0 +1,9 @@ + + + +<li></li> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_m.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_m.xml new file mode 100644 index 00000000..0b14b58f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_m.xml @@ -0,0 +1,9 @@ + + + +<m></m> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_map.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_map.xml new file mode 100644 index 00000000..3f8835a0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_map.xml @@ -0,0 +1,9 @@ + + + +<map></map> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_menu.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_menu.xml new file mode 100644 index 00000000..3ecc3a21 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_menu.xml @@ -0,0 +1,9 @@ + + + +<menu></menu> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_meter.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_meter.xml new file mode 100644 index 00000000..d263e8aa --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_meter.xml @@ -0,0 +1,9 @@ + + + +<meter></meter> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_multicol.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_multicol.xml new file mode 100644 index 00000000..96c65fbc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_multicol.xml @@ -0,0 +1,9 @@ + + + +<multicol></multicol> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_nav.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_nav.xml new file mode 100644 index 00000000..0a4be553 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_nav.xml @@ -0,0 +1,9 @@ + + + +<nav></nav> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_nextid.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_nextid.xml new file mode 100644 index 00000000..83ac0b54 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_nextid.xml @@ -0,0 +1,9 @@ + + + +<nextid></nextid> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_noscript.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_noscript.xml new file mode 100644 index 00000000..4d53a080 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_noscript.xml @@ -0,0 +1,9 @@ + + + +<noscript></noscript> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_ol.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_ol.xml new file mode 100644 index 00000000..d41750ea --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_ol.xml @@ -0,0 +1,9 @@ + + + +<ol></ol> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_optgroup.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_optgroup.xml new file mode 100644 index 00000000..2ed4a5b3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_optgroup.xml @@ -0,0 +1,9 @@ + + + +<optgroup></optgroup> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_option.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_option.xml new file mode 100644 index 00000000..944a0897 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_option.xml @@ -0,0 +1,9 @@ + + + +<option></option> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_output.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_output.xml new file mode 100644 index 00000000..bd6d2399 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_output.xml @@ -0,0 +1,9 @@ + + + +<output></output> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_p.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_p.xml new file mode 100644 index 00000000..ad67e0c7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_p.xml @@ -0,0 +1,9 @@ + + + +<p></p> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_pre.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_pre.xml new file mode 100644 index 00000000..c6da1b86 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_pre.xml @@ -0,0 +1,9 @@ + + + +<pre></pre> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_progress.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_progress.xml new file mode 100644 index 00000000..7b335e94 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_progress.xml @@ -0,0 +1,9 @@ + + + +<progress></progress> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_q.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_q.xml new file mode 100644 index 00000000..95958d29 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_q.xml @@ -0,0 +1,9 @@ + + + +<q></q> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_s.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_s.xml new file mode 100644 index 00000000..6a5e9118 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_s.xml @@ -0,0 +1,9 @@ + + + +<s></s> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_samp.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_samp.xml new file mode 100644 index 00000000..ededff49 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_samp.xml @@ -0,0 +1,9 @@ + + + +<samp></samp> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_section.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_section.xml new file mode 100644 index 00000000..97044eb3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_section.xml @@ -0,0 +1,9 @@ + + + +<section></section> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_select.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_select.xml new file mode 100644 index 00000000..2f8091cb --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_select.xml @@ -0,0 +1,9 @@ + + + +<select></select> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_small.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_small.xml new file mode 100644 index 00000000..3ec2a3ac --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_small.xml @@ -0,0 +1,9 @@ + + + +<small></small> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_sound.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_sound.xml new file mode 100644 index 00000000..d65966fb --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_sound.xml @@ -0,0 +1,9 @@ + + + +<sound></sound> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_source.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_source.xml new file mode 100644 index 00000000..87e92485 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_source.xml @@ -0,0 +1,9 @@ + + + +<source></source> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_spacer.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_spacer.xml new file mode 100644 index 00000000..537b415f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_spacer.xml @@ -0,0 +1,9 @@ + + + +<spacer></spacer> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_span.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_span.xml new file mode 100644 index 00000000..d1f19a14 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_span.xml @@ -0,0 +1,9 @@ + + + +<span></span> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_strike.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_strike.xml new file mode 100644 index 00000000..0185a3d0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_strike.xml @@ -0,0 +1,9 @@ + + + +<strike></strike> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_strong.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_strong.xml new file mode 100644 index 00000000..b931d270 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_strong.xml @@ -0,0 +1,9 @@ + + + +<strong></strong> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_sub.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_sub.xml new file mode 100644 index 00000000..578c437b --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_sub.xml @@ -0,0 +1,9 @@ + + + +<sub></sub> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_sup.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_sup.xml new file mode 100644 index 00000000..3e90091c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_sup.xml @@ -0,0 +1,9 @@ + + + +<sup></sup> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_table.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_table.xml new file mode 100644 index 00000000..d23afb57 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_table.xml @@ -0,0 +1,9 @@ + + + +<table></table> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_tbody.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_tbody.xml new file mode 100644 index 00000000..09d43dae --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_tbody.xml @@ -0,0 +1,9 @@ + + + +<tbody></tbody> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_td.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_td.xml new file mode 100644 index 00000000..09d4ccdd --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_td.xml @@ -0,0 +1,9 @@ + + + +<td></td> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_textarea.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_textarea.xml new file mode 100644 index 00000000..b2a6758c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_textarea.xml @@ -0,0 +1,9 @@ + + + +<textarea></textarea> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_tfoot.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_tfoot.xml new file mode 100644 index 00000000..3ada9d6f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_tfoot.xml @@ -0,0 +1,9 @@ + + + +<tfoot></tfoot> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_th.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_th.xml new file mode 100644 index 00000000..5441dac4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_th.xml @@ -0,0 +1,9 @@ + + + +<th></th> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_thead.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_thead.xml new file mode 100644 index 00000000..317100db --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_thead.xml @@ -0,0 +1,9 @@ + + + +<thead></thead> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_time.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_time.xml new file mode 100644 index 00000000..b6925992 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_time.xml @@ -0,0 +1,9 @@ + + + +<time></time> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_tr.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_tr.xml new file mode 100644 index 00000000..2b83aace --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_tr.xml @@ -0,0 +1,9 @@ + + + +<tr></tr> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_tt.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_tt.xml new file mode 100644 index 00000000..e23719e4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_tt.xml @@ -0,0 +1,9 @@ + + + +<tt></tt> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_u.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_u.xml new file mode 100644 index 00000000..dd85877c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_u.xml @@ -0,0 +1,9 @@ + + + +<u></u> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_ul.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_ul.xml new file mode 100644 index 00000000..a6e825e2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_ul.xml @@ -0,0 +1,9 @@ + + + +<ul></ul> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_var.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_var.xml new file mode 100644 index 00000000..e39e7123 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_var.xml @@ -0,0 +1,9 @@ + + + +<var></var> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/acceptable_element_video.xml b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_video.xml new file mode 100644 index 00000000..c88a91c8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/acceptable_element_video.xml @@ -0,0 +1,9 @@ + + + +<video></video> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/blogger_dollar_sign_in_attribute.xml b/lib/feedparser/tests/wellformed/sanitize/blogger_dollar_sign_in_attribute.xml new file mode 100644 index 00000000..c66295e4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/blogger_dollar_sign_in_attribute.xml @@ -0,0 +1,11 @@ + + + + + <img border="0" i$="true" src="http://site.invalid/img.jpg" /> + + + diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_applet.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_applet.xml new file mode 100644 index 00000000..d2c31437 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_applet.xml @@ -0,0 +1,9 @@ + + + +safe<applet code="foo.class" codebase="http://example.com/"></applet> <b>description</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_blink.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_blink.xml new file mode 100644 index 00000000..64f9e574 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_blink.xml @@ -0,0 +1,9 @@ + + + +<blink>safe</blink> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_crazy.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_crazy.xml new file mode 100644 index 00000000..9260c1ca --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_crazy.xml @@ -0,0 +1,75 @@ + + + + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Crazy HTML -- Can Your Regex Parse This?</title> + +</head> +<body notRealAttribute="value"onload="executeMe();"foo="bar" + +> +<!-- <script> --> + +<!-- + <script> +--> + +</script> + + +<script + + +> + +function executeMe() +{ + + + + +/* <script> +function am_i_javascript() +{ + var str = "Some innocuously commented out stuff"; +} +< /script> +*/ + + + + + + + + + + alert("Executed"); +} + + </script + + + +> +<h1>Did The Javascript Execute?</h1> +<div notRealAttribute="value +"onmouseover=" +executeMe(); +"foo="bar"> +I will execute here, too, if you mouse over me +</div> + +</body> + +</html> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_embed.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_embed.xml new file mode 100644 index 00000000..d8ff3775 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_embed.xml @@ -0,0 +1,9 @@ + + + +safe<embed src="http://example.com/"> <b>description</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_frame.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_frame.xml new file mode 100644 index 00000000..cfc75d17 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_frame.xml @@ -0,0 +1,9 @@ + + + +safe<frameset rows="*"><frame src="http://example.com/"></frameset> <b>description</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_iframe.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_iframe.xml new file mode 100644 index 00000000..fc2a07be --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_iframe.xml @@ -0,0 +1,9 @@ + + + +safe<iframe src="http://example.com/"> <b>description</b></iframe> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_link.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_link.xml new file mode 100644 index 00000000..2672577f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_link.xml @@ -0,0 +1,9 @@ + + + +safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> <b>description</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_meta.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_meta.xml new file mode 100644 index 00000000..d22be265 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_meta.xml @@ -0,0 +1,9 @@ + + + +safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> <b>description</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_object.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_object.xml new file mode 100644 index 00000000..24542192 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_object.xml @@ -0,0 +1,9 @@ + + + +safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> <b>description</b> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onabort.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onabort.xml new file mode 100644 index 00000000..55ddeb5f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onabort.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onblur.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onblur.xml new file mode 100644 index 00000000..a45a40c8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onblur.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onchange.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onchange.xml new file mode 100644 index 00000000..3d4c3ede --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onchange.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onclick.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onclick.xml new file mode 100644 index 00000000..10f544c3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onclick.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_ondblclick.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_ondblclick.xml new file mode 100644 index 00000000..4817e3f9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_ondblclick.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onerror.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onerror.xml new file mode 100644 index 00000000..1d0bd042 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onerror.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onfocus.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onfocus.xml new file mode 100644 index 00000000..b547ab43 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onfocus.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onkeydown.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onkeydown.xml new file mode 100644 index 00000000..e3cc0064 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onkeydown.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onkeypress.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onkeypress.xml new file mode 100644 index 00000000..2e622b80 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onkeypress.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onkeyup.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onkeyup.xml new file mode 100644 index 00000000..668b8fb9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onkeyup.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onload.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onload.xml new file mode 100644 index 00000000..11a25672 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onload.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onmousedown.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onmousedown.xml new file mode 100644 index 00000000..546ae7cc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onmousedown.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onmouseout.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onmouseout.xml new file mode 100644 index 00000000..3c34adbb --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onmouseout.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onmouseover.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onmouseover.xml new file mode 100644 index 00000000..baccde4e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onmouseover.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onmouseup.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onmouseup.xml new file mode 100644 index 00000000..5c11c082 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onmouseup.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onreset.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onreset.xml new file mode 100644 index 00000000..5a69ab58 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onreset.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onresize.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onresize.xml new file mode 100644 index 00000000..ffa3bff6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onresize.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onsubmit.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onsubmit.xml new file mode 100644 index 00000000..c3946849 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onsubmit.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_onunload.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_onunload.xml new file mode 100644 index 00000000..3f42aa36 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_onunload.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_script.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_script.xml new file mode 100644 index 00000000..e975dad5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_script.xml @@ -0,0 +1,9 @@ + + + +safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_script_base64.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_script_base64.xml new file mode 100644 index 00000000..210eb6ca --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_script_base64.xml @@ -0,0 +1,12 @@ + + + + +c2FmZTxzY3JpcHQgdHlwZT0idGV4dC9qYXZhc2NyaXB0Ij5sb2NhdGlvbi5ocmVmPSdodHRwOi8n +KycvZXhhbXBsZS5jb20vJzs8L3NjcmlwdD4gZGVzY3JpcHRpb24= + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_script_cdata.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_script_cdata.xml new file mode 100644 index 00000000..0bb07b9f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_script_cdata.xml @@ -0,0 +1,9 @@ + + + +location.href='http:/'+'/example.com/'; description]]> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_script_inline.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_script_inline.xml new file mode 100644 index 00000000..9c5c6239 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_script_inline.xml @@ -0,0 +1,9 @@ + + + +
safe description
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_style.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_style.xml new file mode 100644 index 00000000..b243bf18 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_style.xml @@ -0,0 +1,9 @@ + + + +<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_content_style_tag.xml b/lib/feedparser/tests/wellformed/sanitize/entry_content_style_tag.xml new file mode 100644 index 00000000..6b38beb9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_content_style_tag.xml @@ -0,0 +1,9 @@ + + + +safe<style>b {color:red}</style> <b>description</b> + + diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_applet.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_applet.xml new file mode 100644 index 00000000..4404687f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_applet.xml @@ -0,0 +1,9 @@ + + + +safe<applet code="foo.class" codebase="http://example.com/"></applet> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_blink.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_blink.xml new file mode 100644 index 00000000..64e95bc6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_blink.xml @@ -0,0 +1,9 @@ + + + +<blink>safe</blink> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_crazy.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_crazy.xml new file mode 100644 index 00000000..cdc2ad17 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_crazy.xml @@ -0,0 +1,75 @@ + + + + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Crazy HTML -- Can Your Regex Parse This?</title> + +</head> +<body notRealAttribute="value"onload="executeMe();"foo="bar" + +> +<!-- <script> --> + +<!-- + <script> +--> + +</script> + + +<script + + +> + +function executeMe() +{ + + + + +/* <script> +function am_i_javascript() +{ + var str = "Some innocuously commented out stuff"; +} +< /script> +*/ + + + + + + + + + + alert("Executed"); +} + + </script + + + +> +<h1>Did The Javascript Execute?</h1> +<div notRealAttribute="value +"onmouseover=" +executeMe(); +"foo="bar"> +I will execute here, too, if you mouse over me +</div> + +</body> + +</html> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_embed.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_embed.xml new file mode 100644 index 00000000..f7403ef9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_embed.xml @@ -0,0 +1,9 @@ + + + +safe<embed src="http://example.com/"> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_frame.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_frame.xml new file mode 100644 index 00000000..a59a2d04 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_frame.xml @@ -0,0 +1,9 @@ + + + +safe<frameset rows="*"><frame src="http://example.com/"></frameset> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_iframe.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_iframe.xml new file mode 100644 index 00000000..a93899aa --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_iframe.xml @@ -0,0 +1,9 @@ + + + +safe<iframe src="http://example.com/"> description</iframe> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_link.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_link.xml new file mode 100644 index 00000000..4db83dbe --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_link.xml @@ -0,0 +1,9 @@ + + + +safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_meta.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_meta.xml new file mode 100644 index 00000000..42345e15 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_meta.xml @@ -0,0 +1,9 @@ + + + +safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_object.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_object.xml new file mode 100644 index 00000000..f38dcb5f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_object.xml @@ -0,0 +1,9 @@ + + + +safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onabort.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onabort.xml new file mode 100644 index 00000000..97c86763 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onabort.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onblur.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onblur.xml new file mode 100644 index 00000000..1bc3f830 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onblur.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onchange.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onchange.xml new file mode 100644 index 00000000..553aa311 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onchange.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onclick.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onclick.xml new file mode 100644 index 00000000..b5d1d4e1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onclick.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_ondblclick.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_ondblclick.xml new file mode 100644 index 00000000..fc3a61a2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_ondblclick.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onerror.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onerror.xml new file mode 100644 index 00000000..60d46a18 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onerror.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onfocus.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onfocus.xml new file mode 100644 index 00000000..6f47ec69 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onfocus.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onkeydown.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onkeydown.xml new file mode 100644 index 00000000..7eaa42c8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onkeydown.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onkeypress.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onkeypress.xml new file mode 100644 index 00000000..8085f65d --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onkeypress.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onkeyup.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onkeyup.xml new file mode 100644 index 00000000..557422ee --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onkeyup.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onload.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onload.xml new file mode 100644 index 00000000..04323bce --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onload.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onmousedown.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onmousedown.xml new file mode 100644 index 00000000..bb74f81c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onmousedown.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onmouseout.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onmouseout.xml new file mode 100644 index 00000000..3c60df97 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onmouseout.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onmouseover.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onmouseover.xml new file mode 100644 index 00000000..f0732d05 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onmouseover.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onmouseup.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onmouseup.xml new file mode 100644 index 00000000..8b28f6dc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onmouseup.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onreset.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onreset.xml new file mode 100644 index 00000000..997cfc4b --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onreset.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onresize.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onresize.xml new file mode 100644 index 00000000..9a6a84e8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onresize.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onsubmit.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onsubmit.xml new file mode 100644 index 00000000..af6682fb --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onsubmit.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_onunload.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onunload.xml new file mode 100644 index 00000000..6b1539dc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_onunload.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_script.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_script.xml new file mode 100644 index 00000000..3787017e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_script.xml @@ -0,0 +1,9 @@ + + + +safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_script_base64.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_script_base64.xml new file mode 100644 index 00000000..61c013cc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_script_base64.xml @@ -0,0 +1,12 @@ + + + + +c2FmZTxzY3JpcHQgdHlwZT0idGV4dC9qYXZhc2NyaXB0Ij5sb2NhdGlvbi5ocmVmPSdodHRwOi8n +KycvZXhhbXBsZS5jb20vJzs8L3NjcmlwdD4gZGVzY3JpcHRpb24= + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_script_cdata.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_script_cdata.xml new file mode 100644 index 00000000..055e3660 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_script_cdata.xml @@ -0,0 +1,9 @@ + + + +location.href='http:/'+'/example.com/'; description]]> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_script_inline.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_script_inline.xml new file mode 100644 index 00000000..06d8ff9c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_script_inline.xml @@ -0,0 +1,9 @@ + + + +
safe description
+
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_script_map_description.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_script_map_description.xml new file mode 100644 index 00000000..d3ffcc91 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_script_map_description.xml @@ -0,0 +1,9 @@ + + + +safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_summary_style.xml b/lib/feedparser/tests/wellformed/sanitize/entry_summary_style.xml new file mode 100644 index 00000000..320de4e3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_summary_style.xml @@ -0,0 +1,9 @@ + + + +<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_applet.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_applet.xml new file mode 100644 index 00000000..4a84cf71 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_applet.xml @@ -0,0 +1,9 @@ + + + +safe<applet code="foo.class" codebase="http://www.example.com/"></applet> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_blink.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_blink.xml new file mode 100644 index 00000000..d7c7618a --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_blink.xml @@ -0,0 +1,9 @@ + + + +<blink>safe</blink> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_crazy.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_crazy.xml new file mode 100644 index 00000000..4d6929a0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_crazy.xml @@ -0,0 +1,75 @@ + + + + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Crazy HTML -- Can Your Regex Parse This?</title> + +</head> +<body notRealAttribute="value"onload="executeMe();"foo="bar" + +> +<!-- <script> --> + +<!-- + <script> +--> + +</script> + + +<script + + +> + +function executeMe() +{ + + + + +/* <script> +function am_i_javascript() +{ + var str = "Some innocuously commented out stuff"; +} +< /script> +*/ + + + + + + + + + + alert("Executed"); +} + + </script + + + +> +<h1>Did The Javascript Execute?</h1> +<div notRealAttribute="value +"onmouseover=" +executeMe(); +"foo="bar"> +I will execute here, too, if you mouse over me +</div> + +</body> + +</html> + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_embed.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_embed.xml new file mode 100644 index 00000000..cc56f982 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_embed.xml @@ -0,0 +1,9 @@ + + + +safe<embed src="http://www.example.com/"> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_frame.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_frame.xml new file mode 100644 index 00000000..eb5f80f9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_frame.xml @@ -0,0 +1,9 @@ + + + +safe<frameset rows="*"><frame src="http://example.com/"></frameset> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_iframe.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_iframe.xml new file mode 100644 index 00000000..d3dd7b70 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_iframe.xml @@ -0,0 +1,9 @@ + + + +safe<iframe src="http://www.example.com/"></iframe> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_link.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_link.xml new file mode 100644 index 00000000..28fa2fa9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_link.xml @@ -0,0 +1,9 @@ + + + +safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_meta.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_meta.xml new file mode 100644 index 00000000..c707fe2e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_meta.xml @@ -0,0 +1,9 @@ + + + +safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_object.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_object.xml new file mode 100644 index 00000000..06ba3788 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_object.xml @@ -0,0 +1,9 @@ + + + +safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onabort.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onabort.xml new file mode 100644 index 00000000..6669690e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onabort.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onblur.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onblur.xml new file mode 100644 index 00000000..a5a09c9b --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onblur.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onchange.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onchange.xml new file mode 100644 index 00000000..9b5e22a4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onchange.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onclick.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onclick.xml new file mode 100644 index 00000000..1e7c20c2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onclick.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_ondblclick.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_ondblclick.xml new file mode 100644 index 00000000..800904bb --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_ondblclick.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onerror.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onerror.xml new file mode 100644 index 00000000..d60cc44b --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onerror.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onfocus.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onfocus.xml new file mode 100644 index 00000000..b1218955 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onfocus.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onkeydown.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onkeydown.xml new file mode 100644 index 00000000..dfd3c227 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onkeydown.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onkeypress.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onkeypress.xml new file mode 100644 index 00000000..5343e948 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onkeypress.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onkeyup.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onkeyup.xml new file mode 100644 index 00000000..587d616d --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onkeyup.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onload.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onload.xml new file mode 100644 index 00000000..7b71552d --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onload.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onmousedown.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onmousedown.xml new file mode 100644 index 00000000..69681fd9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onmousedown.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onmouseout.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onmouseout.xml new file mode 100644 index 00000000..fc25b8a8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onmouseout.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onmouseover.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onmouseover.xml new file mode 100644 index 00000000..4dde5f37 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onmouseover.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onmouseup.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onmouseup.xml new file mode 100644 index 00000000..81cfdfce --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onmouseup.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onreset.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onreset.xml new file mode 100644 index 00000000..e2bc481b --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onreset.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onresize.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onresize.xml new file mode 100644 index 00000000..f96a76b2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onresize.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onsubmit.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onsubmit.xml new file mode 100644 index 00000000..b07628ac --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onsubmit.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_onunload.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_onunload.xml new file mode 100644 index 00000000..0a6f998b --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_onunload.xml @@ -0,0 +1,9 @@ + + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_script.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_script.xml new file mode 100644 index 00000000..86855886 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_script.xml @@ -0,0 +1,9 @@ + + + +safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_script_cdata.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_script_cdata.xml new file mode 100644 index 00000000..e315d623 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_script_cdata.xml @@ -0,0 +1,9 @@ + + + +<![CDATA[safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description]]> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_script_inline.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_script_inline.xml new file mode 100644 index 00000000..790cfd5c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_script_inline.xml @@ -0,0 +1,9 @@ + + + +<div xmlns="http://www.w3.org/1999/xhtml">safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description</div> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/entry_title_style.xml b/lib/feedparser/tests/wellformed/sanitize/entry_title_style.xml new file mode 100644 index 00000000..f1fb8d66 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/entry_title_style.xml @@ -0,0 +1,9 @@ + + + +<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_applet.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_applet.xml new file mode 100644 index 00000000..bc1aacb3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_applet.xml @@ -0,0 +1,7 @@ + + +safe<applet code="foo.class" codebase="http://www.example.com/"></applet> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_blink.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_blink.xml new file mode 100644 index 00000000..4018115f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_blink.xml @@ -0,0 +1,7 @@ + + +<blink>safe</blink> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_crazy.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_crazy.xml new file mode 100644 index 00000000..70ef93fc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_crazy.xml @@ -0,0 +1,73 @@ + + + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Crazy HTML -- Can Your Regex Parse This?</title> + +</head> +<body notRealAttribute="value"onload="executeMe();"foo="bar" + +> +<!-- <script> --> + +<!-- + <script> +--> + +</script> + + +<script + + +> + +function executeMe() +{ + + + + +/* <script> +function am_i_javascript() +{ + var str = "Some innocuously commented out stuff"; +} +< /script> +*/ + + + + + + + + + + alert("Executed"); +} + + </script + + + +> +<h1>Did The Javascript Execute?</h1> +<div notRealAttribute="value +"onmouseover=" +executeMe(); +"foo="bar"> +I will execute here, too, if you mouse over me +</div> + +</body> + +</html> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_embed.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_embed.xml new file mode 100644 index 00000000..1e73ef5f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_embed.xml @@ -0,0 +1,7 @@ + + +safe<embed src="http://www.example.com/"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_frame.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_frame.xml new file mode 100644 index 00000000..4c6f8105 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_frame.xml @@ -0,0 +1,7 @@ + + +safe<frameset rows="*"><frame src="http://example.com/"></frameset> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_iframe.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_iframe.xml new file mode 100644 index 00000000..3cefdfc5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_iframe.xml @@ -0,0 +1,7 @@ + + +safe<iframe src="http://www.example.com/"></iframe> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_link.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_link.xml new file mode 100644 index 00000000..3cdec2e5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_link.xml @@ -0,0 +1,7 @@ + + +safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_meta.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_meta.xml new file mode 100644 index 00000000..6974afb3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_meta.xml @@ -0,0 +1,7 @@ + + +safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_object.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_object.xml new file mode 100644 index 00000000..9beabb6b --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_object.xml @@ -0,0 +1,7 @@ + + +safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onabort.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onabort.xml new file mode 100644 index 00000000..264e99a5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onabort.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onblur.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onblur.xml new file mode 100644 index 00000000..0f39eba0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onblur.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onchange.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onchange.xml new file mode 100644 index 00000000..8e33cb90 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onchange.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onclick.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onclick.xml new file mode 100644 index 00000000..37eeb8a1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onclick.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_ondblclick.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_ondblclick.xml new file mode 100644 index 00000000..c2636fed --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_ondblclick.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onerror.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onerror.xml new file mode 100644 index 00000000..7f79e671 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onerror.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onfocus.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onfocus.xml new file mode 100644 index 00000000..73c97e0e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onfocus.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onkeydown.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onkeydown.xml new file mode 100644 index 00000000..f0a6fd24 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onkeydown.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onkeypress.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onkeypress.xml new file mode 100644 index 00000000..762819cd --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onkeypress.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onkeyup.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onkeyup.xml new file mode 100644 index 00000000..3bb08dc0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onkeyup.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onload.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onload.xml new file mode 100644 index 00000000..41078416 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onload.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onmousedown.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onmousedown.xml new file mode 100644 index 00000000..9d4f709a --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onmousedown.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onmouseout.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onmouseout.xml new file mode 100644 index 00000000..008e9074 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onmouseout.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onmouseover.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onmouseover.xml new file mode 100644 index 00000000..b77c3912 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onmouseover.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onmouseup.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onmouseup.xml new file mode 100644 index 00000000..5a5d42bf --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onmouseup.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onreset.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onreset.xml new file mode 100644 index 00000000..99062f47 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onreset.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onresize.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onresize.xml new file mode 100644 index 00000000..b7b5e1a8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onresize.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onsubmit.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onsubmit.xml new file mode 100644 index 00000000..b09b8e8b --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onsubmit.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onunload.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onunload.xml new file mode 100644 index 00000000..17aa1f34 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_onunload.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_script.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_script.xml new file mode 100644 index 00000000..842e93f2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_script.xml @@ -0,0 +1,7 @@ + + +safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_script_cdata.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_script_cdata.xml new file mode 100644 index 00000000..0113b7ef --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_script_cdata.xml @@ -0,0 +1,7 @@ + + +location.href='http:/'+'/example.com/'; description]]> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_script_inline.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_script_inline.xml new file mode 100644 index 00000000..fcae4f06 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_script_inline.xml @@ -0,0 +1,7 @@ + + +
safe description
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_copyright_style.xml b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_style.xml new file mode 100644 index 00000000..a9dc4e5b --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_copyright_style.xml @@ -0,0 +1,7 @@ + + +<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_applet.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_applet.xml new file mode 100644 index 00000000..ed783f53 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_applet.xml @@ -0,0 +1,7 @@ + + +safe<applet code="foo.class" codebase="http://example.com/"></applet> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_blink.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_blink.xml new file mode 100644 index 00000000..0a94622b --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_blink.xml @@ -0,0 +1,7 @@ + + +<blink>safe</blink> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_crazy.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_crazy.xml new file mode 100644 index 00000000..b8bc995d --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_crazy.xml @@ -0,0 +1,73 @@ + + + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Crazy HTML -- Can Your Regex Parse This?</title> + +</head> +<body notRealAttribute="value"onload="executeMe();"foo="bar" + +> +<!-- <script> --> + +<!-- + <script> +--> + +</script> + + +<script + + +> + +function executeMe() +{ + + + + +/* <script> +function am_i_javascript() +{ + var str = "Some innocuously commented out stuff"; +} +< /script> +*/ + + + + + + + + + + alert("Executed"); +} + + </script + + + +> +<h1>Did The Javascript Execute?</h1> +<div notRealAttribute="value +"onmouseover=" +executeMe(); +"foo="bar"> +I will execute here, too, if you mouse over me +</div> + +</body> + +</html> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_embed.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_embed.xml new file mode 100644 index 00000000..82b0e3d4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_embed.xml @@ -0,0 +1,7 @@ + + +safe<embed src="http://example.com/"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_frame.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_frame.xml new file mode 100644 index 00000000..de61c2fc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_frame.xml @@ -0,0 +1,7 @@ + + +safe<frameset rows="*"><frame src="http://example.com/"></frameset> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_iframe.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_iframe.xml new file mode 100644 index 00000000..49f1edc6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_iframe.xml @@ -0,0 +1,7 @@ + + +safe<iframe src="http://example.com/"> description</iframe> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_link.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_link.xml new file mode 100644 index 00000000..4ef66897 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_link.xml @@ -0,0 +1,7 @@ + + +safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_meta.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_meta.xml new file mode 100644 index 00000000..85ca4780 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_meta.xml @@ -0,0 +1,7 @@ + + +safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_object.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_object.xml new file mode 100644 index 00000000..a32f5124 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_object.xml @@ -0,0 +1,7 @@ + + +safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onabort.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onabort.xml new file mode 100644 index 00000000..c6f2a96a --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onabort.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onblur.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onblur.xml new file mode 100644 index 00000000..b10c4e8f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onblur.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onchange.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onchange.xml new file mode 100644 index 00000000..653af579 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onchange.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onclick.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onclick.xml new file mode 100644 index 00000000..93644d6d --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onclick.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_ondblclick.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_ondblclick.xml new file mode 100644 index 00000000..1776c913 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_ondblclick.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onerror.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onerror.xml new file mode 100644 index 00000000..9b8dd9cf --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onerror.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onfocus.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onfocus.xml new file mode 100644 index 00000000..51a390bb --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onfocus.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onkeydown.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onkeydown.xml new file mode 100644 index 00000000..4674d0e3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onkeydown.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onkeypress.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onkeypress.xml new file mode 100644 index 00000000..cc2af96a --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onkeypress.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onkeyup.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onkeyup.xml new file mode 100644 index 00000000..cde7c423 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onkeyup.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onload.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onload.xml new file mode 100644 index 00000000..7763fbf3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onload.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onmousedown.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onmousedown.xml new file mode 100644 index 00000000..45651554 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onmousedown.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onmouseout.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onmouseout.xml new file mode 100644 index 00000000..e2de0c6c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onmouseout.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onmouseover.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onmouseover.xml new file mode 100644 index 00000000..9e520079 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onmouseover.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onmouseup.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onmouseup.xml new file mode 100644 index 00000000..15b0aac6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onmouseup.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onreset.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onreset.xml new file mode 100644 index 00000000..be8bdc4c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onreset.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onresize.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onresize.xml new file mode 100644 index 00000000..f2429be6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onresize.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onsubmit.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onsubmit.xml new file mode 100644 index 00000000..c230a400 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onsubmit.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_onunload.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_onunload.xml new file mode 100644 index 00000000..9c66418c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_onunload.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_script.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_script.xml new file mode 100644 index 00000000..34d20bd5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_script.xml @@ -0,0 +1,7 @@ + + +safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_script_cdata.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_script_cdata.xml new file mode 100644 index 00000000..ae3fb8e5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_script_cdata.xml @@ -0,0 +1,7 @@ + + +location.href='http:/'+'/example.com/'; description]]> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_script_inline.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_script_inline.xml new file mode 100644 index 00000000..dafc46a7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_script_inline.xml @@ -0,0 +1,7 @@ + + +
safe description
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_info_style.xml b/lib/feedparser/tests/wellformed/sanitize/feed_info_style.xml new file mode 100644 index 00000000..d1aac49a --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_info_style.xml @@ -0,0 +1,7 @@ + + +<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_applet.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_applet.xml new file mode 100644 index 00000000..30d75af1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_applet.xml @@ -0,0 +1,7 @@ + + +safe<applet code="foo.class" codebase="http://example.com/"></applet> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_blink.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_blink.xml new file mode 100644 index 00000000..89e14e36 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_blink.xml @@ -0,0 +1,7 @@ + + +<blink>safe</blink> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_crazy.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_crazy.xml new file mode 100644 index 00000000..2c286dd8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_crazy.xml @@ -0,0 +1,73 @@ + + + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Crazy HTML -- Can Your Regex Parse This?</title> + +</head> +<body notRealAttribute="value"onload="executeMe();"foo="bar" + +> +<!-- <script> --> + +<!-- + <script> +--> + +</script> + + +<script + + +> + +function executeMe() +{ + + + + +/* <script> +function am_i_javascript() +{ + var str = "Some innocuously commented out stuff"; +} +< /script> +*/ + + + + + + + + + + alert("Executed"); +} + + </script + + + +> +<h1>Did The Javascript Execute?</h1> +<div notRealAttribute="value +"onmouseover=" +executeMe(); +"foo="bar"> +I will execute here, too, if you mouse over me +</div> + +</body> + +</html> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_embed.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_embed.xml new file mode 100644 index 00000000..c83d6dab --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_embed.xml @@ -0,0 +1,7 @@ + + +safe<embed src="http://example.com/"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_frame.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_frame.xml new file mode 100644 index 00000000..0f165f0e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_frame.xml @@ -0,0 +1,7 @@ + + +safe<frameset rows="*"><frame src="http://example.com/"></frameset> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_iframe.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_iframe.xml new file mode 100644 index 00000000..f3c14bfc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_iframe.xml @@ -0,0 +1,7 @@ + + +safe<iframe src="http://example.com/"> description</iframe> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_link.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_link.xml new file mode 100644 index 00000000..2daccf30 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_link.xml @@ -0,0 +1,7 @@ + + +safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_meta.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_meta.xml new file mode 100644 index 00000000..bb530e35 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_meta.xml @@ -0,0 +1,7 @@ + + +safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_object.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_object.xml new file mode 100644 index 00000000..4116bff8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_object.xml @@ -0,0 +1,7 @@ + + +safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onabort.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onabort.xml new file mode 100644 index 00000000..597c482e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onabort.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onblur.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onblur.xml new file mode 100644 index 00000000..5a1301f8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onblur.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onchange.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onchange.xml new file mode 100644 index 00000000..cec13dc7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onchange.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onclick.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onclick.xml new file mode 100644 index 00000000..18bd7a76 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onclick.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_ondblclick.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_ondblclick.xml new file mode 100644 index 00000000..b3e0fea5 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_ondblclick.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onerror.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onerror.xml new file mode 100644 index 00000000..9693ee51 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onerror.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onfocus.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onfocus.xml new file mode 100644 index 00000000..315c8649 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onfocus.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onkeydown.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onkeydown.xml new file mode 100644 index 00000000..8290367f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onkeydown.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onkeypress.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onkeypress.xml new file mode 100644 index 00000000..6def555e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onkeypress.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onkeyup.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onkeyup.xml new file mode 100644 index 00000000..618a0c2f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onkeyup.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onload.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onload.xml new file mode 100644 index 00000000..78a45b9e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onload.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onmousedown.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onmousedown.xml new file mode 100644 index 00000000..77010aae --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onmousedown.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onmouseout.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onmouseout.xml new file mode 100644 index 00000000..5e353ee0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onmouseout.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onmouseover.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onmouseover.xml new file mode 100644 index 00000000..8d20666c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onmouseover.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onmouseup.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onmouseup.xml new file mode 100644 index 00000000..4c689315 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onmouseup.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onreset.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onreset.xml new file mode 100644 index 00000000..f7f2abae --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onreset.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onresize.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onresize.xml new file mode 100644 index 00000000..eb7ebda0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onresize.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onsubmit.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onsubmit.xml new file mode 100644 index 00000000..5bb7dd6b --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onsubmit.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onunload.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onunload.xml new file mode 100644 index 00000000..57824a3a --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_onunload.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_script.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_script.xml new file mode 100644 index 00000000..59e76db1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_script.xml @@ -0,0 +1,7 @@ + + +safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_script_cdata.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_script_cdata.xml new file mode 100644 index 00000000..b7ee3f4f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_script_cdata.xml @@ -0,0 +1,7 @@ + + +location.href='http:/'+'/example.com/'; description]]> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_script_inline.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_script_inline.xml new file mode 100644 index 00000000..61c7c7b1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_script_inline.xml @@ -0,0 +1,7 @@ + + +
safe description
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_style.xml b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_style.xml new file mode 100644 index 00000000..332a65b9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_subtitle_style.xml @@ -0,0 +1,7 @@ + + +<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_applet.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_applet.xml new file mode 100644 index 00000000..6bcca5d9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_applet.xml @@ -0,0 +1,7 @@ + + +safe<applet code="foo.class" codebase="http://example.com/"></applet> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_blink.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_blink.xml new file mode 100644 index 00000000..cd758dd6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_blink.xml @@ -0,0 +1,7 @@ + + +<blink>safe</blink> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_crazy.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_crazy.xml new file mode 100644 index 00000000..63617d33 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_crazy.xml @@ -0,0 +1,73 @@ + + + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Crazy HTML -- Can Your Regex Parse This?</title> + +</head> +<body notRealAttribute="value"onload="executeMe();"foo="bar" + +> +<!-- <script> --> + +<!-- + <script> +--> + +</script> + + +<script + + +> + +function executeMe() +{ + + + + +/* <script> +function am_i_javascript() +{ + var str = "Some innocuously commented out stuff"; +} +< /script> +*/ + + + + + + + + + + alert("Executed"); +} + + </script + + + +> +<h1>Did The Javascript Execute?</h1> +<div notRealAttribute="value +"onmouseover=" +executeMe(); +"foo="bar"> +I will execute here, too, if you mouse over me +</div> + +</body> + +</html> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_embed.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_embed.xml new file mode 100644 index 00000000..68fca0f0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_embed.xml @@ -0,0 +1,7 @@ + + +safe<embed src="http://example.com/"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_frame.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_frame.xml new file mode 100644 index 00000000..9a3a14fb --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_frame.xml @@ -0,0 +1,7 @@ + + +safe<frameset rows="*"><frame src="http://example.com/"></frameset> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_iframe.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_iframe.xml new file mode 100644 index 00000000..6863469c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_iframe.xml @@ -0,0 +1,7 @@ + + +safe<iframe src="http://example.com/"></iframe> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_link.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_link.xml new file mode 100644 index 00000000..f46ac8e7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_link.xml @@ -0,0 +1,7 @@ + + +safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_meta.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_meta.xml new file mode 100644 index 00000000..21efed77 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_meta.xml @@ -0,0 +1,7 @@ + + +safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_object.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_object.xml new file mode 100644 index 00000000..114c6256 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_object.xml @@ -0,0 +1,7 @@ + + +safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onabort.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onabort.xml new file mode 100644 index 00000000..a4ce8001 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onabort.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onblur.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onblur.xml new file mode 100644 index 00000000..2f2958e9 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onblur.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onchange.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onchange.xml new file mode 100644 index 00000000..2afe2267 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onchange.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onclick.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onclick.xml new file mode 100644 index 00000000..fa104ca6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onclick.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_ondblclick.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_ondblclick.xml new file mode 100644 index 00000000..6b72d9fa --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_ondblclick.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onerror.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onerror.xml new file mode 100644 index 00000000..3744e11d --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onerror.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onfocus.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onfocus.xml new file mode 100644 index 00000000..a11a3030 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onfocus.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onkeydown.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onkeydown.xml new file mode 100644 index 00000000..46ddf0ca --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onkeydown.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onkeypress.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onkeypress.xml new file mode 100644 index 00000000..5703a1fc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onkeypress.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onkeyup.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onkeyup.xml new file mode 100644 index 00000000..dc78e672 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onkeyup.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onload.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onload.xml new file mode 100644 index 00000000..97265537 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onload.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onmousedown.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onmousedown.xml new file mode 100644 index 00000000..a25f3f21 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onmousedown.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onmouseout.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onmouseout.xml new file mode 100644 index 00000000..ef7c5063 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onmouseout.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onmouseover.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onmouseover.xml new file mode 100644 index 00000000..aac3d54e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onmouseover.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onmouseup.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onmouseup.xml new file mode 100644 index 00000000..41ab39e7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onmouseup.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onreset.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onreset.xml new file mode 100644 index 00000000..17932f36 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onreset.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onresize.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onresize.xml new file mode 100644 index 00000000..bf712f87 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onresize.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onsubmit.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onsubmit.xml new file mode 100644 index 00000000..a33ebf45 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onsubmit.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onunload.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onunload.xml new file mode 100644 index 00000000..2d155055 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_onunload.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_script.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_script.xml new file mode 100644 index 00000000..b818be55 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_script.xml @@ -0,0 +1,7 @@ + + +safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_script_cdata.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_script_cdata.xml new file mode 100644 index 00000000..943c8d61 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_script_cdata.xml @@ -0,0 +1,7 @@ + + +location.href='http:/'+'/example.com/'; description]]> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_script_inline.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_script_inline.xml new file mode 100644 index 00000000..90294651 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_script_inline.xml @@ -0,0 +1,7 @@ + + +
safe description
+
\ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_script_map_description.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_script_map_description.xml new file mode 100644 index 00000000..fb9d0ef6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_script_map_description.xml @@ -0,0 +1,7 @@ + + +safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_tagline_style.xml b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_style.xml new file mode 100644 index 00000000..abc68f35 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_tagline_style.xml @@ -0,0 +1,7 @@ + + +<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_applet.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_applet.xml new file mode 100644 index 00000000..7d6156bc --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_applet.xml @@ -0,0 +1,7 @@ + + +safe<applet code="foo.class" codebase="http://example.com/"></applet> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_blink.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_blink.xml new file mode 100644 index 00000000..e9fb536c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_blink.xml @@ -0,0 +1,7 @@ + + +<blink>safe</blink> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_crazy.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_crazy.xml new file mode 100644 index 00000000..dfca8a2c --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_crazy.xml @@ -0,0 +1,73 @@ + + + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Crazy HTML -- Can Your Regex Parse This?</title> + +</head> +<body notRealAttribute="value"onload="executeMe();"foo="bar" + +> +<!-- <script> --> + +<!-- + <script> +--> + +</script> + + +<script + + +> + +function executeMe() +{ + + + + +/* <script> +function am_i_javascript() +{ + var str = "Some innocuously commented out stuff"; +} +< /script> +*/ + + + + + + + + + + alert("Executed"); +} + + </script + + + +> +<h1>Did The Javascript Execute?</h1> +<div notRealAttribute="value +"onmouseover=" +executeMe(); +"foo="bar"> +I will execute here, too, if you mouse over me +</div> + +</body> + +</html> + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_embed.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_embed.xml new file mode 100644 index 00000000..0ae3167d --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_embed.xml @@ -0,0 +1,7 @@ + + +safe<embed src="http://example.com/"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_frame.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_frame.xml new file mode 100644 index 00000000..c6df6c00 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_frame.xml @@ -0,0 +1,7 @@ + + +safe<frameset rows="*"><frame src="http://example.com/"></frameset> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_iframe.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_iframe.xml new file mode 100644 index 00000000..9422d368 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_iframe.xml @@ -0,0 +1,7 @@ + + +safe<iframe src="http://example.com/"></iframe> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_link.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_link.xml new file mode 100644 index 00000000..d540cc41 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_link.xml @@ -0,0 +1,7 @@ + + +safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_meta.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_meta.xml new file mode 100644 index 00000000..801c4df3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_meta.xml @@ -0,0 +1,7 @@ + + +safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_object.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_object.xml new file mode 100644 index 00000000..312cc841 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_object.xml @@ -0,0 +1,7 @@ + + +safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onabort.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onabort.xml new file mode 100644 index 00000000..36f5e913 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onabort.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onblur.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onblur.xml new file mode 100644 index 00000000..dbf5f3af --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onblur.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onchange.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onchange.xml new file mode 100644 index 00000000..26ba2385 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onchange.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onclick.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onclick.xml new file mode 100644 index 00000000..76be05c8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onclick.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_ondblclick.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_ondblclick.xml new file mode 100644 index 00000000..69df1cd2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_ondblclick.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onerror.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onerror.xml new file mode 100644 index 00000000..254a630a --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onerror.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onfocus.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onfocus.xml new file mode 100644 index 00000000..0f2cfa7e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onfocus.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onkeydown.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onkeydown.xml new file mode 100644 index 00000000..66577130 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onkeydown.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onkeypress.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onkeypress.xml new file mode 100644 index 00000000..dc3e3bd4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onkeypress.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onkeyup.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onkeyup.xml new file mode 100644 index 00000000..5f2e98a4 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onkeyup.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onload.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onload.xml new file mode 100644 index 00000000..066a375e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onload.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onmousedown.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onmousedown.xml new file mode 100644 index 00000000..a4a9281d --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onmousedown.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onmouseout.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onmouseout.xml new file mode 100644 index 00000000..6edc7e3e --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onmouseout.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onmouseover.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onmouseover.xml new file mode 100644 index 00000000..6da205b8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onmouseover.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onmouseup.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onmouseup.xml new file mode 100644 index 00000000..b7693102 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onmouseup.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onreset.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onreset.xml new file mode 100644 index 00000000..cd3422e2 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onreset.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onresize.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onresize.xml new file mode 100644 index 00000000..9d6bcee7 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onresize.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onsubmit.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onsubmit.xml new file mode 100644 index 00000000..153d6f2f --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onsubmit.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_onunload.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_onunload.xml new file mode 100644 index 00000000..77866f89 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_onunload.xml @@ -0,0 +1,7 @@ + + +<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_script.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_script.xml new file mode 100644 index 00000000..63284163 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_script.xml @@ -0,0 +1,7 @@ + + +safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_script_cdata.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_script_cdata.xml new file mode 100644 index 00000000..a37085f3 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_script_cdata.xml @@ -0,0 +1,7 @@ + + +<![CDATA[safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description]]> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_script_inline.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_script_inline.xml new file mode 100644 index 00000000..889667e6 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_script_inline.xml @@ -0,0 +1,7 @@ + + +<div xmlns="http://www.w3.org/1999/xhtml">safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description</div> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_style.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_style.xml new file mode 100644 index 00000000..c1aeaec8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_style.xml @@ -0,0 +1,7 @@ + + +<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/feed_title_unacceptable_uri.xml b/lib/feedparser/tests/wellformed/sanitize/feed_title_unacceptable_uri.xml new file mode 100644 index 00000000..7d66c5a8 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/feed_title_unacceptable_uri.xml @@ -0,0 +1,7 @@ + + + <a href="javascript:alert(1)">safe</a> + diff --git a/lib/feedparser/tests/wellformed/sanitize/item_body_applet.xml b/lib/feedparser/tests/wellformed/sanitize/item_body_applet.xml new file mode 100644 index 00000000..10dea8b0 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/item_body_applet.xml @@ -0,0 +1,11 @@ + + + + +safe description + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/item_body_blink.xml b/lib/feedparser/tests/wellformed/sanitize/item_body_blink.xml new file mode 100644 index 00000000..b570ff20 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/item_body_blink.xml @@ -0,0 +1,11 @@ + + + + +safe description + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/item_body_embed.xml b/lib/feedparser/tests/wellformed/sanitize/item_body_embed.xml new file mode 100644 index 00000000..2f2a2db1 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/item_body_embed.xml @@ -0,0 +1,11 @@ + + + + +safe description + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/item_body_frame.xml b/lib/feedparser/tests/wellformed/sanitize/item_body_frame.xml new file mode 100644 index 00000000..7228ecfb --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/item_body_frame.xml @@ -0,0 +1,11 @@ + + + + +safe description + + + \ No newline at end of file diff --git a/lib/feedparser/tests/wellformed/sanitize/item_body_iframe.xml b/lib/feedparser/tests/wellformed/sanitize/item_body_iframe.xml new file mode 100644 index 00000000..561fe312 --- /dev/null +++ b/lib/feedparser/tests/wellformed/sanitize/item_body_iframe.xml @@ -0,0 +1,11 @@ + + + + +safe