[wp-trac] [WordPress Trac] #18332: Blank lines after ?> in wp-feed.php causes XML feed error

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 4 22:14:55 UTC 2011


#18332: Blank lines after ?> in wp-feed.php causes XML feed error
--------------------------+-----------------------------
 Reporter:  alexbenfica   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Feeds         |    Version:  3.2.1
 Severity:  critical      |   Keywords:
--------------------------+-----------------------------
 The blank lines after ?> in php files causes XML be misunderstood by
 feedburner or other feed "clients".

 Fix is very easy: just cut the empty lines after the php tags in wp-
 feed.php and problem will be gone.

 It would be interesting search these blank lines on other files as well.

 This is the error: Fix wordpress rss feed error "Error on line 2: The
 processing instruction target matching "[xX][mM][lL]" is not allowed."
 while yo

 This a portuguese blog that explains the error:
 http://www.dowordpress.com.br/erro-no-processamento-de-xml-feed-wordpress/

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18332>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list