php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40250 php.net news.rss feeds often contain entity errors
Submitted: 2007-01-26 20:59 UTC Modified: 2007-01-29 08:31 UTC
From: famc4 at hotmail dot com Assigned: bjori (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Mac OSX (irrelevant?)
Private report: No CVE-ID: None
 [2007-01-26 20:59 UTC] famc4 at hotmail dot com
Description:
------------
www.php.net/news.rss feeds quite often have XML errors that trip up parsers. For example, currently, the error:
   "undefined entity at line 38..." shows up. 
    Ditto at "line 75". 

In fact, every time I have encountered an error, it is an entity error.

Current time is 3:42 PM -05:00 (e.g.,EST) (Friday Jan 26).



Reproduce code:
---------------
see www.php.net/news.rss

Expected result:
----------------
Flawless, well-formed XML news feed. Of course! :-)

Actual result:
--------------
No feed web site, because parsing fails.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-01-27 16:07 UTC] bjori@php.net
I fixed the html entity on line 38.
What is the problem on line 75? It's a single </item> 
element...
 [2007-01-28 21:50 UTC] famc4 at hotmail dot com
Great, looks good. I'm not sure why my the parse reported line 75, or what was on line 75; because it choked after that. But it's coming through fine today.

Is there a permanent way to fix the "undefined entities" errors; so they don't crop up again? Is that what you did?
 [2007-01-29 08:31 UTC] bjori@php.net
No. All I did was replace the html entity with its utf8 
character :)

(See bug#37513 & bug#36680)

Closing..
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 01:00:01 2026 UTC