Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - blank line introduced on server side!? [Thread Next] Re: blank line introduced on server side!?To: NULL Date: 1/6/2007 8:21:00 AM * Seller wrote in comp.text.xml: >I am using Wordpress 2.0.6 on Fedora Core 5. An RSS feed is not working for >http://survivalofthesickestthebook.com/blog/?feed=rss2 > >When I use feed validator >http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fsurvivalofthesickestthebook.com%2Fblog%2F%3Ffeed%3Drss2 > >I see a blank space on line one which renders the page unviewable. none of >my files have a space at the top, and I have no idea why the page is being >served with a space at the top. > >what on the server side would introduce a blank space on line one before the >xml statement? Any kind of pre-processor or output filter. For example, your server seems to support PHP, so your file might be put through some PHP script and the PHP script generates the empty line at the top. If you have no control over that, but control over the actual content, you might try to remove the <?xml version="1.0" encoding="UTF-8"?> from the input, an empty line at the beginning would then be legal. -- Björn Höhrmann · mailto:bjoern@h... · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
