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
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!--
|
2
|
+
Description: RSS CNN Media feed with media title
|
3
|
+
Expect: entries[0]['title'] == 'the correct title'
|
4
|
+
-->
|
5
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
6
|
+
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
|
7
|
+
<channel>
|
8
|
+
<item>
|
9
|
+
<title>the correct title</title>
|
10
|
+
<media:content url="http://i.l.cnn.net/image.jpg" medium="image">
|
11
|
+
<media:title type="html">media title</media:title>
|
12
|
+
</media:content>
|
13
|
+
</item>
|
14
|
+
</channel>
|
15
|
+
</rss>
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,44 +1,110 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.4
|
3
|
-
specification_version: 1
|
4
2
|
name: rfeedparser
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.9.
|
7
|
-
date: 2007-11-03 00:00:00 -07:00
|
8
|
-
summary: Parse RSS and Atom feeds in Ruby
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: jeff at somethingsimilar dot com
|
12
|
-
homepage: http://rfeedparser.rubyforge.org/
|
13
|
-
rubyforge_project: rfeedparser
|
14
|
-
description:
|
15
|
-
autorequire:
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: false
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
4
|
+
version: 0.9.950
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
6
|
authors:
|
30
7
|
- Jeff Hodges
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-07-28 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rchardet
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "1.1"
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: hpricot
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: "0.6"
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: character-encodings
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.2.0
|
44
|
+
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: htmltools
|
47
|
+
type: :runtime
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: "1.10"
|
54
|
+
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: htmlentities
|
57
|
+
type: :runtime
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 4.0.0
|
64
|
+
version:
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: mongrel
|
67
|
+
type: :runtime
|
68
|
+
version_requirement:
|
69
|
+
version_requirements: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 1.0.1
|
74
|
+
version:
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: addressable
|
77
|
+
type: :runtime
|
78
|
+
version_requirement:
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 1.0.4
|
84
|
+
version:
|
85
|
+
description:
|
86
|
+
email: jeff at somethingsimilar dot com
|
87
|
+
executables: []
|
88
|
+
|
89
|
+
extensions: []
|
90
|
+
|
91
|
+
extra_rdoc_files:
|
92
|
+
- README
|
93
|
+
- LICENSE
|
94
|
+
- RUBY-TESTING
|
31
95
|
files:
|
32
96
|
- lib/rfeedparser
|
33
97
|
- lib/rfeedparser/aliases.rb
|
34
98
|
- lib/rfeedparser/better_attributelist.rb
|
35
99
|
- lib/rfeedparser/better_sgmlparser.rb
|
36
100
|
- lib/rfeedparser/encoding_helpers.rb
|
101
|
+
- lib/rfeedparser/expat_parser.rb
|
37
102
|
- lib/rfeedparser/feedparserdict.rb
|
38
|
-
- lib/rfeedparser/
|
103
|
+
- lib/rfeedparser/libxml_parser.rb
|
104
|
+
- lib/rfeedparser/loose_feed_parser.rb
|
39
105
|
- lib/rfeedparser/markup_helpers.rb
|
106
|
+
- lib/rfeedparser/monkey_patches.rb
|
40
107
|
- lib/rfeedparser/parser_mixin.rb
|
41
|
-
- lib/rfeedparser/parsers.rb
|
42
108
|
- lib/rfeedparser/scrub.rb
|
43
109
|
- lib/rfeedparser/time_helpers.rb
|
44
110
|
- lib/rfeedparser/utilities.rb
|
@@ -1850,11 +1916,13 @@ files:
|
|
1850
1916
|
- tests/rfponly/wellformed/date
|
1851
1917
|
- tests/rfponly/wellformed/date/feed_modified_with_negative_numeric_timezone.xml
|
1852
1918
|
- tests/rfponly/wellformed/date/feed_modified_with_positive_numeric_timezone.xml
|
1919
|
+
- tests/rfponly/wellformed/date/w3dtf_second_fractions.xml
|
1853
1920
|
- tests/rfponly/wellformed/mrss
|
1854
1921
|
- tests/rfponly/wellformed/mrss/mrss_media_content.xml
|
1855
1922
|
- tests/rfponly/wellformed/mrss/mrss_thumbnail.xml
|
1856
1923
|
- tests/rfponly/wellformed/scrub
|
1857
1924
|
- tests/rfponly/wellformed/scrub/hpricot_self_closing_tag_workaround.xml
|
1925
|
+
- tests/to_skip.yml
|
1858
1926
|
- tests/wellformed
|
1859
1927
|
- tests/wellformed/amp
|
1860
1928
|
- tests/wellformed/amp/amp01.xml
|
@@ -2999,6 +3067,7 @@ files:
|
|
2999
3067
|
- tests/wellformed/rss/item_source_url.xml
|
3000
3068
|
- tests/wellformed/rss/item_summary_and_description.xml
|
3001
3069
|
- tests/wellformed/rss/item_title.xml
|
3070
|
+
- tests/wellformed/rss/item_title_not_media.xml
|
3002
3071
|
- tests/wellformed/rss/item_xhtml_body.xml
|
3003
3072
|
- tests/wellformed/rss/item_xhtml_body_mode.xml
|
3004
3073
|
- tests/wellformed/rss/item_xhtml_body_type.xml
|
@@ -3437,81 +3506,31 @@ files:
|
|
3437
3506
|
- README
|
3438
3507
|
- LICENSE
|
3439
3508
|
- RUBY-TESTING
|
3440
|
-
|
3441
|
-
|
3509
|
+
has_rdoc: false
|
3510
|
+
homepage: http://rfeedparser.rubyforge.org/
|
3511
|
+
post_install_message:
|
3442
3512
|
rdoc_options: []
|
3443
3513
|
|
3444
|
-
|
3445
|
-
-
|
3446
|
-
|
3447
|
-
|
3448
|
-
|
3449
|
-
|
3450
|
-
|
3451
|
-
|
3514
|
+
require_paths:
|
3515
|
+
- lib
|
3516
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
3517
|
+
requirements:
|
3518
|
+
- - ">="
|
3519
|
+
- !ruby/object:Gem::Version
|
3520
|
+
version: "0"
|
3521
|
+
version:
|
3522
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
3523
|
+
requirements:
|
3524
|
+
- - ">="
|
3525
|
+
- !ruby/object:Gem::Version
|
3526
|
+
version: "0"
|
3527
|
+
version:
|
3452
3528
|
requirements:
|
3453
|
-
-
|
3454
|
-
|
3455
|
-
|
3456
|
-
|
3457
|
-
|
3458
|
-
|
3459
|
-
|
3460
|
-
|
3461
|
-
- !ruby/object:Gem::Version
|
3462
|
-
version: "1.1"
|
3463
|
-
version:
|
3464
|
-
- !ruby/object:Gem::Dependency
|
3465
|
-
name: activesupport
|
3466
|
-
version_requirement:
|
3467
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
3468
|
-
requirements:
|
3469
|
-
- - ">="
|
3470
|
-
- !ruby/object:Gem::Version
|
3471
|
-
version: 1.4.1
|
3472
|
-
version:
|
3473
|
-
- !ruby/object:Gem::Dependency
|
3474
|
-
name: hpricot
|
3475
|
-
version_requirement:
|
3476
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
3477
|
-
requirements:
|
3478
|
-
- - "="
|
3479
|
-
- !ruby/object:Gem::Version
|
3480
|
-
version: "0.6"
|
3481
|
-
version:
|
3482
|
-
- !ruby/object:Gem::Dependency
|
3483
|
-
name: character-encodings
|
3484
|
-
version_requirement:
|
3485
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
3486
|
-
requirements:
|
3487
|
-
- - ">="
|
3488
|
-
- !ruby/object:Gem::Version
|
3489
|
-
version: "0.2"
|
3490
|
-
version:
|
3491
|
-
- !ruby/object:Gem::Dependency
|
3492
|
-
name: htmltools
|
3493
|
-
version_requirement:
|
3494
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
3495
|
-
requirements:
|
3496
|
-
- - ">="
|
3497
|
-
- !ruby/object:Gem::Version
|
3498
|
-
version: "1.10"
|
3499
|
-
version:
|
3500
|
-
- !ruby/object:Gem::Dependency
|
3501
|
-
name: htmlentities
|
3502
|
-
version_requirement:
|
3503
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
3504
|
-
requirements:
|
3505
|
-
- - "="
|
3506
|
-
- !ruby/object:Gem::Version
|
3507
|
-
version: 4.0.0
|
3508
|
-
version:
|
3509
|
-
- !ruby/object:Gem::Dependency
|
3510
|
-
name: mongrel
|
3511
|
-
version_requirement:
|
3512
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
3513
|
-
requirements:
|
3514
|
-
- - ">="
|
3515
|
-
- !ruby/object:Gem::Version
|
3516
|
-
version: 1.0.1
|
3517
|
-
version:
|
3529
|
+
- Ruby bindings to the Expat XML parser or libxml2 (version 0.8.3 or greater)
|
3530
|
+
rubyforge_project: rfeedparser
|
3531
|
+
rubygems_version: 1.2.0
|
3532
|
+
signing_key:
|
3533
|
+
specification_version: 2
|
3534
|
+
summary: Parse RSS and Atom feeds in Ruby
|
3535
|
+
test_files:
|
3536
|
+
- tests/rfeedparsertest.rb
|
@@ -1,953 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# From Robert Aman's GentleCMS URI.
|
3
|
-
# GentleCMS, Copyright (c) 2006 Robert Aman
|
4
|
-
#
|
5
|
-
# Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
# a copy of this software and associated documentation files (the
|
7
|
-
# "Software"), to deal in the Software without restriction, including
|
8
|
-
# without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
# distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
# permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
# the following conditions:
|
12
|
-
#
|
13
|
-
# The above copyright notice and this permission notice shall be
|
14
|
-
# included in all copies or substantial portions of the Software.
|
15
|
-
#
|
16
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
23
|
-
|
24
|
-
# This is an implementation of a URI parser based on RFC 3986.
|
25
|
-
class ForgivingURI
|
26
|
-
# Raised if something other than a uri is supplied.
|
27
|
-
class InvalidURIError < StandardError
|
28
|
-
end
|
29
|
-
# Raised if an invalid method option is supplied.
|
30
|
-
class InvalidOptionError < StandardError
|
31
|
-
end
|
32
|
-
|
33
|
-
# Returns a URI object based on the parsed string.
|
34
|
-
def self.parse(uri_string)
|
35
|
-
return nil if uri_string.nil?
|
36
|
-
|
37
|
-
# If a URI object is passed, just return itself.
|
38
|
-
return uri_string if uri_string.kind_of?(self)
|
39
|
-
|
40
|
-
# If a URI object of the Ruby standard library variety is passed,
|
41
|
-
# convert it to a string, then parse the string.
|
42
|
-
if uri_string.class.name =~ /^URI::/
|
43
|
-
uri_string = uri_string.to_s
|
44
|
-
end
|
45
|
-
|
46
|
-
uri_regex =
|
47
|
-
/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/
|
48
|
-
scan = uri_string.scan(uri_regex)
|
49
|
-
fragments = scan[0]
|
50
|
-
return nil if fragments.nil?
|
51
|
-
scheme = fragments[1]
|
52
|
-
authority = fragments[3]
|
53
|
-
path = fragments[4]
|
54
|
-
query = fragments[6]
|
55
|
-
fragment = fragments[8]
|
56
|
-
userinfo = nil
|
57
|
-
host = nil
|
58
|
-
port = nil
|
59
|
-
if authority != nil
|
60
|
-
userinfo = authority.scan(/^([^\[\]]*)@/).flatten[0]
|
61
|
-
host = authority.gsub(/^([^\[\]]*)@/, "").gsub(/:([^:@\[\]]*?)$/, "")
|
62
|
-
port = authority.scan(/:([^:@\[\]]*?)$/).flatten[0]
|
63
|
-
end
|
64
|
-
if scheme == 'file'
|
65
|
-
path = "/#{host}" + path
|
66
|
-
host = nil
|
67
|
-
end
|
68
|
-
if port.nil? || port == ""
|
69
|
-
port = nil
|
70
|
-
end
|
71
|
-
|
72
|
-
# WARNING: Not standards-compliant, but follows the theme
|
73
|
-
# of Postel's law:
|
74
|
-
#
|
75
|
-
# Special exception for dealing with the retarded idea of the
|
76
|
-
# feed pseudo-protocol. Without this exception, the parser will read
|
77
|
-
# the URI as having a blank port number, instead of as having a second
|
78
|
-
# URI embedded within. This exception translates these broken URIs
|
79
|
-
# and instead treats the inner URI as opaque.
|
80
|
-
if scheme == "feed" && host == "http"
|
81
|
-
userinfo = nil
|
82
|
-
host = nil
|
83
|
-
port = nil
|
84
|
-
path = authority + path
|
85
|
-
end
|
86
|
-
|
87
|
-
return ForgivingURI.new(scheme, userinfo, host, port, path, query, fragment)
|
88
|
-
end
|
89
|
-
|
90
|
-
# Converts a path to a file protocol URI. If the path supplied is
|
91
|
-
# relative, it will be returned as a relative URI. If the path supplied
|
92
|
-
# is actually a URI, it will return the parsed URI.
|
93
|
-
def self.convert_path(path)
|
94
|
-
return nil if path.nil?
|
95
|
-
|
96
|
-
converted_uri = path.strip
|
97
|
-
if converted_uri.length > 0 && converted_uri[0..0] == "/"
|
98
|
-
converted_uri = "file://" + converted_uri
|
99
|
-
end
|
100
|
-
if converted_uri.length > 0 &&
|
101
|
-
converted_uri.scan(/^[a-zA-Z]:[\\\/]/).size > 0
|
102
|
-
converted_uri = "file:///" + converted_uri
|
103
|
-
end
|
104
|
-
converted_uri.gsub!(/^file:\/*/i, "file:///")
|
105
|
-
if converted_uri =~ /^file:/i
|
106
|
-
# Adjust windows-style uris
|
107
|
-
converted_uri.gsub!(/^file:\/\/\/([a-zA-Z])\|/i, 'file:///\1:')
|
108
|
-
converted_uri.gsub!(/\\/, '/')
|
109
|
-
converted_uri = self.parse(converted_uri).normalize
|
110
|
-
if File.exists?(converted_uri.path) &&
|
111
|
-
File.stat(converted_uri.path).directory?
|
112
|
-
converted_uri.path.gsub!(/\/$/, "")
|
113
|
-
converted_uri.path = converted_uri.path + '/'
|
114
|
-
end
|
115
|
-
else
|
116
|
-
converted_uri = self.parse(converted_uri)
|
117
|
-
end
|
118
|
-
|
119
|
-
return converted_uri
|
120
|
-
end
|
121
|
-
|
122
|
-
# Joins several uris together.
|
123
|
-
def self.join(*uris)
|
124
|
-
uri_objects = uris.collect do |uri|
|
125
|
-
uri.kind_of?(self) ? uri : self.parse(uri.to_s)
|
126
|
-
end
|
127
|
-
result = uri_objects.shift.dup
|
128
|
-
for uri in uri_objects
|
129
|
-
result.merge!(uri)
|
130
|
-
end
|
131
|
-
return result
|
132
|
-
end
|
133
|
-
|
134
|
-
# Correctly escapes a uri.
|
135
|
-
def self.escape(uri)
|
136
|
-
uri_object = uri.kind_of?(self) ? uri : self.parse(uri.to_s)
|
137
|
-
return ForgivingURI.new(
|
138
|
-
uri_object.scheme,
|
139
|
-
uri_object.userinfo,
|
140
|
-
uri_object.host,
|
141
|
-
uri_object.specified_port,
|
142
|
-
self.normalize_escaping(uri_object.path),
|
143
|
-
self.normalize_escaping(uri_object.query),
|
144
|
-
self.normalize_escaping(uri_object.fragment)
|
145
|
-
).to_s
|
146
|
-
end
|
147
|
-
|
148
|
-
# Extracts uris from an arbitrary body of text.
|
149
|
-
def self.extract(text, options={})
|
150
|
-
defaults = {:base => nil, :parse => false}
|
151
|
-
options = defaults.merge(options)
|
152
|
-
raise InvalidOptionError unless (options.keys - defaults.keys).empty?
|
153
|
-
# This regular expression needs to be less forgiving or else it would
|
154
|
-
# match virtually all text. Which isn't exactly what we're going for.
|
155
|
-
extract_regex = /((([a-z\+]+):)[^ \n\<\>\"\\]+[\w\/])/
|
156
|
-
extracted_uris =
|
157
|
-
text.scan(extract_regex).collect { |match| match[0] }
|
158
|
-
sgml_extract_regex = /<[^>]+href=\"([^\"]+?)\"[^>]*>/
|
159
|
-
sgml_extracted_uris =
|
160
|
-
text.scan(sgml_extract_regex).collect { |match| match[0] }
|
161
|
-
extracted_uris.concat(sgml_extracted_uris - extracted_uris)
|
162
|
-
textile_extract_regex = /\".+?\":([^ ]+\/[^ ]+)[ \,\.\;\:\?\!\<\>\"]/i
|
163
|
-
textile_extracted_uris =
|
164
|
-
text.scan(textile_extract_regex).collect { |match| match[0] }
|
165
|
-
extracted_uris.concat(textile_extracted_uris - extracted_uris)
|
166
|
-
parsed_uris = []
|
167
|
-
base_uri = nil
|
168
|
-
if options[:base] != nil
|
169
|
-
base_uri = options[:base] if options[:base].kind_of?(self)
|
170
|
-
base_uri = self.parse(options[:base].to_s) if base_uri == nil
|
171
|
-
end
|
172
|
-
for uri_string in extracted_uris
|
173
|
-
begin
|
174
|
-
if base_uri == nil
|
175
|
-
parsed_uris << self.parse(uri_string)
|
176
|
-
else
|
177
|
-
parsed_uris << (base_uri + self.parse(uri_string))
|
178
|
-
end
|
179
|
-
rescue Exception
|
180
|
-
nil
|
181
|
-
end
|
182
|
-
end
|
183
|
-
parsed_uris.reject! do |uri|
|
184
|
-
(uri.scheme =~ /T\d+/ ||
|
185
|
-
uri.scheme == "xmlns" ||
|
186
|
-
uri.scheme == "xml" ||
|
187
|
-
uri.scheme == "thr" ||
|
188
|
-
uri.scheme == "this" ||
|
189
|
-
uri.scheme == "float" ||
|
190
|
-
uri.scheme == "user" ||
|
191
|
-
uri.scheme == "username" ||
|
192
|
-
uri.scheme == "out")
|
193
|
-
end
|
194
|
-
if options[:parse]
|
195
|
-
return parsed_uris
|
196
|
-
else
|
197
|
-
return parsed_uris.collect { |uri| uri.to_s }
|
198
|
-
end
|
199
|
-
end
|
200
|
-
|
201
|
-
# Creates a new uri object from component parts. Passing nil for
|
202
|
-
# any of these parameters is acceptable.
|
203
|
-
def initialize(scheme, userinfo, host, port, path, query, fragment)
|
204
|
-
assign_components(scheme, userinfo, host, port, path, query, fragment)
|
205
|
-
end
|
206
|
-
|
207
|
-
# Returns the scheme (protocol) for this URI.
|
208
|
-
def scheme
|
209
|
-
return nil if @scheme.nil? || @scheme.strip == ""
|
210
|
-
return @scheme
|
211
|
-
end
|
212
|
-
|
213
|
-
# Sets the scheme (protocol for this URI.)
|
214
|
-
def scheme=(new_scheme)
|
215
|
-
@scheme = new_scheme
|
216
|
-
end
|
217
|
-
|
218
|
-
# Returns the username and password segment of this URI.
|
219
|
-
def userinfo
|
220
|
-
return @userinfo
|
221
|
-
end
|
222
|
-
|
223
|
-
# Sets the username and password segment of this URI.
|
224
|
-
def userinfo=(new_userinfo)
|
225
|
-
@userinfo = new_userinfo
|
226
|
-
@authority = nil
|
227
|
-
end
|
228
|
-
|
229
|
-
# Returns the host for this URI.
|
230
|
-
def host
|
231
|
-
return @host
|
232
|
-
end
|
233
|
-
|
234
|
-
# Sets the host for this URI.
|
235
|
-
def host=(new_host)
|
236
|
-
@host = new_host
|
237
|
-
@authority = nil
|
238
|
-
end
|
239
|
-
|
240
|
-
# Returns the authority segment of this URI.
|
241
|
-
def authority
|
242
|
-
if !defined?(@authority) || @authority.nil?
|
243
|
-
return nil if self.host.nil?
|
244
|
-
@authority = ""
|
245
|
-
if self.userinfo != nil
|
246
|
-
@authority << "#{self.userinfo}@"
|
247
|
-
end
|
248
|
-
@authority << self.host
|
249
|
-
if self.specified_port != nil
|
250
|
-
@authority << ":#{self.specified_port}"
|
251
|
-
end
|
252
|
-
end
|
253
|
-
return @authority
|
254
|
-
end
|
255
|
-
|
256
|
-
# Sets the authority segment of this URI.
|
257
|
-
def authority=(new_authority)
|
258
|
-
@authority = new_authority
|
259
|
-
new_userinfo = nil
|
260
|
-
new_host = nil
|
261
|
-
new_port = nil
|
262
|
-
if new_authority != nil
|
263
|
-
new_userinfo = new_authority.scan(/^([^\[\]]*)@/).flatten[0]
|
264
|
-
new_host =
|
265
|
-
new_authority.gsub(/^([^\[\]]*)@/, "").gsub(/:([^:@\[\]]*?)$/, "")
|
266
|
-
new_port = new_authority.scan(/:([^:@\[\]]*?)$/).flatten[0]
|
267
|
-
end
|
268
|
-
if new_port.nil? || new_port == ""
|
269
|
-
new_port = nil
|
270
|
-
end
|
271
|
-
@userinfo = new_userinfo
|
272
|
-
@host = new_host
|
273
|
-
@port = nil
|
274
|
-
@specified_port = new_port
|
275
|
-
end
|
276
|
-
|
277
|
-
# Returns the user for this URI.
|
278
|
-
def user
|
279
|
-
if !defined?(@user) || @user.nil?
|
280
|
-
@user = nil
|
281
|
-
return @user if @userinfo.nil?
|
282
|
-
if @userinfo =~ /:/
|
283
|
-
@user = @userinfo.strip.scan(/^(.*):/).flatten[0].strip
|
284
|
-
else
|
285
|
-
@user = @userinfo.dup
|
286
|
-
end
|
287
|
-
end
|
288
|
-
return @user
|
289
|
-
end
|
290
|
-
|
291
|
-
# Sets the user for this URI.
|
292
|
-
def user=(new_user)
|
293
|
-
current_password = self.password
|
294
|
-
@user = new_user
|
295
|
-
if new_user == nil && current_password == nil
|
296
|
-
@userinfo = nil
|
297
|
-
elsif new_user == nil && current_password != nil
|
298
|
-
@userinfo = ":#{current_password}"
|
299
|
-
elsif new_user != nil && current_password == nil
|
300
|
-
@userinfo = "#{new_user}"
|
301
|
-
elsif new_user != nil && current_password != nil
|
302
|
-
@userinfo = "#{new_user}:#{current_password}"
|
303
|
-
end
|
304
|
-
@user = nil
|
305
|
-
@password = nil
|
306
|
-
@authority = nil
|
307
|
-
end
|
308
|
-
|
309
|
-
# Returns the password for this URI.
|
310
|
-
def password
|
311
|
-
if !defined?(@password) || @password.nil?
|
312
|
-
@password = nil
|
313
|
-
return @password if @userinfo.nil?
|
314
|
-
if @userinfo =~ /:/
|
315
|
-
@password = @userinfo.strip.scan(/:(.*)$/).flatten[0].strip
|
316
|
-
else
|
317
|
-
return nil
|
318
|
-
end
|
319
|
-
end
|
320
|
-
return @password
|
321
|
-
end
|
322
|
-
|
323
|
-
# Sets the password for this URI.
|
324
|
-
def password=(new_password)
|
325
|
-
current_user = self.user
|
326
|
-
@password = new_password
|
327
|
-
if current_user == nil && new_password == nil
|
328
|
-
@userinfo = nil
|
329
|
-
elsif current_user == nil && new_password != nil
|
330
|
-
@userinfo = ":#{new_password}"
|
331
|
-
elsif current_user != nil && new_password == nil
|
332
|
-
@userinfo = "#{current_user}"
|
333
|
-
elsif current_user != nil && new_password != nil
|
334
|
-
@userinfo = "#{current_user}:#{new_password}"
|
335
|
-
end
|
336
|
-
@user = nil
|
337
|
-
@authority = nil
|
338
|
-
end
|
339
|
-
|
340
|
-
# Returns an array of known ip-based schemes. These schemes typically
|
341
|
-
# use a similar URI form:
|
342
|
-
# //<user>:<password>@<host>:<port>/<url-path>
|
343
|
-
def self.ip_based_schemes
|
344
|
-
return self.scheme_mapping.keys
|
345
|
-
end
|
346
|
-
|
347
|
-
# Returns a hash of common IP-based schemes and their default port
|
348
|
-
# numbers. Adding new schemes to this hash, as necessary, will allow
|
349
|
-
# for better URI normalization.
|
350
|
-
def self.scheme_mapping
|
351
|
-
if !defined?(@protocol_mapping) || @protocol_mapping.nil?
|
352
|
-
@protocol_mapping = {
|
353
|
-
"http" => 80,
|
354
|
-
"https" => 443,
|
355
|
-
"ftp" => 21,
|
356
|
-
"tftp" => 69,
|
357
|
-
"ssh" => 22,
|
358
|
-
"svn+ssh" => 22,
|
359
|
-
"telnet" => 23,
|
360
|
-
"nntp" => 119,
|
361
|
-
"gopher" => 70,
|
362
|
-
"wais" => 210,
|
363
|
-
"prospero" => 1525
|
364
|
-
}
|
365
|
-
end
|
366
|
-
return @protocol_mapping
|
367
|
-
end
|
368
|
-
|
369
|
-
# Returns the port number for this URI. This method will normalize to the
|
370
|
-
# default port for the URI's scheme if the port isn't explicitly specified
|
371
|
-
# in the URI.
|
372
|
-
def port
|
373
|
-
if @port.to_i == 0
|
374
|
-
if self.scheme.nil?
|
375
|
-
@port = nil
|
376
|
-
else
|
377
|
-
@port = self.class.scheme_mapping[self.scheme.strip.downcase]
|
378
|
-
end
|
379
|
-
return @port
|
380
|
-
else
|
381
|
-
@port = @port.to_i
|
382
|
-
return @port
|
383
|
-
end
|
384
|
-
end
|
385
|
-
|
386
|
-
# Sets the port for this URI.
|
387
|
-
def port=(new_port)
|
388
|
-
@port = new_port.to_s.to_i
|
389
|
-
@specified_port = @port
|
390
|
-
@authority = nil
|
391
|
-
end
|
392
|
-
|
393
|
-
# Returns the port number that was actually specified in the URI string.
|
394
|
-
def specified_port
|
395
|
-
@specified_port = nil if !defined?(@specified_port)
|
396
|
-
return nil if @specified_port.nil?
|
397
|
-
port = @specified_port.to_s.to_i
|
398
|
-
if port == 0
|
399
|
-
return nil
|
400
|
-
else
|
401
|
-
return port
|
402
|
-
end
|
403
|
-
end
|
404
|
-
|
405
|
-
# Returns the path for this URI.
|
406
|
-
def path
|
407
|
-
return @path
|
408
|
-
end
|
409
|
-
|
410
|
-
# Sets the path for this URI.
|
411
|
-
def path=(new_path)
|
412
|
-
@path = new_path
|
413
|
-
end
|
414
|
-
|
415
|
-
# Returns the basename, if any, of the file at the path being referenced.
|
416
|
-
# Returns nil if there is no path component.
|
417
|
-
def basename
|
418
|
-
return nil if self.path == nil
|
419
|
-
return File.basename(self.path).gsub(/;[^\/]*$/, "")
|
420
|
-
end
|
421
|
-
|
422
|
-
# Returns the extension, if any, of the file at the path being referenced.
|
423
|
-
# Returns "" if there is no extension or nil if there is no path
|
424
|
-
# component.
|
425
|
-
def extname
|
426
|
-
return nil if self.path == nil
|
427
|
-
return File.extname(self.basename.gsub(/;[^\/]*$/, ""))
|
428
|
-
end
|
429
|
-
|
430
|
-
# Returns the query string for this URI.
|
431
|
-
def query
|
432
|
-
return @query
|
433
|
-
end
|
434
|
-
|
435
|
-
# Sets the query string for this URI.
|
436
|
-
def query=(new_query)
|
437
|
-
@query = new_query
|
438
|
-
end
|
439
|
-
|
440
|
-
# Returns the fragment for this URI.
|
441
|
-
def fragment
|
442
|
-
return @fragment
|
443
|
-
end
|
444
|
-
|
445
|
-
# Sets the fragment for this URI.
|
446
|
-
def fragment=(new_fragment)
|
447
|
-
@fragment = new_fragment
|
448
|
-
end
|
449
|
-
|
450
|
-
# Returns true if the URI uses an IP-based protocol.
|
451
|
-
def ip_based?
|
452
|
-
return false if self.scheme.nil?
|
453
|
-
return self.class.ip_based_schemes.include?(self.scheme.strip.downcase)
|
454
|
-
end
|
455
|
-
|
456
|
-
# Returns true if this URI is known to be relative.
|
457
|
-
def relative?
|
458
|
-
return self.scheme.nil?
|
459
|
-
end
|
460
|
-
|
461
|
-
# Returns true if this URI is known to be absolute.
|
462
|
-
def absolute?
|
463
|
-
return !relative?
|
464
|
-
end
|
465
|
-
|
466
|
-
# Joins two URIs together.
|
467
|
-
def +(uri)
|
468
|
-
if !uri.kind_of?(self.class)
|
469
|
-
uri = ForgivingURI.parse(uri.to_s)
|
470
|
-
end
|
471
|
-
if uri.to_s == ""
|
472
|
-
return self.dup
|
473
|
-
end
|
474
|
-
|
475
|
-
joined_scheme = nil
|
476
|
-
joined_userinfo = nil
|
477
|
-
joined_host = nil
|
478
|
-
joined_port = nil
|
479
|
-
joined_path = nil
|
480
|
-
joined_query = nil
|
481
|
-
joined_fragment = nil
|
482
|
-
|
483
|
-
# Section 5.2.2 of RFC 3986
|
484
|
-
if uri.scheme != nil
|
485
|
-
joined_scheme = uri.scheme
|
486
|
-
joined_userinfo = uri.userinfo
|
487
|
-
joined_host = uri.host
|
488
|
-
joined_port = uri.specified_port
|
489
|
-
joined_path = self.class.normalize_path(uri.path)
|
490
|
-
joined_query = uri.query
|
491
|
-
else
|
492
|
-
if uri.authority != nil
|
493
|
-
joined_userinfo = uri.userinfo
|
494
|
-
joined_host = uri.host
|
495
|
-
joined_port = uri.specified_port
|
496
|
-
joined_path = self.class.normalize_path(uri.path)
|
497
|
-
joined_query = uri.query
|
498
|
-
else
|
499
|
-
if uri.path == nil || uri.path == ""
|
500
|
-
joined_path = self.path
|
501
|
-
if uri.query != nil
|
502
|
-
joined_query = uri.query
|
503
|
-
else
|
504
|
-
joined_query = self.query
|
505
|
-
end
|
506
|
-
else
|
507
|
-
if uri.path[0..0] == "/"
|
508
|
-
joined_path = self.class.normalize_path(uri.path)
|
509
|
-
else
|
510
|
-
base_path = self.path.nil? ? "" : self.path.dup
|
511
|
-
base_path = self.class.normalize_path(base_path)
|
512
|
-
base_path.gsub!(/\/[^\/]+$/, "/")
|
513
|
-
joined_path = self.class.normalize_path(base_path + uri.path)
|
514
|
-
end
|
515
|
-
joined_query = uri.query
|
516
|
-
end
|
517
|
-
joined_userinfo = self.userinfo
|
518
|
-
joined_host = self.host
|
519
|
-
joined_port = self.specified_port
|
520
|
-
end
|
521
|
-
joined_scheme = self.scheme
|
522
|
-
end
|
523
|
-
joined_fragment = uri.fragment
|
524
|
-
|
525
|
-
return ForgivingURI.new(
|
526
|
-
joined_scheme,
|
527
|
-
joined_userinfo,
|
528
|
-
joined_host,
|
529
|
-
joined_port,
|
530
|
-
joined_path,
|
531
|
-
joined_query,
|
532
|
-
joined_fragment
|
533
|
-
)
|
534
|
-
end
|
535
|
-
|
536
|
-
# Merges two URIs together.
|
537
|
-
def merge(uri)
|
538
|
-
return (self + uri)
|
539
|
-
end
|
540
|
-
|
541
|
-
# Destructive form of merge.
|
542
|
-
def merge!(uri)
|
543
|
-
replace_self(self.merge(uri))
|
544
|
-
end
|
545
|
-
|
546
|
-
# Returns a normalized URI object.
|
547
|
-
#
|
548
|
-
# NOTE: This method does not attempt to conform to specifications. It
|
549
|
-
# exists largely to correct other people's failures to read the
|
550
|
-
# specifications, and also to deal with caching issues since several
|
551
|
-
# different URIs may represent the same resource and should not be
|
552
|
-
# cached multiple times.
|
553
|
-
def normalize
|
554
|
-
normalized_scheme = nil
|
555
|
-
normalized_scheme = self.scheme.strip.downcase if self.scheme != nil
|
556
|
-
normalized_scheme = "svn+ssh" if normalized_scheme == "ssh+svn"
|
557
|
-
if normalized_scheme == "feed"
|
558
|
-
if self.to_s =~ /^feed:\/*http:\/*/
|
559
|
-
return self.class.parse(
|
560
|
-
self.to_s.scan(/^feed:\/*(http:\/*.*)/).flatten[0]).normalize
|
561
|
-
end
|
562
|
-
end
|
563
|
-
normalized_userinfo = nil
|
564
|
-
normalized_userinfo = self.userinfo.strip if self.userinfo != nil
|
565
|
-
normalized_host = nil
|
566
|
-
normalized_host = self.host.strip.downcase if self.host != nil
|
567
|
-
if normalized_host != nil
|
568
|
-
begin
|
569
|
-
normalized_host = ForgivingURI::IDNA.to_ascii(normalized_host)
|
570
|
-
rescue Exception
|
571
|
-
nil
|
572
|
-
end
|
573
|
-
end
|
574
|
-
|
575
|
-
# Normalize IPv4 addresses that were generated with the stupid
|
576
|
-
# assumption that inet_addr() would be used to parse the IP address.
|
577
|
-
if normalized_host != nil && normalized_host.strip =~ /^\d+$/
|
578
|
-
# Decimal IPv4 address.
|
579
|
-
decimal = normalized_host.to_i
|
580
|
-
if decimal < (256 ** 4)
|
581
|
-
octets = [0,0,0,0]
|
582
|
-
octets[0] = decimal >> 24
|
583
|
-
decimal -= (octets[0] * (256 ** 3))
|
584
|
-
octets[1] = decimal >> 16
|
585
|
-
decimal -= (octets[1] * (256 ** 2))
|
586
|
-
octets[2] = decimal >> 8
|
587
|
-
decimal -= (octets[2] * (256 ** 1))
|
588
|
-
octets[3] = decimal
|
589
|
-
normalized_host = octets.join(".")
|
590
|
-
end
|
591
|
-
elsif (normalized_host != nil && normalized_host.strip =~
|
592
|
-
/^0+[0-7]{3}.0+[0-7]{3}.0+[0-7]{3}.0+[0-7]{3}$/)
|
593
|
-
# Octal IPv4 address.
|
594
|
-
octet_strings = normalized_host.split('.')
|
595
|
-
octets = []
|
596
|
-
octet_strings.each do |octet_string|
|
597
|
-
decimal = octet_string.to_i(8)
|
598
|
-
octets << decimal
|
599
|
-
end
|
600
|
-
normalized_host = octets.join(".")
|
601
|
-
elsif (normalized_host != nil && normalized_host.strip =~
|
602
|
-
/^0x[0-9a-f]{2}.0x[0-9a-f]{2}.0x[0-9a-f]{2}.0x[0-9a-f]{2}$/i)
|
603
|
-
# Hexidecimal IPv4 address.
|
604
|
-
octet_strings = normalized_host.split('.')
|
605
|
-
octets = []
|
606
|
-
octet_strings.each do |octet_string|
|
607
|
-
decimal = octet_string[2...4].to_i(16)
|
608
|
-
octets << decimal
|
609
|
-
end
|
610
|
-
normalized_host = octets.join(".")
|
611
|
-
end
|
612
|
-
normalized_port = self.port
|
613
|
-
if self.class.scheme_mapping[normalized_scheme] == normalized_port
|
614
|
-
normalized_port = nil
|
615
|
-
end
|
616
|
-
normalized_path = nil
|
617
|
-
normalized_path = self.path.strip if self.path != nil
|
618
|
-
if normalized_scheme != nil && normalized_host == nil
|
619
|
-
if self.class.ip_based_schemes.include?(normalized_scheme) &&
|
620
|
-
normalized_path =~ /[\w\.]+/
|
621
|
-
normalized_host = normalized_path
|
622
|
-
normalized_path = nil
|
623
|
-
unless normalized_host =~ /\./
|
624
|
-
normalized_host = normalized_host + ".com"
|
625
|
-
end
|
626
|
-
end
|
627
|
-
end
|
628
|
-
if normalized_path == nil &&
|
629
|
-
normalized_scheme != nil &&
|
630
|
-
normalized_host != nil
|
631
|
-
normalized_path = "/"
|
632
|
-
end
|
633
|
-
if normalized_path != nil
|
634
|
-
normalized_path = self.class.normalize_path(normalized_path)
|
635
|
-
normalized_path = self.class.normalize_escaping(normalized_path)
|
636
|
-
end
|
637
|
-
if normalized_path == ""
|
638
|
-
if ["http", "https", "ftp", "tftp"].include?(normalized_scheme)
|
639
|
-
normalized_path = "/"
|
640
|
-
end
|
641
|
-
end
|
642
|
-
normalized_path.gsub!(/%3B/, ";") if normalized_path != nil
|
643
|
-
normalized_path.gsub!(/%3A/, ":") if normalized_path != nil
|
644
|
-
normalized_path.gsub!(/%40/, "@") if normalized_path != nil
|
645
|
-
normalized_path.gsub!(/%2C/, ",") if normalized_path != nil
|
646
|
-
normalized_path.gsub!(/%3D/, "=") if normalized_path != nil
|
647
|
-
|
648
|
-
normalized_query = nil
|
649
|
-
normalized_query = self.query.strip if self.query != nil
|
650
|
-
normalized_query = self.class.normalize_escaping(normalized_query)
|
651
|
-
normalized_query.gsub!(/%3D/, "=") if normalized_query != nil
|
652
|
-
normalized_query.gsub!(/%26/, "&") if normalized_query != nil
|
653
|
-
normalized_fragment = nil
|
654
|
-
normalized_fragment = self.fragment.strip if self.fragment != nil
|
655
|
-
normalized_fragment = self.class.normalize_escaping(normalized_fragment)
|
656
|
-
return ForgivingURI.new(
|
657
|
-
normalized_scheme,
|
658
|
-
normalized_userinfo,
|
659
|
-
normalized_host,
|
660
|
-
normalized_port,
|
661
|
-
normalized_path,
|
662
|
-
normalized_query,
|
663
|
-
normalized_fragment
|
664
|
-
)
|
665
|
-
end
|
666
|
-
|
667
|
-
# Destructively normalizes this URI object.
|
668
|
-
def normalize!
|
669
|
-
replace_self(self.normalize)
|
670
|
-
end
|
671
|
-
|
672
|
-
# Creates a URI suitable for display to users. If semantic attacks are
|
673
|
-
# likely, the application should try to detect these and warn the user.
|
674
|
-
# See RFC 3986 section 7.6 for more information.
|
675
|
-
def display_uri
|
676
|
-
display_uri = self.normalize
|
677
|
-
begin
|
678
|
-
display_uri.instance_variable_set("@host",
|
679
|
-
ForgivingURI::IDNA.to_unicode(display_uri.host))
|
680
|
-
rescue Exception
|
681
|
-
nil
|
682
|
-
end
|
683
|
-
return display_uri
|
684
|
-
end
|
685
|
-
|
686
|
-
# Returns true if the URI objects are equal. This method normalizes
|
687
|
-
# both URIs before doing the comparison, and allows comparison against
|
688
|
-
# strings.
|
689
|
-
def ===(uri)
|
690
|
-
uri_string = nil
|
691
|
-
if uri.respond_to?(:normalize)
|
692
|
-
uri_string = uri.normalize.to_s
|
693
|
-
else
|
694
|
-
begin
|
695
|
-
uri_string = ForgivingURI.parse(uri.to_s).normalize.to_s
|
696
|
-
rescue Exception
|
697
|
-
return false
|
698
|
-
end
|
699
|
-
end
|
700
|
-
return self.normalize.to_s == uri_string
|
701
|
-
end
|
702
|
-
|
703
|
-
# Returns true if the URI objects are equal. This method normalizes
|
704
|
-
# both URIs before doing the comparison.
|
705
|
-
def ==(uri)
|
706
|
-
return false unless uri.kind_of?(self.class)
|
707
|
-
return self.normalize.to_s == uri.normalize.to_s
|
708
|
-
end
|
709
|
-
|
710
|
-
# Returns true if the URI objects are equal. This method does NOT
|
711
|
-
# normalize either URI before doing the comparison.
|
712
|
-
def eql?(uri)
|
713
|
-
return false unless uri.kind_of?(self.class)
|
714
|
-
return self.to_s == uri.to_s
|
715
|
-
end
|
716
|
-
|
717
|
-
# Clones the URI object.
|
718
|
-
def dup
|
719
|
-
duplicated_scheme = nil
|
720
|
-
duplicated_scheme = self.scheme.dup if self.scheme != nil
|
721
|
-
duplicated_userinfo = nil
|
722
|
-
duplicated_userinfo = self.userinfo.dup if self.userinfo != nil
|
723
|
-
duplicated_host = nil
|
724
|
-
duplicated_host = self.host.dup if self.host != nil
|
725
|
-
duplicated_port = self.port
|
726
|
-
duplicated_path = nil
|
727
|
-
duplicated_path = self.path.dup if self.path != nil
|
728
|
-
duplicated_query = nil
|
729
|
-
duplicated_query = self.query.dup if self.query != nil
|
730
|
-
duplicated_fragment = nil
|
731
|
-
duplicated_fragment = self.fragment.dup if self.fragment != nil
|
732
|
-
duplicated_uri = ForgivingURI.new(
|
733
|
-
duplicated_scheme,
|
734
|
-
duplicated_userinfo,
|
735
|
-
duplicated_host,
|
736
|
-
duplicated_port,
|
737
|
-
duplicated_path,
|
738
|
-
duplicated_query,
|
739
|
-
duplicated_fragment
|
740
|
-
)
|
741
|
-
@specified_port = nil if !defined?(@specified_port)
|
742
|
-
duplicated_uri.instance_variable_set("@specified_port", @specified_port)
|
743
|
-
return duplicated_uri
|
744
|
-
end
|
745
|
-
|
746
|
-
# Returns the assembled URI as a string.
|
747
|
-
def to_s
|
748
|
-
uri_string = ""
|
749
|
-
if self.scheme != nil
|
750
|
-
uri_string << "#{self.scheme}:"
|
751
|
-
end
|
752
|
-
if self.authority != nil
|
753
|
-
uri_string << "//#{self.authority}"
|
754
|
-
end
|
755
|
-
if self.path != nil
|
756
|
-
uri_string << self.path
|
757
|
-
end
|
758
|
-
if self.query != nil
|
759
|
-
uri_string << "?#{self.query}"
|
760
|
-
end
|
761
|
-
if self.fragment != nil
|
762
|
-
uri_string << "##{self.fragment}"
|
763
|
-
end
|
764
|
-
return uri_string
|
765
|
-
end
|
766
|
-
|
767
|
-
# Returns a string representation of the URI object's state.
|
768
|
-
def inspect
|
769
|
-
sprintf("#<%s:%#0x URI:%s>", self.class.to_s, self.object_id, self.to_s)
|
770
|
-
end
|
771
|
-
|
772
|
-
# This module handles internationalized domain names. When Ruby has an
|
773
|
-
# implementation of nameprep, stringprep, punycode, etc, this
|
774
|
-
# module should contain an actual implementation of IDNA instead of
|
775
|
-
# returning nil if libidn can't be used.
|
776
|
-
module IDNA
|
777
|
-
# Returns the ascii representation of the label.
|
778
|
-
def self.to_ascii(label)
|
779
|
-
return nil if label.nil?
|
780
|
-
if self.use_libidn?
|
781
|
-
return IDN::Idna.toASCII(label)
|
782
|
-
else
|
783
|
-
raise NotImplementedError,
|
784
|
-
"There is no available pure-ruby implementation. " +
|
785
|
-
"Install libidn bindings."
|
786
|
-
end
|
787
|
-
end
|
788
|
-
|
789
|
-
# Returns the unicode representation of the label.
|
790
|
-
def self.to_unicode(label)
|
791
|
-
return nil if label.nil?
|
792
|
-
if self.use_libidn?
|
793
|
-
return IDN::Idna.toUnicode(label)
|
794
|
-
else
|
795
|
-
raise NotImplementedError,
|
796
|
-
"There is no available pure-ruby implementation. " +
|
797
|
-
"Install libidn bindings."
|
798
|
-
end
|
799
|
-
end
|
800
|
-
|
801
|
-
private
|
802
|
-
# Determines if the libidn bindings are available and able to be used.
|
803
|
-
def self.use_libidn?
|
804
|
-
if !defined?(@use_libidn) || @use_libidn.nil?
|
805
|
-
begin
|
806
|
-
require 'rubygems'
|
807
|
-
rescue LoadError
|
808
|
-
nil
|
809
|
-
end
|
810
|
-
begin
|
811
|
-
require 'idn'
|
812
|
-
rescue LoadError
|
813
|
-
nil
|
814
|
-
end
|
815
|
-
@use_libidn = !!(defined?(IDN::Idna))
|
816
|
-
end
|
817
|
-
return @use_libidn
|
818
|
-
end
|
819
|
-
end
|
820
|
-
|
821
|
-
private
|
822
|
-
# Resolves paths to their simplest form.
|
823
|
-
def self.normalize_path(path)
|
824
|
-
return nil if path.nil?
|
825
|
-
normalized_path = path.dup
|
826
|
-
previous_state = normalized_path.dup
|
827
|
-
begin
|
828
|
-
previous_state = normalized_path.dup
|
829
|
-
normalized_path.gsub!(/\/\.\//, "/")
|
830
|
-
normalized_path.gsub!(/\/\.$/, "/")
|
831
|
-
parent = normalized_path.scan(/\/([^\/]+)\/\.\.\//).flatten[0]
|
832
|
-
if parent != "." && parent != ".."
|
833
|
-
normalized_path.gsub!(/\/#{parent}\/\.\.\//, "/")
|
834
|
-
end
|
835
|
-
parent = normalized_path.scan(/\/([^\/]+)\/\.\.$/).flatten[0]
|
836
|
-
if parent != "." && parent != ".."
|
837
|
-
normalized_path.gsub!(/\/#{parent}\/\.\.$/, "/")
|
838
|
-
end
|
839
|
-
normalized_path.gsub!(/^\.\.?\/?/, "")
|
840
|
-
normalized_path.gsub!(/^\/\.\.?\//, "/")
|
841
|
-
end until previous_state == normalized_path
|
842
|
-
return normalized_path
|
843
|
-
end
|
844
|
-
|
845
|
-
# Normalizes percent escaping of characters
|
846
|
-
def self.normalize_escaping(escaped_section)
|
847
|
-
return nil if escaped_section.nil?
|
848
|
-
normalized_section = escaped_section.dup
|
849
|
-
normalized_section.gsub!(/%[0-9a-f]{2}/i) do |sequence|
|
850
|
-
sequence[1..3].to_i(16).chr
|
851
|
-
end
|
852
|
-
if ForgivingURI::IDNA.send(:use_libidn?)
|
853
|
-
normalized_section =
|
854
|
-
IDN::Stringprep.nfkc_normalize(normalized_section)
|
855
|
-
end
|
856
|
-
new_section = ""
|
857
|
-
for index in 0...normalized_section.size
|
858
|
-
if self.unreserved?(normalized_section[index]) ||
|
859
|
-
normalized_section[index] == '/'[0]
|
860
|
-
new_section << normalized_section[index..index]
|
861
|
-
else
|
862
|
-
new_section << ("%" + normalized_section[index].to_s(16).upcase)
|
863
|
-
end
|
864
|
-
end
|
865
|
-
normalized_section = new_section
|
866
|
-
return normalized_section
|
867
|
-
end
|
868
|
-
|
869
|
-
# Returns true if the specified character is unreserved.
|
870
|
-
def self.unreserved?(character)
|
871
|
-
character_string = nil
|
872
|
-
character_string = character.chr if character.respond_to?(:chr)
|
873
|
-
character_string = character[0..0] if character.kind_of?(String)
|
874
|
-
return self.unreserved.include?(character_string)
|
875
|
-
end
|
876
|
-
|
877
|
-
# Returns a list of unreserved characters.
|
878
|
-
def self.unreserved
|
879
|
-
if !defined?(@unreserved) || @unreserved.nil?
|
880
|
-
@unreserved = ["-", ".", "_", "~"]
|
881
|
-
for c in "a".."z"
|
882
|
-
@unreserved << c
|
883
|
-
@unreserved << c.upcase
|
884
|
-
end
|
885
|
-
for c in "0".."9"
|
886
|
-
@unreserved << c
|
887
|
-
end
|
888
|
-
@unreserved.sort!
|
889
|
-
end
|
890
|
-
return @unreserved
|
891
|
-
end
|
892
|
-
|
893
|
-
# Assigns the specified components to the appropriate instance variables.
|
894
|
-
# Used in destructive operations to avoid code repetition.
|
895
|
-
def assign_components(scheme, userinfo, host, port, path, query, fragment)
|
896
|
-
if scheme == nil && userinfo == nil && host == nil && port == nil &&
|
897
|
-
path == nil && query == nil && fragment == nil
|
898
|
-
raise InvalidURIError, "All parameters were nil."
|
899
|
-
end
|
900
|
-
@scheme = scheme
|
901
|
-
@userinfo = userinfo
|
902
|
-
@host = host
|
903
|
-
@specified_port = port.to_s
|
904
|
-
@port = port
|
905
|
-
@port = @port.to_s if @port.kind_of?(Fixnum)
|
906
|
-
if @port != nil && !(@port =~ /^\d+$/)
|
907
|
-
raise InvalidURIError,
|
908
|
-
"Invalid port number: #{@port.inspect}"
|
909
|
-
end
|
910
|
-
@port = @port.to_i
|
911
|
-
@port = nil if @port == 0
|
912
|
-
@path = path
|
913
|
-
@query = query
|
914
|
-
@fragment = fragment
|
915
|
-
if @scheme != nil && @host == "" && @path == ""
|
916
|
-
raise InvalidURIError,
|
917
|
-
"Absolute URI missing hierarchical segment."
|
918
|
-
end
|
919
|
-
end
|
920
|
-
|
921
|
-
# Replaces the internal state of self with the specified URI's state.
|
922
|
-
# Used in destructive operations to avoid massive code repetition.
|
923
|
-
def replace_self(uri)
|
924
|
-
@authority = nil
|
925
|
-
@user = nil
|
926
|
-
@password = nil
|
927
|
-
|
928
|
-
@scheme = uri.scheme
|
929
|
-
@userinfo = uri.userinfo
|
930
|
-
@host = uri.host
|
931
|
-
@specified_port = uri.instance_variable_get("@specified_port")
|
932
|
-
@port = @specified_port.to_s.to_i
|
933
|
-
@path = uri.path
|
934
|
-
@query = uri.query
|
935
|
-
@fragment = uri.fragment
|
936
|
-
return self
|
937
|
-
end
|
938
|
-
end
|
939
|
-
|
940
|
-
def urljoin(base, uri)
|
941
|
-
urifixer = /^([A-Za-z][A-Za-z0-9+-.]*:\/\/)(\/*)(.*?)/u
|
942
|
-
uri = uri.sub(urifixer, '\1\3')
|
943
|
-
pbase = ForgivingURI.parse(base) rescue nil
|
944
|
-
if pbase && pbase.absolute?
|
945
|
-
puri = ForgivingURI.parse(uri) rescue nil
|
946
|
-
if puri && puri.relative?
|
947
|
-
# ForgivingURI.join does the wrong thing. What the hell.
|
948
|
-
return ForgivingURI.join(base, uri).to_s.gsub(/[^:]\/{2,}/, '')
|
949
|
-
end
|
950
|
-
end
|
951
|
-
return uri
|
952
|
-
end
|
953
|
-
|