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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: famc4 at hotmail dot com
New email:
PHP Version: OS:

 

 [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 02:00:02 2026 UTC