Little problem with XML parsers June 17, 2001 9:23 PM   Subscribe

a tiny problem with the rss feed -- some xml parsers (particularly expat, the parser used inside mozilla and perl's XML::Parser, require that the '' appear at the very beginning of the file. it seems like an overly strict reading of the spec to me, but there you are. kudos for adding the feed, in any case!
posted by jimw to Bugs at 9:23 PM (3 comments total)

pfft. somehow i knew that the '<?xml version="1.0"?>' was going to get eaten, but i let the preview convince me otherwise.

(and yes, feel free to call me a pedant for picking on such an insignificant little thing. it seems to be my specialty around here.)
posted by jimw at 9:26 PM on June 17, 2001


Ok, I fixed it up a bit and removed all the whitespace. All better now?
posted by mathowie (staff) at 10:34 PM on June 17, 2001


unfortunately, not quite. there's at least one entry where smart-quotes have snuck through. you could probably set the encoding on the xml to something to indicate the windows-specific character set, or replace those quotes with normal ones. (or even &rdquo; and &ldquo; if you wanted to get really fancy.)

with those gone, it seems to parse just fine.
posted by jimw at 12:21 AM on June 18, 2001


« Older Self-links in comments.   |   I am too good for this, and I am telling you that... Newer »

You are not logged in, either login or create an account to post comments