[Tickets #12164] Horde_Pear doesn't check for XML errors

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Apr 8 13:05:01 UTC 2013


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

Ticket URL: http://bugs.horde.org/ticket/12164
------------------------------------------------------------------------------
  Ticket             | 12164
  Created By         | math.parent at gmail.com
  Summary            | Horde_Pear doesn't check for XML errors
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


math.parent at gmail.com (2013-04-08 13:05) wrote:

When there is an error in Horde_Pear_Package_Xml constructor (mostly  
during ->loadXml), it is printed as a PHP warning and not intercepted.

I'm not sure what should be done, maybe an exception (on fatal errors  
at least).

Attached is an incomplete patch (tell me what to do).



math.parent at gmail.com (2013-04-08 13:05) uploaded: domdocument-errors.diff

http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=domdocument-errors.diff&ticket=12164&fn=%2Fdomdocument-errors.diff





More information about the bugs mailing list