#014055: parsing an empty string raises a warning

Description:

Warning: DOMDocument::loadXML(): Empty string supplied as input in /var/checkouts/ezcomponents/trunk/Feed/src/feed.php on line 904

should throw an exception but not raise a warning.


Environment:

Operating System:
PHP Version: (please be specific, like '4.4.3' or '5.1.5')
Database and version:
Browser (and version):


Steps to Reproduce:

ezcFeed::parseContent( '' );


- Attachments
0001-bugfix-014055.patch (1.5 kb)
[Download] [Permanent Link]
testcase and fix

- Comments

Fixed in SVN rev. 9536. It will be available in Feed 1.2rc1 (part of eZ Components 2008.2rc1).

#259294 by Alexandru Stanoi on December 4th, 2008 [Permanent Link]

- History
Properties
Type Bug
Priority Medium
Component Components » Feed
Affects Unknown
Fix Version 2008.2RC1 - eZ components 2008.2RC1
Reporter Thomas Koch
Responsible Alexandru Stanoi
Status 0 Closed
Resolution Fixed
Created December 3rd, 2008
Updated December 4th, 2008
Resolved December 4th, 2008
 
Navigation [Permanent Link]
Previous Issue
Back to Issues List
Next Issue: #015537
  Graph shows to small and truncated rotated axis labels