[pmwiki-users] RSS feed corrupted

Patrick R. Michaud pmichaud at pobox.com
Wed Feb 14 12:16:17 CST 2007


On Wed, Feb 14, 2007 at 10:46:22AM -0600, Ben Stallings wrote:
> Hi, folks.  At some point in the past two weeks, the RSS feed at one of 
> my sites stopped working properly:
> 
> http://www.psduua.org/Site/AllRecentChanges?action=rss
> 
> Looking at the source of the resulting page with FireFox, and comparing 
> it to valid RSS feeds like those at pmwiki.org, I'm not sure what the 
> nature of the problem is... something to do with white space?  I thought 
>   white space was ignored in XML.  

Officially, no.  Appendix F.1 of the XML specification says that
any XML document not accompanied by external encoding information
must begin with the characters '<?xml'.

Check your local/config.php and cookbook scripts for any 
"extraneous" whitespace.  Especially look for a blank line following 
a closing '?>' tag (in fact, I suggest eliminating any ?> tags altogether).

I'm pretty sure there must be a blank line in there somewhere, because 
"view source" on various other pages on the site is showing a blank
line prior to the <!DOCTYPE declaration.

Pm



More information about the pmwiki-users mailing list