Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: blank line introduced on server side!?

From: Bjoern Hoehrmann <bjoern@---------.-->
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/ 


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent