[ruby-core:82126] [Ruby trunk Bug#13531] RSS: a feed with empty channel description has completely empty '#to_xml' conversion

From: nagachika00@...
Date: 2017-07-23 07:20:11 UTC
List: ruby-core #82126
Issue #13531 has been updated by nagachika (Tomoyuki Chikanaga).

Backport changed from 2.2: WONTFIX, 2.3: DONE, 2.4: REQUIRED to 2.2: WONTFIX, 2.3: DONE, 2.4: DONE

ruby_2_4 r59396 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-65883

* 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: DONE
----------------------------------------
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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next