[Tickets #6649] Correctly catch errors in Horde::DOM when loading XML

bugs at horde.org bugs at horde.org
Thu Apr 24 15:45:11 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6649
-----------------------------------------------------------------------
 Ticket             | 6649
 Created By         | Gunnar Wrobel <p at rdus.de>
 Summary            | Correctly catch errors in Horde::DOM when loading XML
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Milestone          |
 Patch              |
 Owners             |
+New Attachment     | HK-GW-DOM_errors.patch
-----------------------------------------------------------------------


Gunnar Wrobel <p at rdus.de> (2008-04-24 11:45) wrote:

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.





More information about the bugs mailing list