[wp-trac] [WordPress Trac] #8891: feed=comments-rss2: XML Parsing
Error: not well-formed
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 20 00:24:43 GMT 2009
#8891: feed=comments-rss2: XML Parsing Error: not well-formed
--------------------------+-------------------------------------------------
Reporter: jidanni | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: Feeds | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Gentlemen, I have accomplished my first vanilla install of Wordpress, 2.7.
We notice these two links on the front page:
{{{
$ w3m -dump http://localhost/articles/|grep RSS
Entries (RSS) and Comments (RSS).
}}}
http://localhost/articles/?feed=rss2 is fine, but
http://localhost/articles/?feed=comments-rss2 won't show the one
comment present when clicked in firefox. Further probing reveals
{{{
$ GET http://localhost/articles/?feed=comments-rss2 > com.xml
$ firefox com.xml
XML Parsing Error: not well-formed
Location: file:///tmp/com.xml
Line Number 18, Column 45:
<link>http://localhost/articles/?p=1&cpage=1#comment-1</link>
----------------------------------------------------------^
}}}
By the way, the top of feed=comment-rss2 that file is also uglier than
feed=rss
{{{
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
}}}
There should be a line break at ><.
--
Ticket URL: <http://trac.wordpress.org/ticket/8891>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list