rfeedparser 0.9.940 → 0.9.950
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +0 -0
- data/README +50 -27
- data/RUBY-TESTING +6 -3
- data/lib/rfeedparser.rb +93 -92
- data/lib/rfeedparser/better_sgmlparser.rb +1 -1
- data/lib/rfeedparser/encoding_helpers.rb +15 -9
- data/lib/rfeedparser/expat_parser.rb +159 -0
- data/lib/rfeedparser/libxml_parser.rb +76 -0
- data/lib/rfeedparser/loose_feed_parser.rb +75 -0
- data/lib/rfeedparser/markup_helpers.rb +1 -1
- data/lib/rfeedparser/monkey_patches.rb +10 -0
- data/lib/rfeedparser/parser_mixin.rb +41 -10
- data/lib/rfeedparser/time_helpers.rb +3 -3
- data/lib/rfeedparser/utilities.rb +1 -1
- data/tests/illformed/atom10/atom10_namespace.xml +0 -0
- data/tests/illformed/atom10/atom10_version.xml +0 -0
- data/tests/illformed/atom10/entry_author_email.xml +0 -0
- data/tests/illformed/atom10/entry_author_map_author.xml +0 -0
- data/tests/illformed/atom10/entry_author_map_author_2.xml +0 -0
- data/tests/illformed/atom10/entry_author_name.xml +0 -0
- data/tests/illformed/atom10/entry_author_uri.xml +0 -0
- data/tests/illformed/atom10/entry_author_url.xml +0 -0
- data/tests/illformed/atom10/entry_category_label.xml +0 -0
- data/tests/illformed/atom10/entry_category_scheme.xml +0 -0
- data/tests/illformed/atom10/entry_category_term.xml +0 -0
- data/tests/illformed/atom10/entry_content_application_xml.xml +0 -0
- data/tests/illformed/atom10/entry_content_base64.xml +0 -0
- data/tests/illformed/atom10/entry_content_base64_2.xml +0 -0
- data/tests/illformed/atom10/entry_content_escaped_markup.xml +0 -0
- data/tests/illformed/atom10/entry_content_inline_markup.xml +0 -0
- data/tests/illformed/atom10/entry_content_inline_markup_2.xml +0 -0
- data/tests/illformed/atom10/entry_content_src.xml +0 -0
- data/tests/illformed/atom10/entry_content_text_plain.xml +0 -0
- data/tests/illformed/atom10/entry_content_text_plain_brackets.xml +0 -0
- data/tests/illformed/atom10/entry_content_type.xml +0 -0
- data/tests/illformed/atom10/entry_content_type_text.xml +0 -0
- data/tests/illformed/atom10/entry_content_value.xml +0 -0
- data/tests/illformed/atom10/entry_contributor_email.xml +0 -0
- data/tests/illformed/atom10/entry_contributor_multiple.xml +0 -0
- data/tests/illformed/atom10/entry_contributor_name.xml +0 -0
- data/tests/illformed/atom10/entry_contributor_uri.xml +0 -0
- data/tests/illformed/atom10/entry_contributor_url.xml +0 -0
- data/tests/illformed/atom10/entry_id.xml +0 -0
- data/tests/illformed/atom10/entry_id_map_guid.xml +0 -0
- data/tests/illformed/atom10/entry_id_no_normalization_1.xml +0 -0
- data/tests/illformed/atom10/entry_id_no_normalization_2.xml +0 -0
- data/tests/illformed/atom10/entry_id_no_normalization_3.xml +0 -0
- data/tests/illformed/atom10/entry_id_no_normalization_4.xml +0 -0
- data/tests/illformed/atom10/entry_id_no_normalization_5.xml +0 -0
- data/tests/illformed/atom10/entry_id_no_normalization_6.xml +0 -0
- data/tests/illformed/atom10/entry_id_no_normalization_7.xml +0 -0
- data/tests/illformed/atom10/entry_link_alternate_map_link.xml +0 -0
- data/tests/illformed/atom10/entry_link_alternate_map_link_2.xml +0 -0
- data/tests/illformed/atom10/entry_link_alternate_map_link_3.xml +0 -0
- data/tests/illformed/atom10/entry_link_href.xml +0 -0
- data/tests/illformed/atom10/entry_link_hreflang.xml +0 -0
- data/tests/illformed/atom10/entry_link_length.xml +0 -0
- data/tests/illformed/atom10/entry_link_multiple.xml +0 -0
- data/tests/illformed/atom10/entry_link_no_rel.xml +0 -0
- data/tests/illformed/atom10/entry_link_rel.xml +0 -0
- data/tests/illformed/atom10/entry_link_rel_enclosure.xml +0 -0
- data/tests/illformed/atom10/entry_link_rel_enclosure_map_enclosure_length.xml +0 -0
- data/tests/illformed/atom10/entry_link_rel_enclosure_map_enclosure_type.xml +0 -0
- data/tests/illformed/atom10/entry_link_rel_enclosure_map_enclosure_url.xml +0 -0
- data/tests/illformed/atom10/entry_link_rel_other.xml +0 -0
- data/tests/illformed/atom10/entry_link_rel_related.xml +0 -0
- data/tests/illformed/atom10/entry_link_rel_self.xml +0 -0
- data/tests/illformed/atom10/entry_link_rel_via.xml +0 -0
- data/tests/illformed/atom10/entry_link_title.xml +0 -0
- data/tests/illformed/atom10/entry_link_type.xml +0 -0
- data/tests/illformed/atom10/entry_rights.xml +0 -0
- data/tests/illformed/atom10/entry_rights_content_value.xml +0 -0
- data/tests/illformed/atom10/entry_rights_escaped_markup.xml +0 -0
- data/tests/illformed/atom10/entry_rights_inline_markup.xml +0 -0
- data/tests/illformed/atom10/entry_rights_inline_markup_2.xml +0 -0
- data/tests/illformed/atom10/entry_rights_text_plain.xml +0 -0
- data/tests/illformed/atom10/entry_rights_text_plain_brackets.xml +0 -0
- data/tests/illformed/atom10/entry_rights_type_default.xml +0 -0
- data/tests/illformed/atom10/entry_rights_type_text.xml +0 -0
- data/tests/illformed/atom10/entry_source_author_email.xml +0 -0
- data/tests/illformed/atom10/entry_source_author_map_author.xml +0 -0
- data/tests/illformed/atom10/entry_source_author_map_author_2.xml +0 -0
- data/tests/illformed/atom10/entry_source_author_name.xml +0 -0
- data/tests/illformed/atom10/entry_source_author_uri.xml +0 -0
- data/tests/illformed/atom10/entry_source_category_label.xml +0 -0
- data/tests/illformed/atom10/entry_source_category_scheme.xml +0 -0
- data/tests/illformed/atom10/entry_source_category_term.xml +0 -0
- data/tests/illformed/atom10/entry_source_contributor_email.xml +0 -0
- data/tests/illformed/atom10/entry_source_contributor_multiple.xml +0 -0
- data/tests/illformed/atom10/entry_source_contributor_name.xml +0 -0
- data/tests/illformed/atom10/entry_source_contributor_uri.xml +0 -0
- data/tests/illformed/atom10/entry_source_generator.xml +0 -0
- data/tests/illformed/atom10/entry_source_generator_name.xml +0 -0
- data/tests/illformed/atom10/entry_source_generator_uri.xml +0 -0
- data/tests/illformed/atom10/entry_source_generator_version.xml +0 -0
- data/tests/illformed/atom10/entry_source_icon.xml +0 -0
- data/tests/illformed/atom10/entry_source_id.xml +0 -0
- data/tests/illformed/atom10/entry_source_link_alternate_map_link.xml +0 -0
- data/tests/illformed/atom10/entry_source_link_alternate_map_link_2.xml +0 -0
- data/tests/illformed/atom10/entry_source_link_href.xml +0 -0
- data/tests/illformed/atom10/entry_source_link_hreflang.xml +0 -0
- data/tests/illformed/atom10/entry_source_link_length.xml +0 -0
- data/tests/illformed/atom10/entry_source_link_multiple.xml +0 -0
- data/tests/illformed/atom10/entry_source_link_no_rel.xml +0 -0
- data/tests/illformed/atom10/entry_source_link_rel.xml +0 -0
- data/tests/illformed/atom10/entry_source_link_rel_other.xml +0 -0
- data/tests/illformed/atom10/entry_source_link_rel_related.xml +0 -0
- data/tests/illformed/atom10/entry_source_link_rel_self.xml +0 -0
- data/tests/illformed/atom10/entry_source_link_rel_via.xml +0 -0
- data/tests/illformed/atom10/entry_source_link_title.xml +0 -0
- data/tests/illformed/atom10/entry_source_link_type.xml +0 -0
- data/tests/illformed/atom10/entry_source_logo.xml +0 -0
- data/tests/illformed/atom10/entry_source_rights.xml +0 -0
- data/tests/illformed/atom10/entry_source_rights_base64.xml +0 -0
- data/tests/illformed/atom10/entry_source_rights_base64_2.xml +0 -0
- data/tests/illformed/atom10/entry_source_rights_content_type.xml +0 -0
- data/tests/illformed/atom10/entry_source_rights_content_type_text.xml +0 -0
- data/tests/illformed/atom10/entry_source_rights_content_value.xml +0 -0
- data/tests/illformed/atom10/entry_source_rights_escaped_markup.xml +0 -0
- data/tests/illformed/atom10/entry_source_rights_inline_markup.xml +0 -0
- data/tests/illformed/atom10/entry_source_rights_inline_markup_2.xml +0 -0
- data/tests/illformed/atom10/entry_source_rights_text_plain.xml +0 -0
- data/tests/illformed/atom10/entry_source_subittle_content_type_text.xml +0 -0
- data/tests/illformed/atom10/entry_source_subtitle.xml +0 -0
- data/tests/illformed/atom10/entry_source_subtitle_base64.xml +0 -0
- data/tests/illformed/atom10/entry_source_subtitle_base64_2.xml +0 -0
- data/tests/illformed/atom10/entry_source_subtitle_content_type.xml +0 -0
- data/tests/illformed/atom10/entry_source_subtitle_content_value.xml +0 -0
- data/tests/illformed/atom10/entry_source_subtitle_escaped_markup.xml +0 -0
- data/tests/illformed/atom10/entry_source_subtitle_inline_markup.xml +0 -0
- data/tests/illformed/atom10/entry_source_subtitle_inline_markup_2.xml +0 -0
- data/tests/illformed/atom10/entry_source_subtitle_text_plain.xml +0 -0
- data/tests/illformed/atom10/entry_source_title.xml +0 -0
- data/tests/illformed/atom10/entry_source_title_base64.xml +0 -0
- data/tests/illformed/atom10/entry_source_title_base64_2.xml +0 -0
- data/tests/illformed/atom10/entry_source_title_content_type.xml +0 -0
- data/tests/illformed/atom10/entry_source_title_content_type_text.xml +0 -0
- data/tests/illformed/atom10/entry_source_title_content_value.xml +0 -0
- data/tests/illformed/atom10/entry_source_title_escaped_markup.xml +0 -0
- data/tests/illformed/atom10/entry_source_title_inline_markup.xml +0 -0
- data/tests/illformed/atom10/entry_source_title_inline_markup_2.xml +0 -0
- data/tests/illformed/atom10/entry_source_title_text_plain.xml +0 -0
- data/tests/illformed/atom10/entry_summary.xml +0 -0
- data/tests/illformed/atom10/entry_summary_base64.xml +0 -0
- data/tests/illformed/atom10/entry_summary_base64_2.xml +0 -0
- data/tests/illformed/atom10/entry_summary_content_value.xml +0 -0
- data/tests/illformed/atom10/entry_summary_escaped_markup.xml +0 -0
- data/tests/illformed/atom10/entry_summary_inline_markup.xml +0 -0
- data/tests/illformed/atom10/entry_summary_inline_markup_2.xml +0 -0
- data/tests/illformed/atom10/entry_summary_text_plain.xml +0 -0
- data/tests/illformed/atom10/entry_summary_type_default.xml +0 -0
- data/tests/illformed/atom10/entry_summary_type_text.xml +0 -0
- data/tests/illformed/atom10/entry_title.xml +0 -0
- data/tests/illformed/atom10/entry_title_base64.xml +0 -0
- data/tests/illformed/atom10/entry_title_base64_2.xml +0 -0
- data/tests/illformed/atom10/entry_title_content_value.xml +0 -0
- data/tests/illformed/atom10/entry_title_escaped_markup.xml +0 -0
- data/tests/illformed/atom10/entry_title_inline_markup.xml +0 -0
- data/tests/illformed/atom10/entry_title_inline_markup_2.xml +0 -0
- data/tests/illformed/atom10/entry_title_text_plain.xml +0 -0
- data/tests/illformed/atom10/entry_title_text_plain_brackets.xml +0 -0
- data/tests/illformed/atom10/entry_title_type_default.xml +0 -0
- data/tests/illformed/atom10/entry_title_type_text.xml +0 -0
- data/tests/illformed/atom10/feed_author_email.xml +0 -0
- data/tests/illformed/atom10/feed_author_map_author.xml +0 -0
- data/tests/illformed/atom10/feed_author_map_author_2.xml +0 -0
- data/tests/illformed/atom10/feed_author_name.xml +0 -0
- data/tests/illformed/atom10/feed_author_uri.xml +0 -0
- data/tests/illformed/atom10/feed_author_url.xml +0 -0
- data/tests/illformed/atom10/feed_contributor_email.xml +0 -0
- data/tests/illformed/atom10/feed_contributor_multiple.xml +0 -0
- data/tests/illformed/atom10/feed_contributor_name.xml +0 -0
- data/tests/illformed/atom10/feed_contributor_uri.xml +0 -0
- data/tests/illformed/atom10/feed_contributor_url.xml +0 -0
- data/tests/illformed/atom10/feed_generator.xml +0 -0
- data/tests/illformed/atom10/feed_generator_name.xml +0 -0
- data/tests/illformed/atom10/feed_generator_url.xml +0 -0
- data/tests/illformed/atom10/feed_generator_version.xml +0 -0
- data/tests/illformed/atom10/feed_icon.xml +0 -0
- data/tests/illformed/atom10/feed_id.xml +0 -0
- data/tests/illformed/atom10/feed_id_map_guid.xml +0 -0
- data/tests/illformed/atom10/feed_link_alternate_map_link.xml +0 -0
- data/tests/illformed/atom10/feed_link_alternate_map_link_2.xml +0 -0
- data/tests/illformed/atom10/feed_link_href.xml +0 -0
- data/tests/illformed/atom10/feed_link_hreflang.xml +0 -0
- data/tests/illformed/atom10/feed_link_length.xml +0 -0
- data/tests/illformed/atom10/feed_link_multiple.xml +0 -0
- data/tests/illformed/atom10/feed_link_no_rel.xml +0 -0
- data/tests/illformed/atom10/feed_link_rel.xml +0 -0
- data/tests/illformed/atom10/feed_link_rel_other.xml +0 -0
- data/tests/illformed/atom10/feed_link_rel_related.xml +0 -0
- data/tests/illformed/atom10/feed_link_rel_self.xml +0 -0
- data/tests/illformed/atom10/feed_link_rel_via.xml +0 -0
- data/tests/illformed/atom10/feed_link_title.xml +0 -0
- data/tests/illformed/atom10/feed_link_type.xml +0 -0
- data/tests/illformed/atom10/feed_logo.xml +0 -0
- data/tests/illformed/atom10/feed_rights.xml +0 -0
- data/tests/illformed/atom10/feed_rights_base64.xml +0 -0
- data/tests/illformed/atom10/feed_rights_base64_2.xml +0 -0
- data/tests/illformed/atom10/feed_rights_content_type.xml +0 -0
- data/tests/illformed/atom10/feed_rights_content_type_text.xml +0 -0
- data/tests/illformed/atom10/feed_rights_content_value.xml +0 -0
- data/tests/illformed/atom10/feed_rights_escaped_markup.xml +0 -0
- data/tests/illformed/atom10/feed_rights_inline_markup.xml +0 -0
- data/tests/illformed/atom10/feed_rights_inline_markup_2.xml +0 -0
- data/tests/illformed/atom10/feed_rights_text_plain.xml +0 -0
- data/tests/illformed/atom10/feed_subtitle.xml +0 -0
- data/tests/illformed/atom10/feed_subtitle_base64.xml +0 -0
- data/tests/illformed/atom10/feed_subtitle_base64_2.xml +0 -0
- data/tests/illformed/atom10/feed_subtitle_content_type.xml +0 -0
- data/tests/illformed/atom10/feed_subtitle_content_type_text.xml +0 -0
- data/tests/illformed/atom10/feed_subtitle_content_value.xml +0 -0
- data/tests/illformed/atom10/feed_subtitle_escaped_markup.xml +0 -0
- data/tests/illformed/atom10/feed_subtitle_inline_markup.xml +0 -0
- data/tests/illformed/atom10/feed_subtitle_inline_markup_2.xml +0 -0
- data/tests/illformed/atom10/feed_subtitle_text_plain.xml +0 -0
- data/tests/illformed/atom10/feed_title.xml +0 -0
- data/tests/illformed/atom10/feed_title_base64.xml +0 -0
- data/tests/illformed/atom10/feed_title_base64_2.xml +0 -0
- data/tests/illformed/atom10/feed_title_content_type.xml +0 -0
- data/tests/illformed/atom10/feed_title_content_type_text.xml +0 -0
- data/tests/illformed/atom10/feed_title_content_value.xml +0 -0
- data/tests/illformed/atom10/feed_title_escaped_markup.xml +0 -0
- data/tests/illformed/atom10/feed_title_inline_markup.xml +0 -0
- data/tests/illformed/atom10/feed_title_inline_markup_2.xml +0 -0
- data/tests/illformed/atom10/feed_title_text_plain.xml +0 -0
- data/tests/illformed/atom10/relative_uri.xml +0 -0
- data/tests/illformed/atom10/relative_uri_inherit.xml +0 -0
- data/tests/illformed/atom10/relative_uri_inherit_2.xml +0 -0
- data/tests/illformed/base/entry_summary_xml_base.xml +0 -0
- data/tests/illformed/base/entry_summary_xml_base_inherit.xml +0 -0
- data/tests/illformed/base/entry_summary_xml_base_inherit_2.xml +0 -0
- data/tests/illformed/base/entry_summary_xml_base_inherit_3.xml +0 -0
- data/tests/illformed/base/entry_summary_xml_base_inherit_4.xml +0 -0
- data/tests/illformed/base/entry_title_xml_base.xml +0 -0
- data/tests/illformed/base/entry_title_xml_base_inherit.xml +0 -0
- data/tests/illformed/base/entry_title_xml_base_inherit_2.xml +0 -0
- data/tests/illformed/base/entry_title_xml_base_inherit_3.xml +0 -0
- data/tests/illformed/base/entry_title_xml_base_inherit_4.xml +0 -0
- data/tests/illformed/base/feed_copyright_xml_base.xml +0 -0
- data/tests/illformed/base/feed_copyright_xml_base_inherit.xml +0 -0
- data/tests/illformed/base/feed_copyright_xml_base_inherit_2.xml +0 -0
- data/tests/illformed/base/feed_copyright_xml_base_inherit_3.xml +0 -0
- data/tests/illformed/base/feed_copyright_xml_base_inherit_4.xml +0 -0
- data/tests/illformed/base/feed_info_xml_base.xml +0 -0
- data/tests/illformed/base/feed_info_xml_base_inherit.xml +0 -0
- data/tests/illformed/base/feed_info_xml_base_inherit_2.xml +0 -0
- data/tests/illformed/base/feed_info_xml_base_inherit_3.xml +0 -0
- data/tests/illformed/base/feed_info_xml_base_inherit_4.xml +0 -0
- data/tests/illformed/base/feed_tagline_xml_base.xml +0 -0
- data/tests/illformed/base/feed_tagline_xml_base_inherit.xml +0 -0
- data/tests/illformed/base/feed_tagline_xml_base_inherit_2.xml +0 -0
- data/tests/illformed/base/feed_tagline_xml_base_inherit_3.xml +0 -0
- data/tests/illformed/base/feed_tagline_xml_base_inherit_4.xml +0 -0
- data/tests/illformed/base/feed_title_xml_base.xml +0 -0
- data/tests/illformed/base/feed_title_xml_base_inherit.xml +0 -0
- data/tests/illformed/base/feed_title_xml_base_inherit_2.xml +0 -0
- data/tests/illformed/base/feed_title_xml_base_inherit_3.xml +0 -0
- data/tests/illformed/base/feed_title_xml_base_inherit_4.xml +0 -0
- data/tests/illformed/base/http_relative_xml_base.xml +0 -0
- data/tests/illformed/base/malformed_base.xml +0 -0
- data/tests/illformed/base/relative_xml_base.xml +0 -0
- data/tests/illformed/base/relative_xml_base_2.xml +0 -0
- data/tests/illformed/chardet/big5.xml +0 -0
- data/tests/illformed/chardet/eucjp.xml +0 -0
- data/tests/illformed/chardet/euckr.xml +0 -0
- data/tests/illformed/chardet/gb2312.xml +0 -0
- data/tests/illformed/chardet/koi8r.xml +0 -0
- data/tests/illformed/chardet/shiftjis.xml +0 -0
- data/tests/illformed/chardet/tis620.xml +0 -0
- data/tests/illformed/chardet/windows1255.xml +0 -0
- data/tests/illformed/date/channel_pubDate_greek_1.xml +0 -0
- data/tests/illformed/date/channel_pubDate_hungarian_1.xml +0 -0
- data/tests/illformed/date/channel_pubDate_korean_nate.xml +0 -0
- data/tests/illformed/date/channel_pubDate_mssql.xml +0 -0
- data/tests/illformed/date/channel_pubDate_mssql_nofraction.xml +0 -0
- data/tests/illformed/date/channel_pubDate_nosecond.xml +0 -0
- data/tests/illformed/date/channel_pubDate_notime.xml +0 -0
- data/tests/illformed/date/entry_created.xml +0 -0
- data/tests/illformed/date/entry_created_w3dtf_utc.xml +0 -0
- data/tests/illformed/date/entry_issued.xml +0 -0
- data/tests/illformed/date/entry_issued_w3dtf_utc.xml +0 -0
- data/tests/illformed/date/entry_modified.xml +0 -0
- data/tests/illformed/date/entry_modified_map_date.xml +0 -0
- data/tests/illformed/date/entry_modified_w3dtf_utc.xml +0 -0
- data/tests/illformed/date/entry_published_w3dtf_utc.xml +0 -0
- data/tests/illformed/date/entry_source_updated_w3dtf_utc.xml +0 -0
- data/tests/illformed/date/entry_updated_w3dtf_utc.xml +0 -0
- data/tests/illformed/date/feed_modified.xml +0 -0
- data/tests/illformed/date/feed_modified_asctime.xml +0 -0
- data/tests/illformed/date/feed_modified_disney.xml +0 -0
- data/tests/illformed/date/feed_modified_disney_at.xml +0 -0
- data/tests/illformed/date/feed_modified_disney_ct.xml +0 -0
- data/tests/illformed/date/feed_modified_disney_mt.xml +0 -0
- data/tests/illformed/date/feed_modified_disney_pt.xml +0 -0
- data/tests/illformed/date/feed_modified_iso8601_ym.xml +0 -0
- data/tests/illformed/date/feed_modified_iso8601_ym_2.xml +0 -0
- data/tests/illformed/date/feed_modified_iso8601_ymd.xml +0 -0
- data/tests/illformed/date/feed_modified_iso8601_ymd_2.xml +0 -0
- data/tests/illformed/date/feed_modified_iso8601_yo_2.xml +0 -0
- data/tests/illformed/date/feed_modified_map_date.xml +0 -0
- data/tests/illformed/date/feed_modified_rfc2822.xml +0 -0
- data/tests/illformed/date/feed_modified_rfc2822_rollover_june_31.xml +0 -0
- data/tests/illformed/date/feed_modified_rfc822.xml +0 -0
- data/tests/illformed/date/feed_modified_w3dtf_rollover_leapyear.xml +0 -0
- data/tests/illformed/date/feed_modified_w3dtf_rollover_leapyear400.xml +0 -0
- data/tests/illformed/date/feed_modified_w3dtf_rollover_nonleapyear.xml +0 -0
- data/tests/illformed/date/feed_modified_w3dtf_sf.xml +0 -0
- data/tests/illformed/date/feed_modified_w3dtf_tokyo.xml +0 -0
- data/tests/illformed/date/feed_modified_w3dtf_utc.xml +0 -0
- data/tests/illformed/date/feed_modified_w3dtf_y.xml +0 -0
- data/tests/illformed/date/feed_modified_w3dtf_ym.xml +0 -0
- data/tests/illformed/date/feed_modified_w3dtf_ymd.xml +0 -0
- data/tests/illformed/date/feed_modified_w3dtf_ymd_2.xml +0 -0
- data/tests/illformed/date/feed_updated_w3dtf_utc.xml +0 -0
- data/tests/illformed/date/item_pubDate_euc-kr.xml +0 -0
- data/tests/illformed/encoding/bogus_encoding.xml +0 -0
- data/tests/illformed/encoding/encoding_mismatch_crash.xml +0 -0
- data/tests/illformed/encoding/http_text_plain.xml +0 -0
- data/tests/illformed/encoding/http_text_plain_charset.xml +0 -0
- data/tests/illformed/encoding/utf-16be-autodetect.xml +0 -0
- data/tests/illformed/encoding/utf-16be-bom.xml +0 -0
- data/tests/illformed/encoding/utf-16be.xml +0 -0
- data/tests/illformed/encoding/utf-16le-autodetect.xml +0 -0
- data/tests/illformed/encoding/utf-16le-bom.xml +0 -0
- data/tests/illformed/encoding/utf-16le.xml +0 -0
- data/tests/illformed/encoding/utf-8-bom.xml +0 -0
- data/tests/illformed/encoding/x80_437.xml +0 -0
- data/tests/illformed/encoding/x80_850.xml +0 -0
- data/tests/illformed/encoding/x80_852.xml +0 -0
- data/tests/illformed/encoding/x80_855.xml +0 -0
- data/tests/illformed/encoding/x80_857.xml +0 -0
- data/tests/illformed/encoding/x80_860.xml +0 -0
- data/tests/illformed/encoding/x80_861.xml +0 -0
- data/tests/illformed/encoding/x80_862.xml +0 -0
- data/tests/illformed/encoding/x80_863.xml +0 -0
- data/tests/illformed/encoding/x80_865.xml +0 -0
- data/tests/illformed/encoding/x80_866.xml +0 -0
- data/tests/illformed/encoding/x80_cp037.xml +0 -0
- data/tests/illformed/encoding/x80_cp1125.xml +0 -0
- data/tests/illformed/encoding/x80_cp1250.xml +0 -0
- data/tests/illformed/encoding/x80_cp1251.xml +0 -0
- data/tests/illformed/encoding/x80_cp1252.xml +0 -0
- data/tests/illformed/encoding/x80_cp1253.xml +0 -0
- data/tests/illformed/encoding/x80_cp1254.xml +0 -0
- data/tests/illformed/encoding/x80_cp1255.xml +0 -0
- data/tests/illformed/encoding/x80_cp1256.xml +0 -0
- data/tests/illformed/encoding/x80_cp1257.xml +0 -0
- data/tests/illformed/encoding/x80_cp1258.xml +0 -0
- data/tests/illformed/encoding/x80_cp437.xml +0 -0
- data/tests/illformed/encoding/x80_cp500.xml +0 -0
- data/tests/illformed/encoding/x80_cp737.xml +0 -0
- data/tests/illformed/encoding/x80_cp775.xml +0 -0
- data/tests/illformed/encoding/x80_cp850.xml +0 -0
- data/tests/illformed/encoding/x80_cp852.xml +0 -0
- data/tests/illformed/encoding/x80_cp855.xml +0 -0
- data/tests/illformed/encoding/x80_cp856.xml +0 -0
- data/tests/illformed/encoding/x80_cp857.xml +0 -0
- data/tests/illformed/encoding/x80_cp860.xml +0 -0
- data/tests/illformed/encoding/x80_cp861.xml +0 -0
- data/tests/illformed/encoding/x80_cp862.xml +0 -0
- data/tests/illformed/encoding/x80_cp863.xml +0 -0
- data/tests/illformed/encoding/x80_cp864.xml +0 -0
- data/tests/illformed/encoding/x80_cp865.xml +0 -0
- data/tests/illformed/encoding/x80_cp866.xml +0 -0
- data/tests/illformed/encoding/x80_cp874.xml +0 -0
- data/tests/illformed/encoding/x80_cp875.xml +0 -0
- data/tests/illformed/encoding/x80_cp_is.xml +0 -0
- data/tests/illformed/encoding/x80_csibm037.xml +0 -0
- data/tests/illformed/encoding/x80_csibm500.xml +0 -0
- data/tests/illformed/encoding/x80_csibm855.xml +0 -0
- data/tests/illformed/encoding/x80_csibm857.xml +0 -0
- data/tests/illformed/encoding/x80_csibm860.xml +0 -0
- data/tests/illformed/encoding/x80_csibm861.xml +0 -0
- data/tests/illformed/encoding/x80_csibm863.xml +0 -0
- data/tests/illformed/encoding/x80_csibm864.xml +0 -0
- data/tests/illformed/encoding/x80_csibm865.xml +0 -0
- data/tests/illformed/encoding/x80_csibm866.xml +0 -0
- data/tests/illformed/encoding/x80_cskoi8r.xml +0 -0
- data/tests/illformed/encoding/x80_csmacintosh.xml +0 -0
- data/tests/illformed/encoding/x80_cspc775baltic.xml +0 -0
- data/tests/illformed/encoding/x80_cspc850multilingual.xml +0 -0
- data/tests/illformed/encoding/x80_cspc862latinhebrew.xml +0 -0
- data/tests/illformed/encoding/x80_cspc8codepage437.xml +0 -0
- data/tests/illformed/encoding/x80_cspcp852.xml +0 -0
- data/tests/illformed/encoding/x80_dbcs.xml +0 -0
- data/tests/illformed/encoding/x80_ebcdic-cp-be.xml +0 -0
- data/tests/illformed/encoding/x80_ebcdic-cp-ca.xml +0 -0
- data/tests/illformed/encoding/x80_ebcdic-cp-ch.xml +0 -0
- data/tests/illformed/encoding/x80_ebcdic-cp-nl.xml +0 -0
- data/tests/illformed/encoding/x80_ebcdic-cp-us.xml +0 -0
- data/tests/illformed/encoding/x80_ebcdic-cp-wt.xml +0 -0
- data/tests/illformed/encoding/x80_ebcdic_cp_be.xml +0 -0
- data/tests/illformed/encoding/x80_ebcdic_cp_ca.xml +0 -0
- data/tests/illformed/encoding/x80_ebcdic_cp_ch.xml +0 -0
- data/tests/illformed/encoding/x80_ebcdic_cp_nl.xml +0 -0
- data/tests/illformed/encoding/x80_ebcdic_cp_us.xml +0 -0
- data/tests/illformed/encoding/x80_ebcdic_cp_wt.xml +0 -0
- data/tests/illformed/encoding/x80_ibm037.xml +0 -0
- data/tests/illformed/encoding/x80_ibm039.xml +0 -0
- data/tests/illformed/encoding/x80_ibm1140.xml +0 -0
- data/tests/illformed/encoding/x80_ibm437.xml +0 -0
- data/tests/illformed/encoding/x80_ibm500.xml +0 -0
- data/tests/illformed/encoding/x80_ibm775.xml +0 -0
- data/tests/illformed/encoding/x80_ibm850.xml +0 -0
- data/tests/illformed/encoding/x80_ibm852.xml +0 -0
- data/tests/illformed/encoding/x80_ibm855.xml +0 -0
- data/tests/illformed/encoding/x80_ibm857.xml +0 -0
- data/tests/illformed/encoding/x80_ibm860.xml +0 -0
- data/tests/illformed/encoding/x80_ibm861.xml +0 -0
- data/tests/illformed/encoding/x80_ibm862.xml +0 -0
- data/tests/illformed/encoding/x80_ibm863.xml +0 -0
- data/tests/illformed/encoding/x80_ibm864.xml +0 -0
- data/tests/illformed/encoding/x80_ibm865.xml +0 -0
- data/tests/illformed/encoding/x80_ibm866.xml +0 -0
- data/tests/illformed/encoding/x80_koi8-r.xml +0 -0
- data/tests/illformed/encoding/x80_koi8-t.xml +0 -0
- data/tests/illformed/encoding/x80_koi8-u.xml +0 -0
- data/tests/illformed/encoding/x80_mac-cyrillic.xml +0 -0
- data/tests/illformed/encoding/x80_mac.xml +0 -0
- data/tests/illformed/encoding/x80_maccentraleurope.xml +0 -0
- data/tests/illformed/encoding/x80_maccyrillic.xml +0 -0
- data/tests/illformed/encoding/x80_macgreek.xml +0 -0
- data/tests/illformed/encoding/x80_maciceland.xml +0 -0
- data/tests/illformed/encoding/x80_macintosh.xml +0 -0
- data/tests/illformed/encoding/x80_maclatin2.xml +0 -0
- data/tests/illformed/encoding/x80_macroman.xml +0 -0
- data/tests/illformed/encoding/x80_macturkish.xml +0 -0
- data/tests/illformed/encoding/x80_ms-ansi.xml +0 -0
- data/tests/illformed/encoding/x80_ms-arab.xml +0 -0
- data/tests/illformed/encoding/x80_ms-cyrl.xml +0 -0
- data/tests/illformed/encoding/x80_ms-ee.xml +0 -0
- data/tests/illformed/encoding/x80_ms-greek.xml +0 -0
- data/tests/illformed/encoding/x80_ms-hebr.xml +0 -0
- data/tests/illformed/encoding/x80_ms-turk.xml +0 -0
- data/tests/illformed/encoding/x80_tcvn-5712.xml +0 -0
- data/tests/illformed/encoding/x80_tcvn.xml +0 -0
- data/tests/illformed/encoding/x80_tcvn5712-1.xml +0 -0
- data/tests/illformed/encoding/x80_viscii.xml +0 -0
- data/tests/illformed/encoding/x80_winbaltrim.xml +0 -0
- data/tests/illformed/encoding/x80_windows-1250.xml +0 -0
- data/tests/illformed/encoding/x80_windows-1251.xml +0 -0
- data/tests/illformed/encoding/x80_windows-1252.xml +0 -0
- data/tests/illformed/encoding/x80_windows-1253.xml +0 -0
- data/tests/illformed/encoding/x80_windows-1254.xml +0 -0
- data/tests/illformed/encoding/x80_windows-1255.xml +0 -0
- data/tests/illformed/encoding/x80_windows-1256.xml +0 -0
- data/tests/illformed/encoding/x80_windows-1257.xml +0 -0
- data/tests/illformed/encoding/x80_windows-1258.xml +0 -0
- data/tests/illformed/encoding/x80_windows_1250.xml +0 -0
- data/tests/illformed/encoding/x80_windows_1251.xml +0 -0
- data/tests/illformed/encoding/x80_windows_1252.xml +0 -0
- data/tests/illformed/encoding/x80_windows_1253.xml +0 -0
- data/tests/illformed/encoding/x80_windows_1254.xml +0 -0
- data/tests/illformed/encoding/x80_windows_1255.xml +0 -0
- data/tests/illformed/encoding/x80_windows_1256.xml +0 -0
- data/tests/illformed/encoding/x80_windows_1257.xml +0 -0
- data/tests/illformed/encoding/x80_windows_1258.xml +0 -0
- data/tests/illformed/entities/160.xml +0 -0
- data/tests/illformed/entities/732.xml +0 -0
- data/tests/illformed/entities/8216.xml +0 -0
- data/tests/illformed/entities/8217.xml +0 -0
- data/tests/illformed/entities/8220.xml +0 -0
- data/tests/illformed/entities/8221.xml +0 -0
- data/tests/illformed/entities/9830.xml +0 -0
- data/tests/illformed/entities/aacute.xml +0 -0
- data/tests/illformed/entities/acirc.xml +0 -0
- data/tests/illformed/entities/acute.xml +0 -0
- data/tests/illformed/entities/aelig.xml +0 -0
- data/tests/illformed/entities/agrave.xml +0 -0
- data/tests/illformed/entities/alefsym.xml +0 -0
- data/tests/illformed/entities/alpha.xml +0 -0
- data/tests/illformed/entities/and.xml +0 -0
- data/tests/illformed/entities/ang.xml +0 -0
- data/tests/illformed/entities/aring.xml +0 -0
- data/tests/illformed/entities/asymp.xml +0 -0
- data/tests/illformed/entities/atilde.xml +0 -0
- data/tests/illformed/entities/auml.xml +0 -0
- data/tests/illformed/entities/bdquo.xml +0 -0
- data/tests/illformed/entities/beta.xml +0 -0
- data/tests/illformed/entities/brvbar.xml +0 -0
- data/tests/illformed/entities/bull.xml +0 -0
- data/tests/illformed/entities/cap.xml +0 -0
- data/tests/illformed/entities/ccedil.xml +0 -0
- data/tests/illformed/entities/cedil.xml +0 -0
- data/tests/illformed/entities/cent.xml +0 -0
- data/tests/illformed/entities/chi.xml +0 -0
- data/tests/illformed/entities/circ.xml +0 -0
- data/tests/illformed/entities/clubs.xml +0 -0
- data/tests/illformed/entities/cong.xml +0 -0
- data/tests/illformed/entities/copy.xml +0 -0
- data/tests/illformed/entities/crarr.xml +0 -0
- data/tests/illformed/entities/cup.xml +0 -0
- data/tests/illformed/entities/curren.xml +0 -0
- data/tests/illformed/entities/dagger.xml +0 -0
- data/tests/illformed/entities/darr.xml +0 -0
- data/tests/illformed/entities/deg.xml +0 -0
- data/tests/illformed/entities/delta.xml +0 -0
- data/tests/illformed/entities/diams.xml +0 -0
- data/tests/illformed/entities/divide.xml +0 -0
- data/tests/illformed/entities/doesnotexist.xml +0 -0
- data/tests/illformed/entities/eacute.xml +0 -0
- data/tests/illformed/entities/ecirc.xml +0 -0
- data/tests/illformed/entities/egrave.xml +0 -0
- data/tests/illformed/entities/empty.xml +0 -0
- data/tests/illformed/entities/emsp.xml +0 -0
- data/tests/illformed/entities/ensp.xml +0 -0
- data/tests/illformed/entities/epsilon.xml +0 -0
- data/tests/illformed/entities/equiv.xml +0 -0
- data/tests/illformed/entities/eta.xml +0 -0
- data/tests/illformed/entities/eth.xml +0 -0
- data/tests/illformed/entities/euml.xml +0 -0
- data/tests/illformed/entities/euro.xml +0 -0
- data/tests/illformed/entities/exist.xml +0 -0
- data/tests/illformed/entities/fnof.xml +0 -0
- data/tests/illformed/entities/forall.xml +0 -0
- data/tests/illformed/entities/frac12.xml +0 -0
- data/tests/illformed/entities/frac14.xml +0 -0
- data/tests/illformed/entities/frac34.xml +0 -0
- data/tests/illformed/entities/frasl.xml +0 -0
- data/tests/illformed/entities/gamma.xml +0 -0
- data/tests/illformed/entities/ge.xml +0 -0
- data/tests/illformed/entities/hArr.xml +0 -0
- data/tests/illformed/entities/hearts.xml +0 -0
- data/tests/illformed/entities/hellip.xml +0 -0
- data/tests/illformed/entities/iacute.xml +0 -0
- data/tests/illformed/entities/icirc.xml +0 -0
- data/tests/illformed/entities/iexcl.xml +0 -0
- data/tests/illformed/entities/igrave.xml +0 -0
- data/tests/illformed/entities/image.xml +0 -0
- data/tests/illformed/entities/infin.xml +0 -0
- data/tests/illformed/entities/int.xml +0 -0
- data/tests/illformed/entities/iota.xml +0 -0
- data/tests/illformed/entities/iquest.xml +0 -0
- data/tests/illformed/entities/isin.xml +0 -0
- data/tests/illformed/entities/iuml.xml +0 -0
- data/tests/illformed/entities/kappa.xml +0 -0
- data/tests/illformed/entities/lArr.xml +0 -0
- data/tests/illformed/entities/lambda.xml +0 -0
- data/tests/illformed/entities/lang.xml +0 -0
- data/tests/illformed/entities/laquo.xml +0 -0
- data/tests/illformed/entities/lceil.xml +0 -0
- data/tests/illformed/entities/ldquo.xml +0 -0
- data/tests/illformed/entities/le.xml +0 -0
- data/tests/illformed/entities/lfloor.xml +0 -0
- data/tests/illformed/entities/lowast.xml +0 -0
- data/tests/illformed/entities/loz.xml +0 -0
- data/tests/illformed/entities/lrm.xml +0 -0
- data/tests/illformed/entities/lsaquo.xml +0 -0
- data/tests/illformed/entities/lsquo.xml +0 -0
- data/tests/illformed/entities/macr.xml +0 -0
- data/tests/illformed/entities/mdash.xml +0 -0
- data/tests/illformed/entities/micro.xml +0 -0
- data/tests/illformed/entities/middot.xml +0 -0
- data/tests/illformed/entities/minus.xml +0 -0
- data/tests/illformed/entities/mu.xml +0 -0
- data/tests/illformed/entities/nabla.xml +0 -0
- data/tests/illformed/entities/nbsp.xml +0 -0
- data/tests/illformed/entities/ndash.xml +0 -0
- data/tests/illformed/entities/ne.xml +0 -0
- data/tests/illformed/entities/ni.xml +0 -0
- data/tests/illformed/entities/not.xml +0 -0
- data/tests/illformed/entities/notin.xml +0 -0
- data/tests/illformed/entities/nsub.xml +0 -0
- data/tests/illformed/entities/ntilde.xml +0 -0
- data/tests/illformed/entities/nu.xml +0 -0
- data/tests/illformed/entities/oacute.xml +0 -0
- data/tests/illformed/entities/ocirc.xml +0 -0
- data/tests/illformed/entities/oelig.xml +0 -0
- data/tests/illformed/entities/ograve.xml +0 -0
- data/tests/illformed/entities/oline.xml +0 -0
- data/tests/illformed/entities/omega.xml +0 -0
- data/tests/illformed/entities/omicron.xml +0 -0
- data/tests/illformed/entities/oplus.xml +0 -0
- data/tests/illformed/entities/or.xml +0 -0
- data/tests/illformed/entities/ordf.xml +0 -0
- data/tests/illformed/entities/ordm.xml +0 -0
- data/tests/illformed/entities/oslash.xml +0 -0
- data/tests/illformed/entities/otilde.xml +0 -0
- data/tests/illformed/entities/otimes.xml +0 -0
- data/tests/illformed/entities/ouml.xml +0 -0
- data/tests/illformed/entities/para.xml +0 -0
- data/tests/illformed/entities/part.xml +0 -0
- data/tests/illformed/entities/permil.xml +0 -0
- data/tests/illformed/entities/perp.xml +0 -0
- data/tests/illformed/entities/phi.xml +0 -0
- data/tests/illformed/entities/pi.xml +0 -0
- data/tests/illformed/entities/piv.xml +0 -0
- data/tests/illformed/entities/plusmn.xml +0 -0
- data/tests/illformed/entities/pound.xml +0 -0
- data/tests/illformed/entities/prime.xml +0 -0
- data/tests/illformed/entities/prod.xml +0 -0
- data/tests/illformed/entities/prop.xml +0 -0
- data/tests/illformed/entities/psi.xml +0 -0
- data/tests/illformed/entities/radic.xml +0 -0
- data/tests/illformed/entities/rang.xml +0 -0
- data/tests/illformed/entities/raquo.xml +0 -0
- data/tests/illformed/entities/rarr.xml +0 -0
- data/tests/illformed/entities/rceil.xml +0 -0
- data/tests/illformed/entities/rdquo.xml +0 -0
- data/tests/illformed/entities/real.xml +0 -0
- data/tests/illformed/entities/reg.xml +0 -0
- data/tests/illformed/entities/rfloor.xml +0 -0
- data/tests/illformed/entities/rho.xml +0 -0
- data/tests/illformed/entities/rlm.xml +0 -0
- data/tests/illformed/entities/rsaquo.xml +0 -0
- data/tests/illformed/entities/rsquo.xml +0 -0
- data/tests/illformed/entities/sbquo.xml +0 -0
- data/tests/illformed/entities/scaron.xml +0 -0
- data/tests/illformed/entities/sdot.xml +0 -0
- data/tests/illformed/entities/sect.xml +0 -0
- data/tests/illformed/entities/shy.xml +0 -0
- data/tests/illformed/entities/sigma.xml +0 -0
- data/tests/illformed/entities/sigmaf.xml +0 -0
- data/tests/illformed/entities/sim.xml +0 -0
- data/tests/illformed/entities/spades.xml +0 -0
- data/tests/illformed/entities/sub.xml +0 -0
- data/tests/illformed/entities/sube.xml +0 -0
- data/tests/illformed/entities/sum.xml +0 -0
- data/tests/illformed/entities/sup.xml +0 -0
- data/tests/illformed/entities/sup1.xml +0 -0
- data/tests/illformed/entities/sup2.xml +0 -0
- data/tests/illformed/entities/sup3.xml +0 -0
- data/tests/illformed/entities/supe.xml +0 -0
- data/tests/illformed/entities/szlig.xml +0 -0
- data/tests/illformed/entities/tau.xml +0 -0
- data/tests/illformed/entities/there4.xml +0 -0
- data/tests/illformed/entities/theta.xml +0 -0
- data/tests/illformed/entities/thetasym.xml +0 -0
- data/tests/illformed/entities/thinsp.xml +0 -0
- data/tests/illformed/entities/thorn.xml +0 -0
- data/tests/illformed/entities/tilde.xml +0 -0
- data/tests/illformed/entities/times.xml +0 -0
- data/tests/illformed/entities/trade.xml +0 -0
- data/tests/illformed/entities/uacute.xml +0 -0
- data/tests/illformed/entities/uarr.xml +0 -0
- data/tests/illformed/entities/ucirc.xml +0 -0
- data/tests/illformed/entities/ugrave.xml +0 -0
- data/tests/illformed/entities/uml.xml +0 -0
- data/tests/illformed/entities/upper_AElig.xml +0 -0
- data/tests/illformed/entities/upper_Aacute.xml +0 -0
- data/tests/illformed/entities/upper_Acirc.xml +0 -0
- data/tests/illformed/entities/upper_Agrave.xml +0 -0
- data/tests/illformed/entities/upper_Alpha.xml +0 -0
- data/tests/illformed/entities/upper_Aring.xml +0 -0
- data/tests/illformed/entities/upper_Atilde.xml +0 -0
- data/tests/illformed/entities/upper_Auml.xml +0 -0
- data/tests/illformed/entities/upper_Beta.xml +0 -0
- data/tests/illformed/entities/upper_Ccedil.xml +0 -0
- data/tests/illformed/entities/upper_Chi.xml +0 -0
- data/tests/illformed/entities/upper_Dagger.xml +0 -0
- data/tests/illformed/entities/upper_Delta.xml +0 -0
- data/tests/illformed/entities/upper_ETH.xml +0 -0
- data/tests/illformed/entities/upper_Eacute.xml +0 -0
- data/tests/illformed/entities/upper_Ecirc.xml +0 -0
- data/tests/illformed/entities/upper_Egrave.xml +0 -0
- data/tests/illformed/entities/upper_Epsilon.xml +0 -0
- data/tests/illformed/entities/upper_Eta.xml +0 -0
- data/tests/illformed/entities/upper_Euml.xml +0 -0
- data/tests/illformed/entities/upper_Gamma.xml +0 -0
- data/tests/illformed/entities/upper_Iacute.xml +0 -0
- data/tests/illformed/entities/upper_Icirc.xml +0 -0
- data/tests/illformed/entities/upper_Igrave.xml +0 -0
- data/tests/illformed/entities/upper_Iota.xml +0 -0
- data/tests/illformed/entities/upper_Iuml.xml +0 -0
- data/tests/illformed/entities/upper_Kappa.xml +0 -0
- data/tests/illformed/entities/upper_Lambda.xml +0 -0
- data/tests/illformed/entities/upper_Mu.xml +0 -0
- data/tests/illformed/entities/upper_Ntilde.xml +0 -0
- data/tests/illformed/entities/upper_Nu.xml +0 -0
- data/tests/illformed/entities/upper_OElig.xml +0 -0
- data/tests/illformed/entities/upper_Oacute.xml +0 -0
- data/tests/illformed/entities/upper_Ocirc.xml +0 -0
- data/tests/illformed/entities/upper_Ograve.xml +0 -0
- data/tests/illformed/entities/upper_Omega.xml +0 -0
- data/tests/illformed/entities/upper_Omicron.xml +0 -0
- data/tests/illformed/entities/upper_Oslash.xml +0 -0
- data/tests/illformed/entities/upper_Otilde.xml +0 -0
- data/tests/illformed/entities/upper_Ouml.xml +0 -0
- data/tests/illformed/entities/upper_Phi.xml +0 -0
- data/tests/illformed/entities/upper_Pi.xml +0 -0
- data/tests/illformed/entities/upper_Prime.xml +0 -0
- data/tests/illformed/entities/upper_Psi.xml +0 -0
- data/tests/illformed/entities/upper_Rho.xml +0 -0
- data/tests/illformed/entities/upper_Scaron.xml +0 -0
- data/tests/illformed/entities/upper_Sigma.xml +0 -0
- data/tests/illformed/entities/upper_THORN.xml +0 -0
- data/tests/illformed/entities/upper_Tau.xml +0 -0
- data/tests/illformed/entities/upper_Theta.xml +0 -0
- data/tests/illformed/entities/upper_Uacute.xml +0 -0
- data/tests/illformed/entities/upper_Ucirc.xml +0 -0
- data/tests/illformed/entities/upper_Ugrave.xml +0 -0
- data/tests/illformed/entities/upper_Upsilon.xml +0 -0
- data/tests/illformed/entities/upper_Uuml.xml +0 -0
- data/tests/illformed/entities/upper_Xi.xml +0 -0
- data/tests/illformed/entities/upper_Yacute.xml +0 -0
- data/tests/illformed/entities/upper_Yuml.xml +0 -0
- data/tests/illformed/entities/upper_Zeta.xml +0 -0
- data/tests/illformed/entities/upsih.xml +0 -0
- data/tests/illformed/entities/upsilon.xml +0 -0
- data/tests/illformed/entities/uuml.xml +0 -0
- data/tests/illformed/entities/weierp.xml +0 -0
- data/tests/illformed/entities/xi.xml +0 -0
- data/tests/illformed/entities/yacute.xml +0 -0
- data/tests/illformed/entities/yen.xml +0 -0
- data/tests/illformed/entities/yuml.xml +0 -0
- data/tests/illformed/entities/zeta.xml +0 -0
- data/tests/illformed/entities/zwj.xml +0 -0
- data/tests/illformed/entities/zwnj.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_block.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_block_false.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_block_no.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_block_true.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_block_uppercase.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_block_whitespace.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_category.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_category_nested.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_category_scheme.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_explicit.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_explicit_false.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_explicit_no.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_explicit_true.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_explicit_uppercase.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_explicit_whitespace.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_image.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_keywords.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_keywords_duplicate.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_keywords_duplicate_2.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_keywords_multiple.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_link_image.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_owner_email.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_owner_name.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_subtitle.xml +0 -0
- data/tests/illformed/itunes/itunes_channel_summary.xml +0 -0
- data/tests/illformed/itunes/itunes_core_element_uppercase.xml +0 -0
- data/tests/illformed/itunes/itunes_enclosure_url_maps_id.xml +0 -0
- data/tests/illformed/itunes/itunes_enclosure_url_maps_id_2.xml +0 -0
- data/tests/illformed/itunes/itunes_item_author_map_author.xml +0 -0
- data/tests/illformed/itunes/itunes_item_block.xml +0 -0
- data/tests/illformed/itunes/itunes_item_block_false.xml +0 -0
- data/tests/illformed/itunes/itunes_item_block_no.xml +0 -0
- data/tests/illformed/itunes/itunes_item_block_true.xml +0 -0
- data/tests/illformed/itunes/itunes_item_block_uppercase.xml +0 -0
- data/tests/illformed/itunes/itunes_item_block_whitespace.xml +0 -0
- data/tests/illformed/itunes/itunes_item_category.xml +0 -0
- data/tests/illformed/itunes/itunes_item_category_nested.xml +0 -0
- data/tests/illformed/itunes/itunes_item_category_scheme.xml +0 -0
- data/tests/illformed/itunes/itunes_item_duration.xml +0 -0
- data/tests/illformed/itunes/itunes_item_explicit.xml +0 -0
- data/tests/illformed/itunes/itunes_item_explicit_false.xml +0 -0
- data/tests/illformed/itunes/itunes_item_explicit_no.xml +0 -0
- data/tests/illformed/itunes/itunes_item_explicit_true.xml +0 -0
- data/tests/illformed/itunes/itunes_item_explicit_uppercase.xml +0 -0
- data/tests/illformed/itunes/itunes_item_explicit_whitespace.xml +0 -0
- data/tests/illformed/itunes/itunes_item_image.xml +0 -0
- data/tests/illformed/itunes/itunes_item_link_image.xml +0 -0
- data/tests/illformed/itunes/itunes_item_subtitle.xml +0 -0
- data/tests/illformed/itunes/itunes_item_summary.xml +0 -0
- data/tests/illformed/itunes/itunes_namespace.xml +0 -0
- data/tests/illformed/itunes/itunes_namespace_example.xml +0 -0
- data/tests/illformed/itunes/itunes_namespace_lowercase.xml +0 -0
- data/tests/illformed/itunes/itunes_namespace_uppercase.xml +0 -0
- data/tests/illformed/lang/channel_dc_language.xml +0 -0
- data/tests/illformed/lang/channel_language.xml +0 -0
- data/tests/illformed/lang/entry_content_xml_lang.xml +0 -0
- data/tests/illformed/lang/entry_content_xml_lang_inherit.xml +0 -0
- data/tests/illformed/lang/entry_content_xml_lang_inherit_2.xml +0 -0
- data/tests/illformed/lang/entry_content_xml_lang_inherit_3.xml +0 -0
- data/tests/illformed/lang/entry_content_xml_lang_inherit_4.xml +0 -0
- data/tests/illformed/lang/entry_summary_xml_lang.xml +0 -0
- data/tests/illformed/lang/entry_summary_xml_lang_inherit.xml +0 -0
- data/tests/illformed/lang/entry_summary_xml_lang_inherit_2.xml +0 -0
- data/tests/illformed/lang/entry_summary_xml_lang_inherit_3.xml +0 -0
- data/tests/illformed/lang/entry_summary_xml_lang_inherit_4.xml +0 -0
- data/tests/illformed/lang/entry_title_xml_lang.xml +0 -0
- data/tests/illformed/lang/entry_title_xml_lang_inherit.xml +0 -0
- data/tests/illformed/lang/entry_title_xml_lang_inherit_2.xml +0 -0
- data/tests/illformed/lang/entry_title_xml_lang_inherit_3.xml +0 -0
- data/tests/illformed/lang/entry_title_xml_lang_inherit_4.xml +0 -0
- data/tests/illformed/lang/feed_copyright_xml_lang.xml +0 -0
- data/tests/illformed/lang/feed_copyright_xml_lang_inherit.xml +0 -0
- data/tests/illformed/lang/feed_copyright_xml_lang_inherit_2.xml +0 -0
- data/tests/illformed/lang/feed_copyright_xml_lang_inherit_3.xml +0 -0
- data/tests/illformed/lang/feed_copyright_xml_lang_inherit_4.xml +0 -0
- data/tests/illformed/lang/feed_info_xml_lang.xml +0 -0
- data/tests/illformed/lang/feed_info_xml_lang_inherit.xml +0 -0
- data/tests/illformed/lang/feed_info_xml_lang_inherit_2.xml +0 -0
- data/tests/illformed/lang/feed_info_xml_lang_inherit_3.xml +0 -0
- data/tests/illformed/lang/feed_info_xml_lang_inherit_4.xml +0 -0
- data/tests/illformed/lang/feed_language.xml +0 -0
- data/tests/illformed/lang/feed_language_override.xml +0 -0
- data/tests/illformed/lang/feed_not_xml_lang.xml +0 -0
- data/tests/illformed/lang/feed_not_xml_lang_2.xml +0 -0
- data/tests/illformed/lang/feed_tagline_xml_lang.xml +0 -0
- data/tests/illformed/lang/feed_tagline_xml_lang_inherit.xml +0 -0
- data/tests/illformed/lang/feed_tagline_xml_lang_inherit_2.xml +0 -0
- data/tests/illformed/lang/feed_tagline_xml_lang_inherit_3.xml +0 -0
- data/tests/illformed/lang/feed_tagline_xml_lang_inherit_4.xml +0 -0
- data/tests/illformed/lang/feed_title_xml_lang.xml +0 -0
- data/tests/illformed/lang/feed_title_xml_lang_inherit.xml +0 -0
- data/tests/illformed/lang/feed_title_xml_lang_inherit_2.xml +0 -0
- data/tests/illformed/lang/feed_title_xml_lang_inherit_3.xml +0 -0
- data/tests/illformed/lang/feed_title_xml_lang_inherit_4.xml +0 -0
- data/tests/illformed/lang/feed_xml_lang.xml +0 -0
- data/tests/illformed/lang/http_content_language.xml +0 -0
- data/tests/illformed/lang/http_content_language_entry_title_inherit.xml +0 -0
- data/tests/illformed/lang/http_content_language_entry_title_inherit_2.xml +0 -0
- data/tests/illformed/lang/http_content_language_feed_language.xml +0 -0
- data/tests/illformed/lang/http_content_language_feed_xml_lang.xml +0 -0
- data/tests/illformed/lang/item_content_encoded_xml_lang.xml +0 -0
- data/tests/illformed/lang/item_content_encoded_xml_lang_inherit.xml +0 -0
- data/tests/illformed/lang/item_dc_language.xml +0 -0
- data/tests/illformed/lang/item_fullitem_xml_lang.xml +0 -0
- data/tests/illformed/lang/item_fullitem_xml_lang_inherit.xml +0 -0
- data/tests/illformed/lang/item_xhtml_body_xml_lang.xml +0 -0
- data/tests/illformed/lang/item_xhtml_body_xml_lang_inherit.xml +0 -0
- data/tests/illformed/namespace/undeclared_namespace.xml +0 -0
- data/tests/illformed/rdf/rdf_channel_empty_textinput.xml +0 -0
- data/tests/illformed/rdf/rdf_item_rdf_about.xml +0 -0
- data/tests/illformed/rdf/rss_version_10_not_default_ns.xml +0 -0
- data/tests/illformed/rss/channel_category.xml +0 -0
- data/tests/illformed/rss/channel_category_domain.xml +0 -0
- data/tests/illformed/rss/channel_category_multiple.xml +0 -0
- data/tests/illformed/rss/channel_category_multiple_2.xml +0 -0
- data/tests/illformed/rss/channel_dc_contributor.xml +0 -0
- data/tests/illformed/rss/channel_dc_publisher_email.xml +0 -0
- data/tests/illformed/rss/channel_dc_publisher_name.xml +0 -0
- data/tests/illformed/rss/channel_dc_subject.xml +0 -0
- data/tests/illformed/rss/channel_dc_subject_2.xml +0 -0
- data/tests/illformed/rss/channel_dc_subject_multiple.xml +0 -0
- data/tests/illformed/rss/channel_webMaster_email.xml +0 -0
- data/tests/illformed/rss/channel_webMaster_name.xml +0 -0
- data/tests/illformed/rss/item_category.xml +0 -0
- data/tests/illformed/rss/item_category_domain.xml +0 -0
- data/tests/illformed/rss/item_category_multiple.xml +0 -0
- data/tests/illformed/rss/item_category_multiple_2.xml +0 -0
- data/tests/illformed/rss/item_dc_contributor.xml +0 -0
- data/tests/illformed/rss/item_dc_publisher_email.xml +0 -0
- data/tests/illformed/rss/item_dc_publisher_name.xml +0 -0
- data/tests/illformed/rss/item_dc_subject.xml +0 -0
- data/tests/illformed/rss/item_dc_subject_2.xml +0 -0
- data/tests/illformed/rss/item_dc_subject_multiple.xml +0 -0
- data/tests/illformed/rss/item_description_and_summary.xml +0 -0
- data/tests/illformed/rss/item_description_br.xml +0 -0
- data/tests/illformed/rss/item_description_br_shorttag.xml +0 -0
- data/tests/illformed/rss/item_description_not_a_doctype.xml +0 -0
- data/tests/illformed/rss/item_guid_guidislink.xml +0 -0
- data/tests/illformed/rss/item_guid_isPermaLink_conflict_link_not_guidislink.xml +0 -0
- data/tests/illformed/rss/item_guid_isPermaLink_guidislink.xml +0 -0
- data/tests/illformed/rss/item_guid_not_permalink_not_guidislink.xml +0 -0
- data/tests/illformed/rss/item_guid_not_permalink_not_guidislink_2.xml +0 -0
- data/tests/illformed/rss/item_summary_and_description.xml +0 -0
- data/tests/rfeedparser_test_helper.rb +5 -11
- data/tests/rfeedparserserver.rb +0 -0
- data/tests/rfeedparsertest.rb +33 -19
- data/tests/rfponly/wellformed/date/feed_modified_with_negative_numeric_timezone.xml +0 -0
- data/tests/rfponly/wellformed/date/feed_modified_with_positive_numeric_timezone.xml +0 -0
- data/tests/rfponly/wellformed/date/w3dtf_second_fractions.xml +8 -0
- data/tests/to_skip.yml +25 -0
- data/tests/wellformed/atom10/atom10_namespace.xml +0 -0
- data/tests/wellformed/atom10/atom10_version.xml +0 -0
- data/tests/wellformed/atom10/entry_author_email.xml +0 -0
- data/tests/wellformed/atom10/entry_author_map_author.xml +0 -0
- data/tests/wellformed/atom10/entry_author_map_author_2.xml +0 -0
- data/tests/wellformed/atom10/entry_author_name.xml +0 -0
- data/tests/wellformed/atom10/entry_author_uri.xml +0 -0
- data/tests/wellformed/atom10/entry_author_url.xml +0 -0
- data/tests/wellformed/atom10/entry_category_label.xml +0 -0
- data/tests/wellformed/atom10/entry_category_scheme.xml +0 -0
- data/tests/wellformed/atom10/entry_category_term.xml +0 -0
- data/tests/wellformed/atom10/entry_content_application_xml.xml +0 -0
- data/tests/wellformed/atom10/entry_content_base64.xml +0 -0
- data/tests/wellformed/atom10/entry_content_base64_2.xml +0 -0
- data/tests/wellformed/atom10/entry_content_escaped_markup.xml +0 -0
- data/tests/wellformed/atom10/entry_content_inline_markup.xml +0 -0
- data/tests/wellformed/atom10/entry_content_inline_markup_2.xml +0 -0
- data/tests/wellformed/atom10/entry_content_src.xml +0 -0
- data/tests/wellformed/atom10/entry_content_text_plain.xml +0 -0
- data/tests/wellformed/atom10/entry_content_text_plain_brackets.xml +0 -0
- data/tests/wellformed/atom10/entry_content_type.xml +0 -0
- data/tests/wellformed/atom10/entry_content_type_text.xml +0 -0
- data/tests/wellformed/atom10/entry_content_value.xml +0 -0
- data/tests/wellformed/atom10/entry_contributor_email.xml +0 -0
- data/tests/wellformed/atom10/entry_contributor_multiple.xml +0 -0
- data/tests/wellformed/atom10/entry_contributor_name.xml +0 -0
- data/tests/wellformed/atom10/entry_contributor_uri.xml +0 -0
- data/tests/wellformed/atom10/entry_contributor_url.xml +0 -0
- data/tests/wellformed/atom10/entry_id.xml +0 -0
- data/tests/wellformed/atom10/entry_id_map_guid.xml +0 -0
- data/tests/wellformed/atom10/entry_id_no_normalization_1.xml +0 -0
- data/tests/wellformed/atom10/entry_id_no_normalization_2.xml +0 -0
- data/tests/wellformed/atom10/entry_id_no_normalization_3.xml +0 -0
- data/tests/wellformed/atom10/entry_id_no_normalization_4.xml +0 -0
- data/tests/wellformed/atom10/entry_id_no_normalization_5.xml +0 -0
- data/tests/wellformed/atom10/entry_id_no_normalization_6.xml +0 -0
- data/tests/wellformed/atom10/entry_id_no_normalization_7.xml +0 -0
- data/tests/wellformed/atom10/entry_link_alternate_map_link.xml +0 -0
- data/tests/wellformed/atom10/entry_link_alternate_map_link_2.xml +0 -0
- data/tests/wellformed/atom10/entry_link_alternate_map_link_3.xml +0 -0
- data/tests/wellformed/atom10/entry_link_href.xml +0 -0
- data/tests/wellformed/atom10/entry_link_hreflang.xml +0 -0
- data/tests/wellformed/atom10/entry_link_length.xml +0 -0
- data/tests/wellformed/atom10/entry_link_multiple.xml +0 -0
- data/tests/wellformed/atom10/entry_link_no_rel.xml +0 -0
- data/tests/wellformed/atom10/entry_link_rel.xml +0 -0
- data/tests/wellformed/atom10/entry_link_rel_enclosure.xml +0 -0
- data/tests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_length.xml +0 -0
- data/tests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_type.xml +0 -0
- data/tests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_url.xml +0 -0
- data/tests/wellformed/atom10/entry_link_rel_other.xml +0 -0
- data/tests/wellformed/atom10/entry_link_rel_related.xml +0 -0
- data/tests/wellformed/atom10/entry_link_rel_self.xml +0 -0
- data/tests/wellformed/atom10/entry_link_rel_via.xml +0 -0
- data/tests/wellformed/atom10/entry_link_title.xml +0 -0
- data/tests/wellformed/atom10/entry_link_type.xml +0 -0
- data/tests/wellformed/atom10/entry_rights.xml +0 -0
- data/tests/wellformed/atom10/entry_rights_content_value.xml +0 -0
- data/tests/wellformed/atom10/entry_rights_escaped_markup.xml +0 -0
- data/tests/wellformed/atom10/entry_rights_inline_markup.xml +0 -0
- data/tests/wellformed/atom10/entry_rights_inline_markup_2.xml +0 -0
- data/tests/wellformed/atom10/entry_rights_text_plain.xml +0 -0
- data/tests/wellformed/atom10/entry_rights_text_plain_brackets.xml +0 -0
- data/tests/wellformed/atom10/entry_rights_type_default.xml +0 -0
- data/tests/wellformed/atom10/entry_rights_type_text.xml +0 -0
- data/tests/wellformed/atom10/entry_source_author_email.xml +0 -0
- data/tests/wellformed/atom10/entry_source_author_map_author.xml +0 -0
- data/tests/wellformed/atom10/entry_source_author_map_author_2.xml +0 -0
- data/tests/wellformed/atom10/entry_source_author_name.xml +0 -0
- data/tests/wellformed/atom10/entry_source_author_uri.xml +0 -0
- data/tests/wellformed/atom10/entry_source_category_label.xml +0 -0
- data/tests/wellformed/atom10/entry_source_category_scheme.xml +0 -0
- data/tests/wellformed/atom10/entry_source_category_term.xml +0 -0
- data/tests/wellformed/atom10/entry_source_contributor_email.xml +0 -0
- data/tests/wellformed/atom10/entry_source_contributor_multiple.xml +0 -0
- data/tests/wellformed/atom10/entry_source_contributor_name.xml +0 -0
- data/tests/wellformed/atom10/entry_source_contributor_uri.xml +0 -0
- data/tests/wellformed/atom10/entry_source_generator.xml +0 -0
- data/tests/wellformed/atom10/entry_source_generator_name.xml +0 -0
- data/tests/wellformed/atom10/entry_source_generator_uri.xml +0 -0
- data/tests/wellformed/atom10/entry_source_generator_version.xml +0 -0
- data/tests/wellformed/atom10/entry_source_icon.xml +0 -0
- data/tests/wellformed/atom10/entry_source_id.xml +0 -0
- data/tests/wellformed/atom10/entry_source_link_alternate_map_link.xml +0 -0
- data/tests/wellformed/atom10/entry_source_link_alternate_map_link_2.xml +0 -0
- data/tests/wellformed/atom10/entry_source_link_href.xml +0 -0
- data/tests/wellformed/atom10/entry_source_link_hreflang.xml +0 -0
- data/tests/wellformed/atom10/entry_source_link_length.xml +0 -0
- data/tests/wellformed/atom10/entry_source_link_multiple.xml +0 -0
- data/tests/wellformed/atom10/entry_source_link_no_rel.xml +0 -0
- data/tests/wellformed/atom10/entry_source_link_rel.xml +0 -0
- data/tests/wellformed/atom10/entry_source_link_rel_other.xml +0 -0
- data/tests/wellformed/atom10/entry_source_link_rel_related.xml +0 -0
- data/tests/wellformed/atom10/entry_source_link_rel_self.xml +0 -0
- data/tests/wellformed/atom10/entry_source_link_rel_via.xml +0 -0
- data/tests/wellformed/atom10/entry_source_link_title.xml +0 -0
- data/tests/wellformed/atom10/entry_source_link_type.xml +0 -0
- data/tests/wellformed/atom10/entry_source_logo.xml +0 -0
- data/tests/wellformed/atom10/entry_source_rights.xml +0 -0
- data/tests/wellformed/atom10/entry_source_rights_base64.xml +0 -0
- data/tests/wellformed/atom10/entry_source_rights_base64_2.xml +0 -0
- data/tests/wellformed/atom10/entry_source_rights_content_type.xml +0 -0
- data/tests/wellformed/atom10/entry_source_rights_content_type_text.xml +0 -0
- data/tests/wellformed/atom10/entry_source_rights_content_value.xml +0 -0
- data/tests/wellformed/atom10/entry_source_rights_escaped_markup.xml +0 -0
- data/tests/wellformed/atom10/entry_source_rights_inline_markup.xml +0 -0
- data/tests/wellformed/atom10/entry_source_rights_inline_markup_2.xml +0 -0
- data/tests/wellformed/atom10/entry_source_rights_text_plain.xml +0 -0
- data/tests/wellformed/atom10/entry_source_subittle_content_type_text.xml +0 -0
- data/tests/wellformed/atom10/entry_source_subtitle.xml +0 -0
- data/tests/wellformed/atom10/entry_source_subtitle_base64.xml +0 -0
- data/tests/wellformed/atom10/entry_source_subtitle_base64_2.xml +0 -0
- data/tests/wellformed/atom10/entry_source_subtitle_content_type.xml +0 -0
- data/tests/wellformed/atom10/entry_source_subtitle_content_value.xml +0 -0
- data/tests/wellformed/atom10/entry_source_subtitle_escaped_markup.xml +0 -0
- data/tests/wellformed/atom10/entry_source_subtitle_inline_markup.xml +0 -0
- data/tests/wellformed/atom10/entry_source_subtitle_inline_markup_2.xml +0 -0
- data/tests/wellformed/atom10/entry_source_subtitle_text_plain.xml +0 -0
- data/tests/wellformed/atom10/entry_source_title.xml +0 -0
- data/tests/wellformed/atom10/entry_source_title_base64.xml +0 -0
- data/tests/wellformed/atom10/entry_source_title_base64_2.xml +0 -0
- data/tests/wellformed/atom10/entry_source_title_content_type.xml +0 -0
- data/tests/wellformed/atom10/entry_source_title_content_type_text.xml +0 -0
- data/tests/wellformed/atom10/entry_source_title_content_value.xml +0 -0
- data/tests/wellformed/atom10/entry_source_title_escaped_markup.xml +0 -0
- data/tests/wellformed/atom10/entry_source_title_inline_markup.xml +0 -0
- data/tests/wellformed/atom10/entry_source_title_inline_markup_2.xml +0 -0
- data/tests/wellformed/atom10/entry_source_title_text_plain.xml +0 -0
- data/tests/wellformed/atom10/entry_summary.xml +0 -0
- data/tests/wellformed/atom10/entry_summary_base64.xml +0 -0
- data/tests/wellformed/atom10/entry_summary_base64_2.xml +0 -0
- data/tests/wellformed/atom10/entry_summary_content_value.xml +0 -0
- data/tests/wellformed/atom10/entry_summary_escaped_markup.xml +0 -0
- data/tests/wellformed/atom10/entry_summary_inline_markup.xml +0 -0
- data/tests/wellformed/atom10/entry_summary_inline_markup_2.xml +0 -0
- data/tests/wellformed/atom10/entry_summary_text_plain.xml +0 -0
- data/tests/wellformed/atom10/entry_summary_type_default.xml +0 -0
- data/tests/wellformed/atom10/entry_summary_type_text.xml +0 -0
- data/tests/wellformed/atom10/entry_title.xml +0 -0
- data/tests/wellformed/atom10/entry_title_base64.xml +0 -0
- data/tests/wellformed/atom10/entry_title_base64_2.xml +0 -0
- data/tests/wellformed/atom10/entry_title_content_value.xml +0 -0
- data/tests/wellformed/atom10/entry_title_escaped_markup.xml +0 -0
- data/tests/wellformed/atom10/entry_title_inline_markup.xml +0 -0
- data/tests/wellformed/atom10/entry_title_inline_markup_2.xml +0 -0
- data/tests/wellformed/atom10/entry_title_text_plain.xml +0 -0
- data/tests/wellformed/atom10/entry_title_text_plain_brackets.xml +0 -0
- data/tests/wellformed/atom10/entry_title_type_default.xml +0 -0
- data/tests/wellformed/atom10/entry_title_type_text.xml +0 -0
- data/tests/wellformed/atom10/feed_author_email.xml +0 -0
- data/tests/wellformed/atom10/feed_author_map_author.xml +0 -0
- data/tests/wellformed/atom10/feed_author_map_author_2.xml +0 -0
- data/tests/wellformed/atom10/feed_author_name.xml +0 -0
- data/tests/wellformed/atom10/feed_author_uri.xml +0 -0
- data/tests/wellformed/atom10/feed_author_url.xml +0 -0
- data/tests/wellformed/atom10/feed_contributor_email.xml +0 -0
- data/tests/wellformed/atom10/feed_contributor_multiple.xml +0 -0
- data/tests/wellformed/atom10/feed_contributor_name.xml +0 -0
- data/tests/wellformed/atom10/feed_contributor_uri.xml +0 -0
- data/tests/wellformed/atom10/feed_contributor_url.xml +0 -0
- data/tests/wellformed/atom10/feed_generator.xml +0 -0
- data/tests/wellformed/atom10/feed_generator_name.xml +0 -0
- data/tests/wellformed/atom10/feed_generator_url.xml +0 -0
- data/tests/wellformed/atom10/feed_generator_version.xml +0 -0
- data/tests/wellformed/atom10/feed_icon.xml +0 -0
- data/tests/wellformed/atom10/feed_id.xml +0 -0
- data/tests/wellformed/atom10/feed_id_map_guid.xml +0 -0
- data/tests/wellformed/atom10/feed_link_alternate_map_link.xml +0 -0
- data/tests/wellformed/atom10/feed_link_alternate_map_link_2.xml +0 -0
- data/tests/wellformed/atom10/feed_link_href.xml +0 -0
- data/tests/wellformed/atom10/feed_link_hreflang.xml +0 -0
- data/tests/wellformed/atom10/feed_link_length.xml +0 -0
- data/tests/wellformed/atom10/feed_link_multiple.xml +0 -0
- data/tests/wellformed/atom10/feed_link_no_rel.xml +0 -0
- data/tests/wellformed/atom10/feed_link_rel.xml +0 -0
- data/tests/wellformed/atom10/feed_link_rel_other.xml +0 -0
- data/tests/wellformed/atom10/feed_link_rel_related.xml +0 -0
- data/tests/wellformed/atom10/feed_link_rel_self.xml +0 -0
- data/tests/wellformed/atom10/feed_link_rel_via.xml +0 -0
- data/tests/wellformed/atom10/feed_link_title.xml +0 -0
- data/tests/wellformed/atom10/feed_link_type.xml +0 -0
- data/tests/wellformed/atom10/feed_logo.xml +0 -0
- data/tests/wellformed/atom10/feed_rights.xml +0 -0
- data/tests/wellformed/atom10/feed_rights_base64.xml +0 -0
- data/tests/wellformed/atom10/feed_rights_base64_2.xml +0 -0
- data/tests/wellformed/atom10/feed_rights_content_type.xml +0 -0
- data/tests/wellformed/atom10/feed_rights_content_type_text.xml +0 -0
- data/tests/wellformed/atom10/feed_rights_content_value.xml +0 -0
- data/tests/wellformed/atom10/feed_rights_escaped_markup.xml +0 -0
- data/tests/wellformed/atom10/feed_rights_inline_markup.xml +0 -0
- data/tests/wellformed/atom10/feed_rights_inline_markup_2.xml +0 -0
- data/tests/wellformed/atom10/feed_rights_text_plain.xml +0 -0
- data/tests/wellformed/atom10/feed_subtitle.xml +0 -0
- data/tests/wellformed/atom10/feed_subtitle_base64.xml +0 -0
- data/tests/wellformed/atom10/feed_subtitle_base64_2.xml +0 -0
- data/tests/wellformed/atom10/feed_subtitle_content_type.xml +0 -0
- data/tests/wellformed/atom10/feed_subtitle_content_type_text.xml +0 -0
- data/tests/wellformed/atom10/feed_subtitle_content_value.xml +0 -0
- data/tests/wellformed/atom10/feed_subtitle_escaped_markup.xml +0 -0
- data/tests/wellformed/atom10/feed_subtitle_inline_markup.xml +0 -0
- data/tests/wellformed/atom10/feed_subtitle_inline_markup_2.xml +0 -0
- data/tests/wellformed/atom10/feed_subtitle_text_plain.xml +0 -0
- data/tests/wellformed/atom10/feed_title.xml +0 -0
- data/tests/wellformed/atom10/feed_title_base64.xml +0 -0
- data/tests/wellformed/atom10/feed_title_base64_2.xml +0 -0
- data/tests/wellformed/atom10/feed_title_content_type.xml +0 -0
- data/tests/wellformed/atom10/feed_title_content_type_text.xml +0 -0
- data/tests/wellformed/atom10/feed_title_content_value.xml +0 -0
- data/tests/wellformed/atom10/feed_title_escaped_markup.xml +0 -0
- data/tests/wellformed/atom10/feed_title_inline_markup.xml +0 -0
- data/tests/wellformed/atom10/feed_title_inline_markup_2.xml +0 -0
- data/tests/wellformed/atom10/feed_title_text_plain.xml +0 -0
- data/tests/wellformed/atom10/relative_uri.xml +0 -0
- data/tests/wellformed/atom10/relative_uri_inherit.xml +0 -0
- data/tests/wellformed/atom10/relative_uri_inherit_2.xml +0 -0
- data/tests/wellformed/base/entry_summary_xml_base.xml +0 -0
- data/tests/wellformed/base/entry_summary_xml_base_inherit.xml +0 -0
- data/tests/wellformed/base/entry_summary_xml_base_inherit_2.xml +0 -0
- data/tests/wellformed/base/entry_summary_xml_base_inherit_3.xml +0 -0
- data/tests/wellformed/base/entry_summary_xml_base_inherit_4.xml +0 -0
- data/tests/wellformed/base/entry_title_xml_base.xml +0 -0
- data/tests/wellformed/base/entry_title_xml_base_inherit.xml +0 -0
- data/tests/wellformed/base/entry_title_xml_base_inherit_2.xml +0 -0
- data/tests/wellformed/base/entry_title_xml_base_inherit_3.xml +0 -0
- data/tests/wellformed/base/entry_title_xml_base_inherit_4.xml +0 -0
- data/tests/wellformed/base/feed_copyright_xml_base.xml +0 -0
- data/tests/wellformed/base/feed_copyright_xml_base_inherit.xml +0 -0
- data/tests/wellformed/base/feed_copyright_xml_base_inherit_2.xml +0 -0
- data/tests/wellformed/base/feed_copyright_xml_base_inherit_3.xml +0 -0
- data/tests/wellformed/base/feed_copyright_xml_base_inherit_4.xml +0 -0
- data/tests/wellformed/base/feed_info_xml_base.xml +0 -0
- data/tests/wellformed/base/feed_info_xml_base_inherit.xml +0 -0
- data/tests/wellformed/base/feed_info_xml_base_inherit_2.xml +0 -0
- data/tests/wellformed/base/feed_info_xml_base_inherit_3.xml +0 -0
- data/tests/wellformed/base/feed_info_xml_base_inherit_4.xml +0 -0
- data/tests/wellformed/base/feed_tagline_xml_base.xml +0 -0
- data/tests/wellformed/base/feed_tagline_xml_base_inherit.xml +0 -0
- data/tests/wellformed/base/feed_tagline_xml_base_inherit_2.xml +0 -0
- data/tests/wellformed/base/feed_tagline_xml_base_inherit_3.xml +0 -0
- data/tests/wellformed/base/feed_tagline_xml_base_inherit_4.xml +0 -0
- data/tests/wellformed/base/feed_title_xml_base.xml +0 -0
- data/tests/wellformed/base/feed_title_xml_base_inherit.xml +0 -0
- data/tests/wellformed/base/feed_title_xml_base_inherit_2.xml +0 -0
- data/tests/wellformed/base/feed_title_xml_base_inherit_3.xml +0 -0
- data/tests/wellformed/base/feed_title_xml_base_inherit_4.xml +0 -0
- data/tests/wellformed/base/http_relative_xml_base.xml +0 -0
- data/tests/wellformed/base/http_relative_xml_base_2.xml +0 -0
- data/tests/wellformed/base/malformed_base.xml +0 -0
- data/tests/wellformed/base/relative_xml_base.xml +0 -0
- data/tests/wellformed/base/relative_xml_base_2.xml +0 -0
- data/tests/wellformed/date/channel_pubDate_greek_1.xml +0 -0
- data/tests/wellformed/date/channel_pubDate_hungarian_1.xml +0 -0
- data/tests/wellformed/date/channel_pubDate_korean_nate.xml +0 -0
- data/tests/wellformed/date/channel_pubDate_mssql.xml +0 -0
- data/tests/wellformed/date/channel_pubDate_mssql_nofraction.xml +0 -0
- data/tests/wellformed/date/channel_pubDate_nosecond.xml +0 -0
- data/tests/wellformed/date/channel_pubDate_notime.xml +0 -0
- data/tests/wellformed/date/entry_created.xml +0 -0
- data/tests/wellformed/date/entry_created_w3dtf_utc.xml +0 -0
- data/tests/wellformed/date/entry_issued.xml +0 -0
- data/tests/wellformed/date/entry_issued_w3dtf_utc.xml +0 -0
- data/tests/wellformed/date/entry_modified.xml +0 -0
- data/tests/wellformed/date/entry_modified_map_date.xml +0 -0
- data/tests/wellformed/date/entry_modified_w3dtf_utc.xml +0 -0
- data/tests/wellformed/date/entry_published_w3dtf_utc.xml +0 -0
- data/tests/wellformed/date/entry_source_updated_w3dtf_utc.xml +0 -0
- data/tests/wellformed/date/entry_updated_w3dtf_utc.xml +0 -0
- data/tests/wellformed/date/feed_modified.xml +0 -0
- data/tests/wellformed/date/feed_modified_asctime.xml +0 -0
- data/tests/wellformed/date/feed_modified_disney.xml +0 -0
- data/tests/wellformed/date/feed_modified_disney_at.xml +0 -0
- data/tests/wellformed/date/feed_modified_disney_ct.xml +0 -0
- data/tests/wellformed/date/feed_modified_disney_mt.xml +0 -0
- data/tests/wellformed/date/feed_modified_disney_pt.xml +0 -0
- data/tests/wellformed/date/feed_modified_iso8601_ym.xml +0 -0
- data/tests/wellformed/date/feed_modified_iso8601_ym_2.xml +0 -0
- data/tests/wellformed/date/feed_modified_iso8601_ymd.xml +0 -0
- data/tests/wellformed/date/feed_modified_iso8601_ymd_2.xml +0 -0
- data/tests/wellformed/date/feed_modified_iso8601_yo_2.xml +0 -0
- data/tests/wellformed/date/feed_modified_map_date.xml +0 -0
- data/tests/wellformed/date/feed_modified_rfc2822.xml +0 -0
- data/tests/wellformed/date/feed_modified_rfc2822_rollover_june_31.xml +0 -0
- data/tests/wellformed/date/feed_modified_rfc822.xml +0 -0
- data/tests/wellformed/date/feed_modified_w3dtf_rollover_leapyear.xml +0 -0
- data/tests/wellformed/date/feed_modified_w3dtf_rollover_leapyear400.xml +0 -0
- data/tests/wellformed/date/feed_modified_w3dtf_rollover_nonleapyear.xml +0 -0
- data/tests/wellformed/date/feed_modified_w3dtf_sf.xml +0 -0
- data/tests/wellformed/date/feed_modified_w3dtf_tokyo.xml +0 -0
- data/tests/wellformed/date/feed_modified_w3dtf_utc.xml +0 -0
- data/tests/wellformed/date/feed_modified_w3dtf_y.xml +0 -0
- data/tests/wellformed/date/feed_modified_w3dtf_ym.xml +0 -0
- data/tests/wellformed/date/feed_modified_w3dtf_ymd.xml +0 -0
- data/tests/wellformed/date/feed_modified_w3dtf_ymd_2.xml +0 -0
- data/tests/wellformed/date/feed_updated_w3dtf_utc.xml +0 -0
- data/tests/wellformed/date/item_pubDate_euc-kr.xml +0 -0
- data/tests/wellformed/encoding/encoding_attribute_crash.xml +0 -0
- data/tests/wellformed/encoding/encoding_attribute_crash_2.xml +0 -0
- data/tests/wellformed/encoding/euc-kr-attribute.xml +0 -0
- data/tests/wellformed/encoding/euc-kr-item.xml +0 -0
- data/tests/wellformed/encoding/euc-kr.xml +0 -0
- data/tests/wellformed/encoding/http_encoding_attribute_crash.xml +0 -0
- data/tests/wellformed/encoding/http_text_xml_bogus_charset.xml +0 -0
- data/tests/wellformed/encoding/http_text_xml_bogus_param.xml +0 -0
- data/tests/wellformed/encoding/http_text_xml_qs.xml +0 -0
- data/tests/wellformed/encoding/utf-16be-autodetect.xml +0 -0
- data/tests/wellformed/encoding/utf-16be-bom.xml +0 -0
- data/tests/wellformed/encoding/utf-16be.xml +0 -0
- data/tests/wellformed/encoding/utf-16le-autodetect.xml +0 -0
- data/tests/wellformed/encoding/utf-16le-bom.xml +0 -0
- data/tests/wellformed/encoding/utf-16le.xml +0 -0
- data/tests/wellformed/encoding/utf-8-bom.xml +0 -0
- data/tests/wellformed/encoding/x80_437.xml +0 -0
- data/tests/wellformed/encoding/x80_850.xml +0 -0
- data/tests/wellformed/encoding/x80_852.xml +0 -0
- data/tests/wellformed/encoding/x80_855.xml +0 -0
- data/tests/wellformed/encoding/x80_857.xml +0 -0
- data/tests/wellformed/encoding/x80_860.xml +0 -0
- data/tests/wellformed/encoding/x80_861.xml +0 -0
- data/tests/wellformed/encoding/x80_862.xml +0 -0
- data/tests/wellformed/encoding/x80_863.xml +0 -0
- data/tests/wellformed/encoding/x80_865.xml +0 -0
- data/tests/wellformed/encoding/x80_866.xml +0 -0
- data/tests/wellformed/encoding/x80_cp037.xml +0 -0
- data/tests/wellformed/encoding/x80_cp1125.xml +0 -0
- data/tests/wellformed/encoding/x80_cp1250.xml +0 -0
- data/tests/wellformed/encoding/x80_cp1251.xml +0 -0
- data/tests/wellformed/encoding/x80_cp1252.xml +0 -0
- data/tests/wellformed/encoding/x80_cp1253.xml +0 -0
- data/tests/wellformed/encoding/x80_cp1254.xml +0 -0
- data/tests/wellformed/encoding/x80_cp1255.xml +0 -0
- data/tests/wellformed/encoding/x80_cp1256.xml +0 -0
- data/tests/wellformed/encoding/x80_cp1257.xml +0 -0
- data/tests/wellformed/encoding/x80_cp1258.xml +0 -0
- data/tests/wellformed/encoding/x80_cp437.xml +0 -0
- data/tests/wellformed/encoding/x80_cp500.xml +0 -0
- data/tests/wellformed/encoding/x80_cp737.xml +0 -0
- data/tests/wellformed/encoding/x80_cp775.xml +0 -0
- data/tests/wellformed/encoding/x80_cp850.xml +0 -0
- data/tests/wellformed/encoding/x80_cp852.xml +0 -0
- data/tests/wellformed/encoding/x80_cp855.xml +0 -0
- data/tests/wellformed/encoding/x80_cp856.xml +0 -0
- data/tests/wellformed/encoding/x80_cp857.xml +0 -0
- data/tests/wellformed/encoding/x80_cp860.xml +0 -0
- data/tests/wellformed/encoding/x80_cp861.xml +0 -0
- data/tests/wellformed/encoding/x80_cp862.xml +0 -0
- data/tests/wellformed/encoding/x80_cp863.xml +0 -0
- data/tests/wellformed/encoding/x80_cp864.xml +0 -0
- data/tests/wellformed/encoding/x80_cp865.xml +0 -0
- data/tests/wellformed/encoding/x80_cp866.xml +0 -0
- data/tests/wellformed/encoding/x80_cp874.xml +0 -0
- data/tests/wellformed/encoding/x80_cp875.xml +0 -0
- data/tests/wellformed/encoding/x80_cp_is.xml +0 -0
- data/tests/wellformed/encoding/x80_csibm037.xml +0 -0
- data/tests/wellformed/encoding/x80_csibm500.xml +0 -0
- data/tests/wellformed/encoding/x80_csibm855.xml +0 -0
- data/tests/wellformed/encoding/x80_csibm857.xml +0 -0
- data/tests/wellformed/encoding/x80_csibm860.xml +0 -0
- data/tests/wellformed/encoding/x80_csibm861.xml +0 -0
- data/tests/wellformed/encoding/x80_csibm863.xml +0 -0
- data/tests/wellformed/encoding/x80_csibm864.xml +0 -0
- data/tests/wellformed/encoding/x80_csibm865.xml +0 -0
- data/tests/wellformed/encoding/x80_csibm866.xml +0 -0
- data/tests/wellformed/encoding/x80_cskoi8r.xml +0 -0
- data/tests/wellformed/encoding/x80_csmacintosh.xml +0 -0
- data/tests/wellformed/encoding/x80_cspc775baltic.xml +0 -0
- data/tests/wellformed/encoding/x80_cspc850multilingual.xml +0 -0
- data/tests/wellformed/encoding/x80_cspc862latinhebrew.xml +0 -0
- data/tests/wellformed/encoding/x80_cspc8codepage437.xml +0 -0
- data/tests/wellformed/encoding/x80_cspcp852.xml +0 -0
- data/tests/wellformed/encoding/x80_dbcs.xml +0 -0
- data/tests/wellformed/encoding/x80_ebcdic-cp-be.xml +0 -0
- data/tests/wellformed/encoding/x80_ebcdic-cp-ca.xml +0 -0
- data/tests/wellformed/encoding/x80_ebcdic-cp-ch.xml +0 -0
- data/tests/wellformed/encoding/x80_ebcdic-cp-nl.xml +0 -0
- data/tests/wellformed/encoding/x80_ebcdic-cp-us.xml +0 -0
- data/tests/wellformed/encoding/x80_ebcdic-cp-wt.xml +0 -0
- data/tests/wellformed/encoding/x80_ebcdic_cp_be.xml +0 -0
- data/tests/wellformed/encoding/x80_ebcdic_cp_ca.xml +0 -0
- data/tests/wellformed/encoding/x80_ebcdic_cp_ch.xml +0 -0
- data/tests/wellformed/encoding/x80_ebcdic_cp_nl.xml +0 -0
- data/tests/wellformed/encoding/x80_ebcdic_cp_us.xml +0 -0
- data/tests/wellformed/encoding/x80_ebcdic_cp_wt.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm037.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm039.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm1140.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm437.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm500.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm775.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm850.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm852.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm855.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm857.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm860.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm861.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm862.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm863.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm864.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm865.xml +0 -0
- data/tests/wellformed/encoding/x80_ibm866.xml +0 -0
- data/tests/wellformed/encoding/x80_koi8-r.xml +0 -0
- data/tests/wellformed/encoding/x80_koi8-t.xml +0 -0
- data/tests/wellformed/encoding/x80_koi8-u.xml +0 -0
- data/tests/wellformed/encoding/x80_mac-cyrillic.xml +0 -0
- data/tests/wellformed/encoding/x80_mac.xml +0 -0
- data/tests/wellformed/encoding/x80_maccentraleurope.xml +0 -0
- data/tests/wellformed/encoding/x80_maccyrillic.xml +0 -0
- data/tests/wellformed/encoding/x80_macgreek.xml +0 -0
- data/tests/wellformed/encoding/x80_maciceland.xml +0 -0
- data/tests/wellformed/encoding/x80_macintosh.xml +0 -0
- data/tests/wellformed/encoding/x80_maclatin2.xml +0 -0
- data/tests/wellformed/encoding/x80_macroman.xml +0 -0
- data/tests/wellformed/encoding/x80_macturkish.xml +0 -0
- data/tests/wellformed/encoding/x80_ms-ansi.xml +0 -0
- data/tests/wellformed/encoding/x80_ms-arab.xml +0 -0
- data/tests/wellformed/encoding/x80_ms-cyrl.xml +0 -0
- data/tests/wellformed/encoding/x80_ms-ee.xml +0 -0
- data/tests/wellformed/encoding/x80_ms-greek.xml +0 -0
- data/tests/wellformed/encoding/x80_ms-hebr.xml +0 -0
- data/tests/wellformed/encoding/x80_ms-turk.xml +0 -0
- data/tests/wellformed/encoding/x80_tcvn-5712.xml +0 -0
- data/tests/wellformed/encoding/x80_tcvn.xml +0 -0
- data/tests/wellformed/encoding/x80_tcvn5712-1.xml +0 -0
- data/tests/wellformed/encoding/x80_viscii.xml +0 -0
- data/tests/wellformed/encoding/x80_winbaltrim.xml +0 -0
- data/tests/wellformed/encoding/x80_windows-1250.xml +0 -0
- data/tests/wellformed/encoding/x80_windows-1251.xml +0 -0
- data/tests/wellformed/encoding/x80_windows-1252.xml +0 -0
- data/tests/wellformed/encoding/x80_windows-1253.xml +0 -0
- data/tests/wellformed/encoding/x80_windows-1254.xml +0 -0
- data/tests/wellformed/encoding/x80_windows-1255.xml +0 -0
- data/tests/wellformed/encoding/x80_windows-1256.xml +0 -0
- data/tests/wellformed/encoding/x80_windows-1257.xml +0 -0
- data/tests/wellformed/encoding/x80_windows-1258.xml +0 -0
- data/tests/wellformed/encoding/x80_windows_1250.xml +0 -0
- data/tests/wellformed/encoding/x80_windows_1251.xml +0 -0
- data/tests/wellformed/encoding/x80_windows_1252.xml +0 -0
- data/tests/wellformed/encoding/x80_windows_1253.xml +0 -0
- data/tests/wellformed/encoding/x80_windows_1254.xml +0 -0
- data/tests/wellformed/encoding/x80_windows_1255.xml +0 -0
- data/tests/wellformed/encoding/x80_windows_1256.xml +0 -0
- data/tests/wellformed/encoding/x80_windows_1257.xml +0 -0
- data/tests/wellformed/encoding/x80_windows_1258.xml +0 -0
- data/tests/wellformed/feedburner/feedburner_browserfriendly.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_block.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_block_false.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_block_no.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_block_true.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_block_uppercase.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_block_whitespace.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_category.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_category_nested.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_category_scheme.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_explicit.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_explicit_false.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_explicit_no.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_explicit_true.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_explicit_uppercase.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_explicit_whitespace.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_image.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_keywords.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_keywords_duplicate.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_keywords_duplicate_2.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_keywords_multiple.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_link_image.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_owner_email.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_owner_name.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_subtitle.xml +0 -0
- data/tests/wellformed/itunes/itunes_channel_summary.xml +0 -0
- data/tests/wellformed/itunes/itunes_core_element_uppercase.xml +0 -0
- data/tests/wellformed/itunes/itunes_enclosure_url_maps_id.xml +0 -0
- data/tests/wellformed/itunes/itunes_enclosure_url_maps_id_2.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_author_map_author.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_block.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_block_false.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_block_no.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_block_true.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_block_uppercase.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_block_whitespace.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_category.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_category_nested.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_category_scheme.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_duration.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_explicit.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_explicit_false.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_explicit_no.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_explicit_true.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_explicit_uppercase.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_explicit_whitespace.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_image.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_link_image.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_subtitle.xml +0 -0
- data/tests/wellformed/itunes/itunes_item_summary.xml +0 -0
- data/tests/wellformed/itunes/itunes_link_enclosure_maps_id.xml +0 -0
- data/tests/wellformed/itunes/itunes_link_enclosure_maps_id_2.xml +0 -0
- data/tests/wellformed/itunes/itunes_namespace.xml +0 -0
- data/tests/wellformed/itunes/itunes_namespace_example.xml +0 -0
- data/tests/wellformed/itunes/itunes_namespace_lowercase.xml +0 -0
- data/tests/wellformed/itunes/itunes_namespace_uppercase.xml +0 -0
- data/tests/wellformed/lang/entry_content_xml_lang_inherit.xml +0 -0
- data/tests/wellformed/lang/entry_content_xml_lang_inherit_2.xml +0 -0
- data/tests/wellformed/lang/entry_content_xml_lang_inherit_3.xml +0 -0
- data/tests/wellformed/lang/entry_content_xml_lang_inherit_4.xml +0 -0
- data/tests/wellformed/lang/entry_summary_xml_lang.xml +0 -0
- data/tests/wellformed/lang/entry_summary_xml_lang_inherit.xml +0 -0
- data/tests/wellformed/lang/entry_summary_xml_lang_inherit_2.xml +0 -0
- data/tests/wellformed/lang/entry_summary_xml_lang_inherit_3.xml +0 -0
- data/tests/wellformed/lang/entry_summary_xml_lang_inherit_4.xml +0 -0
- data/tests/wellformed/lang/entry_title_xml_lang.xml +0 -0
- data/tests/wellformed/lang/entry_title_xml_lang_inherit.xml +0 -0
- data/tests/wellformed/lang/entry_title_xml_lang_inherit_2.xml +0 -0
- data/tests/wellformed/lang/entry_title_xml_lang_inherit_3.xml +0 -0
- data/tests/wellformed/lang/entry_title_xml_lang_inherit_4.xml +0 -0
- data/tests/wellformed/lang/feed_copyright_xml_lang.xml +0 -0
- data/tests/wellformed/lang/feed_copyright_xml_lang_inherit.xml +0 -0
- data/tests/wellformed/lang/feed_copyright_xml_lang_inherit_2.xml +0 -0
- data/tests/wellformed/lang/feed_copyright_xml_lang_inherit_3.xml +0 -0
- data/tests/wellformed/lang/feed_copyright_xml_lang_inherit_4.xml +0 -0
- data/tests/wellformed/lang/feed_info_xml_lang.xml +0 -0
- data/tests/wellformed/lang/feed_info_xml_lang_inherit.xml +0 -0
- data/tests/wellformed/lang/feed_info_xml_lang_inherit_2.xml +0 -0
- data/tests/wellformed/lang/feed_info_xml_lang_inherit_3.xml +0 -0
- data/tests/wellformed/lang/feed_info_xml_lang_inherit_4.xml +0 -0
- data/tests/wellformed/lang/feed_language.xml +0 -0
- data/tests/wellformed/lang/feed_language_override.xml +0 -0
- data/tests/wellformed/lang/feed_not_xml_lang.xml +0 -0
- data/tests/wellformed/lang/feed_not_xml_lang_2.xml +0 -0
- data/tests/wellformed/lang/feed_tagline_xml_lang.xml +0 -0
- data/tests/wellformed/lang/feed_tagline_xml_lang_inherit.xml +0 -0
- data/tests/wellformed/lang/feed_tagline_xml_lang_inherit_2.xml +0 -0
- data/tests/wellformed/lang/feed_tagline_xml_lang_inherit_3.xml +0 -0
- data/tests/wellformed/lang/feed_tagline_xml_lang_inherit_4.xml +0 -0
- data/tests/wellformed/lang/feed_title_xml_lang.xml +0 -0
- data/tests/wellformed/lang/feed_title_xml_lang_inherit.xml +0 -0
- data/tests/wellformed/lang/feed_title_xml_lang_inherit_2.xml +0 -0
- data/tests/wellformed/lang/feed_title_xml_lang_inherit_3.xml +0 -0
- data/tests/wellformed/lang/feed_title_xml_lang_inherit_4.xml +0 -0
- data/tests/wellformed/lang/feed_xml_lang.xml +0 -0
- data/tests/wellformed/lang/http_content_language.xml +0 -0
- data/tests/wellformed/lang/http_content_language_entry_title_inherit.xml +0 -0
- data/tests/wellformed/lang/http_content_language_entry_title_inherit_2.xml +0 -0
- data/tests/wellformed/lang/http_content_language_feed_language.xml +0 -0
- data/tests/wellformed/lang/http_content_language_feed_xml_lang.xml +0 -0
- data/tests/wellformed/rdf/doctype_contains_entity_decl.xml +0 -0
- data/tests/wellformed/rdf/rdf_item_rdf_about.xml +0 -0
- data/tests/wellformed/rdf/rss_version_10_not_default_ns.xml +0 -0
- data/tests/wellformed/rss/channel_dc_contributor.xml +0 -0
- data/tests/wellformed/rss/channel_dc_publisher_email.xml +0 -0
- data/tests/wellformed/rss/channel_dc_publisher_name.xml +0 -0
- data/tests/wellformed/rss/channel_webMaster_email.xml +0 -0
- data/tests/wellformed/rss/channel_webMaster_name.xml +0 -0
- data/tests/wellformed/rss/item_dc_contributor.xml +0 -0
- data/tests/wellformed/rss/item_dc_publisher_email.xml +0 -0
- data/tests/wellformed/rss/item_dc_publisher_name.xml +0 -0
- data/tests/wellformed/rss/item_description_and_summary.xml +0 -0
- data/tests/wellformed/rss/item_description_br.xml +0 -0
- data/tests/wellformed/rss/item_description_br_shorttag.xml +0 -0
- data/tests/wellformed/rss/item_description_not_a_doctype.xml +0 -0
- data/tests/wellformed/rss/item_guid_guidislink.xml +0 -0
- data/tests/wellformed/rss/item_guid_isPermaLink_conflict_link_not_guidislink.xml +0 -0
- data/tests/wellformed/rss/item_guid_isPermaLink_guidislink.xml +0 -0
- data/tests/wellformed/rss/item_guid_not_permalink_not_guidislink.xml +0 -0
- data/tests/wellformed/rss/item_guid_not_permalink_not_guidislink_2.xml +0 -0
- data/tests/wellformed/rss/item_summary_and_description.xml +0 -0
- data/tests/wellformed/rss/item_title_not_media.xml +15 -0
- data/tests/wellformed/sanitize/entry_content_onload.xml +0 -0
- data/tests/wellformed/sanitize/entry_content_style.xml +0 -0
- data/tests/wellformed/sanitize/entry_summary_blink.xml +0 -0
- data/tests/wellformed/sanitize/entry_summary_onload.xml +0 -0
- data/tests/wellformed/sanitize/entry_summary_style.xml +0 -0
- data/tests/wellformed/sanitize/entry_title_blink.xml +0 -0
- data/tests/wellformed/sanitize/entry_title_onload.xml +0 -0
- data/tests/wellformed/sanitize/entry_title_style.xml +0 -0
- data/tests/wellformed/sanitize/feed_copyright_blink.xml +0 -0
- data/tests/wellformed/sanitize/feed_copyright_onload.xml +0 -0
- data/tests/wellformed/sanitize/feed_copyright_style.xml +0 -0
- data/tests/wellformed/sanitize/feed_info_blink.xml +0 -0
- data/tests/wellformed/sanitize/feed_info_onload.xml +0 -0
- data/tests/wellformed/sanitize/feed_info_style.xml +0 -0
- data/tests/wellformed/sanitize/feed_subtitle_blink.xml +0 -0
- data/tests/wellformed/sanitize/feed_subtitle_onload.xml +0 -0
- data/tests/wellformed/sanitize/feed_subtitle_style.xml +0 -0
- data/tests/wellformed/sanitize/feed_tagline_blink.xml +0 -0
- data/tests/wellformed/sanitize/feed_tagline_onload.xml +0 -0
- data/tests/wellformed/sanitize/feed_tagline_style.xml +0 -0
- data/tests/wellformed/sanitize/feed_title_blink.xml +0 -0
- data/tests/wellformed/sanitize/feed_title_onload.xml +0 -0
- data/tests/wellformed/sanitize/feed_title_style.xml +0 -0
- data/tests/wellformed/sanitize/item_body_blink.xml +0 -0
- data/tests/wellformed/sanitize/item_body_onload.xml +0 -0
- data/tests/wellformed/sanitize/item_body_style.xml +0 -0
- data/tests/wellformed/sanitize/item_content_encoded_blink.xml +0 -0
- data/tests/wellformed/sanitize/item_content_encoded_map_content.xml +0 -0
- data/tests/wellformed/sanitize/item_content_encoded_onload.xml +0 -0
- data/tests/wellformed/sanitize/item_content_encoded_script.xml +0 -0
- data/tests/wellformed/sanitize/item_content_encoded_style.xml +0 -0
- data/tests/wellformed/sanitize/item_description_blink.xml +0 -0
- data/tests/wellformed/sanitize/item_description_onload.xml +0 -0
- data/tests/wellformed/sanitize/item_description_script.xml +0 -0
- data/tests/wellformed/sanitize/item_description_script_map_summary.xml +0 -0
- data/tests/wellformed/sanitize/item_description_style.xml +0 -0
- data/tests/wellformed/sanitize/item_fullitem_blink.xml +0 -0
- data/tests/wellformed/sanitize/item_fullitem_onload.xml +0 -0
- data/tests/wellformed/sanitize/item_fullitem_style.xml +0 -0
- data/tests/wellformed/sanitize/item_xhtml_body_blink.xml +0 -0
- data/tests/wellformed/sanitize/item_xhtml_body_onload.xml +0 -0
- data/tests/wellformed/sanitize/item_xhtml_body_style.xml +0 -0
- metadata +120 -101
- data/lib/rfeedparser/forgiving_uri.rb +0 -953
- data/lib/rfeedparser/parsers.rb +0 -177
data/LICENSE
CHANGED
File without changes
|
data/README
CHANGED
@@ -1,27 +1,50 @@
|
|
1
|
-
Universal Feed Parser
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
1
|
+
= Universal Feed Parser
|
2
|
+
http://rfeedparser.rubyforge.org
|
3
|
+
Original Python code Copyright (c) 2002-5 by Mark Pilgrim
|
4
|
+
Ruby port by Jeff Hodges.
|
5
|
+
|
6
|
+
== Description
|
7
|
+
|
8
|
+
Parse nearly any RSS and Atom feeds in Ruby. 3000 unit tests. Open source.
|
9
|
+
|
10
|
+
== Installation
|
11
|
+
|
12
|
+
For Debian-based systems:
|
13
|
+
|
14
|
+
$ sudo apt-get install libxml-ruby1.8 # or libxml-parser-ruby1.8
|
15
|
+
|
16
|
+
TODO: dependency installation instructions for other platforms.
|
17
|
+
|
18
|
+
And then:
|
19
|
+
|
20
|
+
$ sudo gem install rfeedparser
|
21
|
+
|
22
|
+
Or for the latest development version:
|
23
|
+
|
24
|
+
$ git clone git://github.com/technomancy/rfeedparser.git
|
25
|
+
|
26
|
+
Dependencies on other gems are handled by rubygems, but rfeedparser
|
27
|
+
also relies on having bindings to a native XML parsing library. The
|
28
|
+
recommended choice is libxml, which is installable with the
|
29
|
+
libxml-ruby1.8 package in Debian-based systems. But it can also fall
|
30
|
+
back to expat (the libxml-parser-ruby1.8 Debian package) if libxml is
|
31
|
+
not installed.
|
32
|
+
|
33
|
+
== Usage
|
34
|
+
|
35
|
+
require 'rubygems' # may omit if installed manually
|
36
|
+
require 'rfeedparser'
|
37
|
+
|
38
|
+
feed = FeedParser.parse("some-feed-stream-filepath-or-url")
|
39
|
+
|
40
|
+
feed.entries.each do |e|
|
41
|
+
puts e.title
|
42
|
+
puts e.content
|
43
|
+
puts e.published
|
44
|
+
puts '----'
|
45
|
+
end
|
46
|
+
|
47
|
+
== Contributing
|
48
|
+
|
49
|
+
Clone the git repository at git://github.com/jmhodges/rfeedparser.git and
|
50
|
+
which has a webpage at http://github.com/jmhodges/rfeedparser/tree/master.
|
data/RUBY-TESTING
CHANGED
@@ -1,15 +1,18 @@
|
|
1
1
|
=== Testing rFeedParser ===
|
2
|
-
|
2
|
+
Simply run rake to run all of the FeedParser tests.
|
3
|
+
|
3
4
|
Optionally, you can start up rfeedparserserver.rb and, in another shell, run rfeedparser.rb
|
4
5
|
against "http://localhost:8097/tests/path/to/testcase.xml" if you want
|
5
6
|
to try a test individually. You can, of course, run rfeedparser.rb with
|
6
7
|
the file path to the testcase, but there may be HTTP headers required for
|
7
8
|
a successful run that can only be given by running rfeedparser against
|
8
9
|
the HTTP server path. I'll probably merge feedparserserver.rb into
|
9
|
-
rfeedparsertest.rb soon.
|
10
|
+
rfeedparsertest.rb soon. Note that there are many test failures that occur
|
11
|
+
solely because of problems with a platforms iconv installation. Inconsistency
|
12
|
+
in iconv is the leading cause of errors in rfp's test cases.
|
10
13
|
|
11
14
|
=== Last Count 20070321 ===
|
12
|
-
|
15
|
+
By my last count, rfeedparsertest.rb says that there are 45 assertions
|
13
16
|
that fail, and 4 that error out. I've included here a few tests that
|
14
17
|
"Failed, Sort Of". By that I mean, the behaviors the tests are meant to
|
15
18
|
check are correct, but the test fails because of some other superficial
|
data/lib/rfeedparser.rb
CHANGED
@@ -1,103 +1,107 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
|
2
|
+
# Universal feed parser in Ruby
|
3
|
+
#
|
4
|
+
# Handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds
|
5
|
+
#
|
6
|
+
# Visit http://feedparser.org/ for the latest version in Python
|
7
|
+
# Visit http://feedparser.org/docs/ for the latest documentation
|
8
|
+
# Email Jeff Hodges at jeff@somethingsimilar.com with questions
|
9
|
+
#
|
10
|
+
# Required: Ruby 1.8
|
3
11
|
|
4
|
-
Handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds
|
5
|
-
|
6
|
-
Visit http://feedparser.org/ for the latest version in Python
|
7
|
-
Visit http://feedparser.org/docs/ for the latest documentation
|
8
|
-
Email Jeff Hodges at jeff@obquo.com for questions
|
9
|
-
|
10
|
-
Required: Ruby 1.8
|
11
|
-
"""
|
12
12
|
$KCODE = 'UTF8'
|
13
13
|
require 'stringio'
|
14
14
|
require 'uri'
|
15
|
+
require 'open-uri'
|
15
16
|
require 'cgi' # escaping html
|
16
17
|
require 'time'
|
17
18
|
require 'pp'
|
18
|
-
require 'rubygems'
|
19
19
|
require 'base64'
|
20
20
|
require 'iconv'
|
21
|
+
require 'zlib'
|
22
|
+
|
23
|
+
require 'rubygems'
|
21
24
|
|
25
|
+
|
26
|
+
# If available, Nikolai's UTF-8 library will ease use of utf-8 documents.
|
27
|
+
# See http://git.bitwi.se/ruby-character-encodings.git/.
|
28
|
+
begin
|
29
|
+
gem 'character-encodings', ">=0.2.0"
|
30
|
+
require 'encoding/character/utf-8'
|
31
|
+
rescue LoadError
|
32
|
+
end
|
33
|
+
|
34
|
+
# TODO: require these in the files that need them, not in the toplevel
|
22
35
|
gem 'hpricot', "=0.6"
|
23
36
|
require 'hpricot'
|
24
|
-
|
37
|
+
|
25
38
|
gem 'htmltools', ">=1.10"
|
39
|
+
require 'html/sgml-parser'
|
40
|
+
|
26
41
|
gem 'htmlentities', ">=4.0.0"
|
27
|
-
|
28
|
-
gem 'rchardet', ">=1.0"
|
42
|
+
require 'htmlentities'
|
29
43
|
|
30
|
-
|
44
|
+
gem 'addressable', ">= 1.0.4"
|
45
|
+
require 'addressable/uri'
|
31
46
|
|
47
|
+
gem 'rchardet', ">=1.0"
|
32
48
|
require 'rchardet'
|
33
49
|
$chardet = true
|
34
50
|
|
35
|
-
require 'encoding/character/utf-8'
|
36
|
-
require 'html/sgml-parser'
|
37
|
-
require 'htmlentities'
|
38
|
-
require 'active_support'
|
39
|
-
require 'open-uri'
|
40
|
-
include OpenURI
|
41
|
-
|
42
51
|
$debug = false
|
43
52
|
$compatible = true
|
44
53
|
|
45
|
-
$LOAD_PATH
|
54
|
+
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__))
|
46
55
|
require 'rfeedparser/utilities'
|
47
|
-
require 'rfeedparser/forgiving_uri'
|
48
56
|
require 'rfeedparser/better_sgmlparser'
|
49
57
|
require 'rfeedparser/better_attributelist'
|
50
58
|
require 'rfeedparser/feedparserdict'
|
51
59
|
require 'rfeedparser/parser_mixin'
|
52
|
-
require 'rfeedparser/parsers'
|
53
60
|
|
61
|
+
require 'rfeedparser/loose_feed_parser'
|
54
62
|
|
63
|
+
begin
|
64
|
+
require 'rfeedparser/expat_parser'
|
65
|
+
StrictFeedParser = FeedParser::Expat::StrictFeedParser
|
66
|
+
|
67
|
+
rescue LoadError, NameError
|
68
|
+
STDERR.puts "Could not load expat; trying libxml."
|
69
|
+
|
70
|
+
begin
|
71
|
+
require 'rfeedparser/libxml_parser'
|
72
|
+
StrictFeedParser = FeedParser::LibXML::StrictFeedParser
|
55
73
|
|
74
|
+
rescue LoadError, NameError
|
75
|
+
StrictFeedParser = nil
|
76
|
+
STDERR.puts "Could not load libxml either; will use loose parser."
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
require 'rfeedparser/monkey_patches'
|
56
81
|
|
57
82
|
module FeedParser
|
58
83
|
extend FeedParserUtilities
|
59
84
|
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
|
74
|
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
75
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
76
|
-
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
77
|
-
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
78
|
-
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
79
|
-
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
80
|
-
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
81
|
-
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
82
|
-
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
83
|
-
POSSIBILITY OF SUCH DAMAGE."""
|
84
|
-
|
85
|
-
Translator_From_Python_To_Ruby = "Jeff Hodges <http://somethingsimilar.com>"
|
86
|
-
Author = "Mark Pilgrim <http://diveintomark.org/>"
|
87
|
-
Contributors = [ "Jason Diamond <http://injektilo.org/>",
|
88
|
-
"John Beimler <http://john.beimler.org/>",
|
89
|
-
"Fazal Majid <http://www.majid.info/mylos/weblog/>",
|
90
|
-
"Aaron Swartz <http://aaronsw.com/>",
|
91
|
-
"Kevin Marks <http://epeus.blogspot.com/>",
|
92
|
-
"Jesse Newland <http://jnewland.com/>"
|
93
|
-
]
|
85
|
+
VERSION = "0.9.950"
|
86
|
+
|
87
|
+
AUTHOR = "Mark Pilgrim <http://diveintomark.org/>"
|
88
|
+
PORTER = "Jeff Hodges <http://somethingsimilar.com>"
|
89
|
+
CONTRIBUTERS = ["Jason Diamond <http://injektilo.org/>",
|
90
|
+
"John Beimler <http://john.beimler.org/>",
|
91
|
+
"Fazal Majid <http://www.majid.info/mylos/weblog/>",
|
92
|
+
"Aaron Swartz <http://aaronsw.com/>",
|
93
|
+
"Kevin Marks <http://epeus.blogspot.com/>",
|
94
|
+
"Jesse Newland <http://jnewland.com/>",
|
95
|
+
"Charlie Savage <http://cfis.savagexi.com/>",
|
96
|
+
"Phil Hagelberg <http://technomancy.us>"]
|
97
|
+
|
94
98
|
# HTTP "User-Agent" header to send to servers when downloading feeds.
|
95
99
|
# If you are embedding feedparser in a larger application, you should
|
96
100
|
# change this to your application name and URL.
|
97
|
-
USER_AGENT = "rFeedParser/#{
|
101
|
+
USER_AGENT = "rFeedParser/#{VERSION} +http://rfeedparser.rubyforge.org/"
|
98
102
|
|
99
103
|
# HTTP "Accept" header to send to servers when downloading feeds. If you don't
|
100
|
-
# want to send an Accept header, set this to
|
104
|
+
# want to send an Accept header, set this to nil.
|
101
105
|
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"
|
102
106
|
|
103
107
|
|
@@ -112,7 +116,7 @@ module FeedParser
|
|
112
116
|
|
113
117
|
|
114
118
|
# ---------- don't touch these ----------
|
115
|
-
class ThingsNobodyCaresAboutButMe <
|
119
|
+
class ThingsNobodyCaresAboutButMe < StandardError
|
116
120
|
end
|
117
121
|
class CharacterEncodingOverride < ThingsNobodyCaresAboutButMe
|
118
122
|
end
|
@@ -120,7 +124,7 @@ module FeedParser
|
|
120
124
|
end
|
121
125
|
class NonXMLContentType < ThingsNobodyCaresAboutButMe
|
122
126
|
end
|
123
|
-
class UndeclaredNamespace <
|
127
|
+
class UndeclaredNamespace < StandardError
|
124
128
|
end
|
125
129
|
|
126
130
|
|
@@ -158,14 +162,14 @@ module FeedParser
|
|
158
162
|
url_file_stream_or_string.strip!
|
159
163
|
|
160
164
|
|
161
|
-
|
162
|
-
if
|
165
|
+
uri = Addressable::URI.parse(url_file_stream_or_string)
|
166
|
+
if uri && ['http','https','ftp'].include?(uri.scheme)
|
163
167
|
auth = nil
|
164
168
|
|
165
|
-
if
|
166
|
-
auth = Base64::encode64("#{
|
167
|
-
|
168
|
-
url_file_stream_or_string =
|
169
|
+
if uri.host && uri.password
|
170
|
+
auth = Base64::encode64("#{uri.user}:#{uri.password}").strip
|
171
|
+
uri.password = nil
|
172
|
+
url_file_stream_or_string = uri.to_s
|
169
173
|
end
|
170
174
|
|
171
175
|
req_headers = {}
|
@@ -212,7 +216,7 @@ module FeedParser
|
|
212
216
|
|
213
217
|
# Use the default compatibility if compatible is nil
|
214
218
|
$compatible = options[:compatible].nil? ? $compatible : options[:compatible]
|
215
|
-
|
219
|
+
|
216
220
|
strictklass = options[:strict] || StrictFeedParser
|
217
221
|
looseklass = options[:loose] || LooseFeedParser
|
218
222
|
options[:handlers] = options[:handlers] || []
|
@@ -233,7 +237,7 @@ module FeedParser
|
|
233
237
|
f = nil
|
234
238
|
end
|
235
239
|
|
236
|
-
if f and !data.
|
240
|
+
if f and !(data.nil? || data.empty?) and f.respond_to?(:meta)
|
237
241
|
# if feed is gzip-compressed, decompress it
|
238
242
|
if f.meta['content-encoding'] == 'gzip'
|
239
243
|
begin
|
@@ -285,17 +289,20 @@ module FeedParser
|
|
285
289
|
# - result['encoding'] is the actual encoding, as per RFC 3023 and a variety of other conflicting specifications
|
286
290
|
http_headers = result['headers'] || {}
|
287
291
|
result['encoding'], http_encoding, xml_encoding, sniffed_xml_encoding, acceptable_content_type =
|
288
|
-
getCharacterEncoding(http_headers,data)
|
292
|
+
getCharacterEncoding(http_headers, data)
|
293
|
+
|
289
294
|
|
290
|
-
if
|
291
|
-
|
295
|
+
if !(http_headers.nil? || http_headers.empty?) && !acceptable_content_type
|
296
|
+
if http_headers['content-type']
|
292
297
|
bozo_message = "#{http_headers['content-type']} is not an XML media type"
|
293
298
|
else
|
294
299
|
bozo_message = 'no Content-type specified'
|
295
300
|
end
|
301
|
+
|
296
302
|
result['bozo'] = true
|
297
303
|
result['bozo_exception'] = NonXMLContentType.new(bozo_message) # I get to care about this, cuz Mark says I should.
|
298
304
|
end
|
305
|
+
|
299
306
|
result['version'], data = stripDoctype(data)
|
300
307
|
|
301
308
|
baseuri = http_headers['content-location'] || result['href']
|
@@ -331,6 +338,7 @@ module FeedParser
|
|
331
338
|
rescue
|
332
339
|
end
|
333
340
|
end
|
341
|
+
|
334
342
|
# if no luck and we have auto-detection library, try that
|
335
343
|
if not known_encoding and $chardet
|
336
344
|
begin
|
@@ -344,8 +352,6 @@ module FeedParser
|
|
344
352
|
end
|
345
353
|
end
|
346
354
|
|
347
|
-
|
348
|
-
|
349
355
|
# if still no luck and we haven't tried utf-8 yet, try that
|
350
356
|
if not known_encoding and not tried_encodings.include?'utf-8'
|
351
357
|
begin
|
@@ -356,6 +362,7 @@ module FeedParser
|
|
356
362
|
rescue
|
357
363
|
end
|
358
364
|
end
|
365
|
+
|
359
366
|
# if still no luck and we haven't tried windows-1252 yet, try that
|
360
367
|
if not known_encoding and not tried_encodings.include?'windows-1252'
|
361
368
|
begin
|
@@ -366,7 +373,7 @@ module FeedParser
|
|
366
373
|
rescue
|
367
374
|
end
|
368
375
|
end
|
369
|
-
|
376
|
+
|
370
377
|
# NOTE this isn't in FeedParser.py 4.1
|
371
378
|
# if still no luck and we haven't tried iso-8859-2 yet, try that.
|
372
379
|
#if not known_encoding and not tried_encodings.include?'iso-8859-2'
|
@@ -391,34 +398,28 @@ module FeedParser
|
|
391
398
|
result['encoding'] = proposed_encoding
|
392
399
|
end
|
393
400
|
|
401
|
+
use_strict_parser = false unless StrictFeedParser
|
402
|
+
|
394
403
|
if use_strict_parser
|
395
|
-
# initialize the SAX parser
|
396
|
-
saxparser = XML::SAX::Helpers::ParserFactory.makeParser("XML::Parser::SAXDriver")
|
397
|
-
feedparser = strictklass.new(baseuri, baselang, 'utf-8')
|
398
|
-
saxparser.setDocumentHandler(feedparser)
|
399
|
-
saxparser.setDTDHandler(feedparser)
|
400
|
-
saxparser.setEntityResolver(feedparser)
|
401
|
-
saxparser.setErrorHandler(feedparser)
|
402
|
-
|
403
|
-
inputdata = XML::SAX::InputSource.new('parsedfeed')
|
404
|
-
inputdata.setByteStream(StringIO.new(data))
|
405
404
|
begin
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
405
|
+
parser = StrictFeedParser.new(baseuri, baselang)
|
406
|
+
feedparser = parser.handler
|
407
|
+
parser.parse(data)
|
408
|
+
|
409
|
+
rescue => err
|
410
|
+
$stderr << "xml parsing failed: #{err.message}\n#{err.backtrace.join("\n")}" if $debug
|
412
411
|
result['bozo'] = true
|
413
412
|
result['bozo_exception'] = feedparser.exc || e
|
414
413
|
use_strict_parser = false
|
415
414
|
end
|
416
415
|
end
|
416
|
+
|
417
417
|
if not use_strict_parser
|
418
418
|
$stderr << "Using LooseFeed\n\n" if $debug
|
419
419
|
feedparser = looseklass.new(baseuri, baselang, (known_encoding and 'utf-8' or ''))
|
420
420
|
feedparser.parse(data)
|
421
421
|
end
|
422
|
+
|
422
423
|
result['feed'] = feedparser.feeddata
|
423
424
|
result['entries'] = feedparser.entries
|
424
425
|
result['version'] = result['version'] || feedparser.version
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
|
4
|
-
class BetterSGMLParserError <
|
4
|
+
class BetterSGMLParserError < StandardError; end;
|
5
5
|
class BetterSGMLParser < HTML::SGMLParser
|
6
6
|
# Replaced Tagfind and Charref Regexps with the ones in feedparser.py
|
7
7
|
# This makes things work.
|
@@ -35,12 +35,14 @@ module FeedParserUtilities
|
|
35
35
|
true_encoding = nil
|
36
36
|
|
37
37
|
http_content_type, charset = http_headers['content-type'].to_s.split(';',2)
|
38
|
+
|
38
39
|
encoding_regexp = /\s*charset\s*=\s*(?:"|')?(.*?)(?:"|')?\s*$/
|
39
40
|
http_encoding = charset.to_s.scan(encoding_regexp).flatten[0]
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
41
|
+
|
42
|
+
http_encoding = nil if http_encoding && http_encoding.empty?
|
43
|
+
# FIXME Open-Uri returns iso8859-1 if there is no charset header,
|
44
|
+
# but that doesn't pass the tests. Open-Uri claims its following
|
45
|
+
# the right RFC. Are they wrong or do we need to change the tests?
|
44
46
|
|
45
47
|
# Must sniff for non-ASCII-compatible character encodings before
|
46
48
|
# searching for XML declaration. This heuristic is defined in
|
@@ -224,14 +226,19 @@ unless defined?(Builder::XChar)
|
|
224
226
|
62 => '>' # right angle bracket
|
225
227
|
}
|
226
228
|
# http://www.w3.org/TR/REC-xml/#charsets
|
227
|
-
VALID = [
|
228
|
-
|
229
|
+
VALID = [
|
230
|
+
0x9, 0xA, 0xD,
|
231
|
+
(0x20..0xD7FF),
|
232
|
+
(0xE000..0xFFFD),
|
233
|
+
(0x10000..0x10FFFF)
|
234
|
+
]
|
229
235
|
end
|
230
236
|
|
231
237
|
class Fixnum
|
232
238
|
# xml escaped version of chr
|
233
239
|
def xchr
|
234
240
|
n = XChar::CP1252[self] || self
|
241
|
+
|
235
242
|
case n when *XChar::VALID
|
236
243
|
XChar::PREDEFINED[n] or (n<128 ? n.chr : "&##{n};")
|
237
244
|
else
|
@@ -241,11 +248,10 @@ unless defined?(Builder::XChar)
|
|
241
248
|
end
|
242
249
|
|
243
250
|
class String
|
244
|
-
|
245
|
-
def to_xs
|
251
|
+
def to_xs
|
246
252
|
unpack('U*').map {|n| n.xchr}.join # ASCII, UTF-8
|
247
253
|
rescue
|
248
254
|
unpack('C*').map {|n| n.xchr}.join # ISO-8859-1, WIN-1252
|
249
255
|
end
|
250
256
|
end
|
251
|
-
end
|
257
|
+
end
|