For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > January 2007 > #40250 [Fbk->Opn]: php.net news.rss feeds often contain entity errors









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #40250 [Fbk->Opn]: php.net news.rss feeds often contain entity errors
famc4 at hotmail dot com

2007-01-28, 7:00 pm

ID: 40250
User updated by: famc4 at hotmail dot com
Reported By: famc4 at hotmail dot com
-Status: Feedback
+Status: Open
Bug Type: Website problem
Operating System: Mac OSX (irrelevant?)
PHP Version: Irrelevant
Assigned To: bjori
New Comment:

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?


Previous Comments:
------------------------------------------------------------------------

[2007-01-27 16:07:40] 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-26 20:59:02] 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.


------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=40250&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com