Ticket #58 (closed defect: fixed)

Opened 1 year ago

Last modified 9 months ago

Improve error handling in the XML/XSL processor

Reported by: schst Assigned to: mikey
Priority: critical Milestone: 0.3.0
Component: XML/XSL view engine Version: SVN-trunk
Keywords: Cc:

Description

If a main_*.xml file contains invalid XML, the processor will throw strange errors:

Catchable fatal error: Argument 1 passed to stubXSLProcessor::setXMLDocument() must be an instance of DOMDocument, boolean given, called in C:\wamp\www\projects\stubbles\src\main\php\net\stubbles\xml\stubXMLXIncludeStreamWrapper.php on line 172 and defined in C:\wamp\www\projects\stubbles\src\main\php\net\stubbles\xml\xsl\stubXSLProcessor.php on line 76

The same applies to missing images.

The error handling should be improved, as mostly producers will receive those messages.

Change History

06/03/07 17:27:21 changed by schst

  • milestone changed from 0.2.0 to 0.3.0.

XML/XSL component will be part of 0.3.0

08/15/07 17:45:27 changed by mikey

  • status changed from new to assigned.

08/15/07 18:11:03 changed by mikey

Fixed with changeset 842.

08/15/07 18:11:22 changed by mikey

  • status changed from assigned to closed.
  • resolution set to fixed.