|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-08-04 12:01 UTC] 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 10:00:01 2026 UTC |
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