Bug #13531
closedRSS: a feed with empty channel description has completely empty '#to_xml' conversion
Description
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
Updated by kou (Kouhei Sutou) about 7 years ago
- 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 <description>
. I must keep backward compatibility.
Updated by kou (Kouhei Sutou) about 7 years ago
- Status changed from Assigned to Closed
Applied in changeset trunk|r58552.
rss: Accept empty text element as valid element
Parser has been accepted it but XML serializer wasn't accepted.
Reported by stefano frabetti. Thanks!!!
[ruby-core:80965] [Bug #13531]
Updated by usa (Usaku NAKAMURA) about 7 years ago
- Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.2: WONTFIX, 2.3: REQUIRED, 2.4: REQUIRED
Updated by usa (Usaku NAKAMURA) about 7 years ago
- 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.
Updated by nagachika (Tomoyuki Chikanaga) about 7 years ago
- 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.