From: kou@... Date: 2017-05-01T23:57:21+00:00 Subject: [ruby-core:80965] [Ruby trunk Bug#13531][Assigned] RSS: a feed with empty channel description has completely empty '#to_xml' conversion Issue #13531 has been updated by kou (Kouhei Sutou). Status changed from Open to Assigned Assignee set to kou (Kouhei Sutou) Thanks for your report. I'll consider how rss handles the case. I'll change rss to accept empty ``. I must keep backward compatibility. ---------------------------------------- Bug #13531: RSS: a feed with empty channel description has completely empty '#to_xml' conversion https://bugs.ruby-lang.org/issues/13531#change-64630 * Author: mala (stefano frabetti) * Status: Assigned * 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: 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: