[#6649] Correctly catch errors in Horde::DOM when loading XML
Summary Correctly catch errors in Horde::DOM when loading XML
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners Chuck Hagenbuch <chuck (at) horde (dot) org>
Requester Gunnar Wrobel <p (at) rdus (dot) de>
Created 04/24/2008 (71 days ago)
Due
Updated 04/24/2008 (71 days ago)
Assigned
Resolved 04/24/2008 (71 days ago)
Attachments HK-GW-DOM_errors.patch Download
Milestone
Patch No

History
04/24/2008 Chuck Hagenbuch Comment #2
State ⇒ Resolved
Assigned to Chuck Hagenbuch
Reply to this comment
Committed, thanks!
04/24/2008 Gunnar Wrobel Comment #1
New Attachment: HK-GW-DOM_errors.patch Download
Patch ⇒
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Correctly catch errors in Horde::DOM when loading XML
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Reply to this comment
If a loaded document contains invalid data (such as the load_error.xml 
file in the attached patch) Horde::DOM will generate a PHP warning and 
won't report the error to the outside.

The attached patch is a suggestion to correct this behaviour.