From: stefano.frabetti@... Date: 2017-05-01T17:30:10+00:00 Subject: [ruby-core:80962] [Ruby trunk Bug#13531] RSS: a feed with empty channel description has completely empty '#to_xml' conversion Issue #13531 has been reported by mala (stefano frabetti). ---------------------------------------- Bug #13531: RSS: a feed with empty channel description has completely empty '#to_xml' conversion https://bugs.ruby-lang.org/issues/13531 * Author: mala (stefano frabetti) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- 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: