Ticket #2176 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Content portlets syndication feeds can be xml invalid

Reported by: gracinet Owned by: jmorliaguet
Priority: P2 Milestone: CPS 3.5.1
Component: CPSPortlets Version: TRUNK
Severity: normal Keywords:


Because they go through the whole machinery of CPSDocument and are actually rendered by the method of the portlet widget, these feeds can end up having a leading white line before the '<?xml>' declaration, and that's invalid (refused by Firefox for instance).

Change History

comment:1 Changed 9 years ago by gracinet

  • Status changed from new to closed
  • Resolution set to fixed

Done in default and unicode of CPSDocument by stripping all renderings of leading and trailing whitespaces.

Note: See TracTickets for help on using tickets.