From: usa@... Date: 2017-06-30T12:48:32+00:00 Subject: [ruby-core:81867] [Ruby trunk Bug#13531] RSS: a feed with empty channel description has completely empty '#to_xml' conversion Issue #13531 has been updated by usa (Usaku NAKAMURA). Backport changed from 2.2: WONTFIX, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: WONTFIX, 2.3: DONE, 2.4: REQUIRED ruby_2_3 r59236 merged revision(s) 58552. ---------------------------------------- Bug #13531: RSS: a feed with empty channel description has completely empty '#to_xml' conversion https://bugs.ruby-lang.org/issues/13531#change-65596 * Author: mala (stefano frabetti) * Status: Closed * Priority: Normal * Assignee: kou (Kouhei Sutou) * Target version: * ruby -v: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux * Backport: 2.2: WONTFIX, 2.3: DONE, 2.4: REQUIRED ---------------------------------------- With the rss standard library, a feed with **empty channel description** is correctly parsed, but its conversion to xml (`#to_xml`) results in an **empty string**. (The expected result being a string representation of the full xml tree of the feed.) A feed showing the problem (as of today) is at `http://www.giornalettismo.com/feed/`. It is valid, checked with the W3C validator. ---Files-------------------------------- bug-rss-toxml (250 Bytes) -- https://bugs.ruby-lang.org/ Unsubscribe: