October 22, 2002
Validation station.
I run several weblogs besides this one. Most of them are powered by Blogger Pro, which has this option to publish an RSS feed along side the normal HTML version of the weblog. I figured I should check those feeds using the spiffy new RSS validator built by Mark Pilgrim and Sam Ruby. Of course, Blogger-generated XML doesn’t quite validate anyway due to an issue with the date formatting, but I found a completely different issue with the validator that affects the testing of feed for this site. Specifically, when the XML is served up from a Windows or Unix server, it looks like this. A similar feed served from a Macintosh server looks like this. Both servers use the same RSS 0.91 implementation that Blogger spits out. When you view the XML directly in a browser or as a raw HTTP request, they both appear identical. Both servers also have the correct MIME type definitions (TEXT/XML). The only difference is that files served from the Windows IIS server have CR/LF line endings and those served from the Macintosh WebStar server have straight carriage return line endings. A request has been sent asking if the validator could parse the XML correctly regardless of the type of line endings used the source file. Stay tuned. Additional information and commentary is available at diveintomark. [ Update ] Mark Pilgrim just informed me that the brand spanking new version 1.0.3 fixes the line ending problem. Don’t you just love getting instant feedback?
This item was posted by
.Categories:
Leave a comment or send a trackback from your own site.