If the text processed for the <source> tag contains &, it is not getting properly converted to &amp;, and it therefore fails validation. The solution I found was to add a check_plain() to views_rss_core_preprocess_item_source(), per the attached patch.

A similar patch is needed in the D7 version.

CommentFileSizeAuthor
views_rss_core_source.patch584 bytesGribnif
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

keva’s picture

Issue summary: View changes
Status: Active » Reviewed & tested by the community

thanks - this did the trick!

maciej.zgadzaj’s picture

Version: 6.x-2.0-rc3 » 6.x-2.x-dev
Status: Reviewed & tested by the community » Fixed

Committed and pushed to 6.x-2.x.

Also, this is not needed for 7.x branch, as there all elements are passed through format_xml_elements(), where this is done automatically.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.