Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#8891 closed defect (bug) (worksforme)

feed=comments-rss2: XML Parsing Error: not well-formed

Reported by: jidanni Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version:
Component: Feeds Keywords:
Focuses: Cc:


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:

By the way, the top of feed=comment-rss2 that file is also uglier than

<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"

There should be a line break at ><.

Change History (5)

comment:1 @jidanni6 years ago

Also from the home page we click on http://localhost/articles/?p=1 which leads us to http://localhost/articles/?feed=rss2&p=1 , which has the exact same problem. Note all the above is on a totally vanilla installation.

comment:2 @jidanni6 years ago

  • Cc jidanni@… added

comment:3 @peaceablewhale6 years ago

  • Keywords reporter-feedback added


I can't reproduce the issue with the latest trunk. It may have been fixed. The link generated is currently ?p=3&#038;cpage=1#comment-2.

Could you check the issue again?

comment:4 @jidanni6 years ago

I'm sorry but I'm now retired from wordpress and forgot everything...

comment:5 @peaceablewhale6 years ago

  • Keywords reporter-feedback removed
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.