Doc #55360 [Opn->Ana]: No XSL Error Handling in PHP5

From: Date: Thu, 03 Jan 2013 19:45:00 +0000
Subject: Doc #55360 [Opn->Ana]: No XSL Error Handling in PHP5
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9348@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55360&edit=1 ID: 55360 Updated by: philip@php.net Reported by: osweb at ithink dot ch Summary: No XSL Error Handling in PHP5 -Status: Open +Status: Analyzed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: That quote is from a user comment. I suspect they wanted to write an example but not worry about whether, for example, $xslDoc is an object. So if ($foo) { $foo- >bar(); } vs simply $foo->bar(); However, it's a reasonable request. We should add an example that utilizes ext/libxml for error handling here. See: http://php.net/manual/en/book.libxml.php Previous Comments: ------------------------------------------------------------------------ [2011-08-04 12:01:09] osweb at ithink dot ch Description: ------------ --- From manual page: http://www.php.net/xsl.examples --- The above page states that “For the sake of simplicity there's no error handling on this code”, which suggests that error handling would have been possible. But there seems to be no error handling possible whatsoever in PHP5 XSL processing. Expected result: ---------------- Documentation on how to obtain an output of errors from XSLTProcessor. Actual result: -------------- No documentation on error handling. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55360&edit=1

« previous php.doc.bugs (#9348) next »