ID: 24674 Updated by: [EMAIL PROTECTED] Reported By: ohlesbeauxjours at yahoo dot fr -Status: Feedback +Status: No Feedback Bug Type: XSLT related Operating System: Win 2000 / Win XP PHP Version: 5.0.0b1 (beta1) New Comment:
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2003-07-16 12:13:24] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Under windows you will definitely run into the issue in Bug #24661 once upgrading. The method names have also changed in xsl since beta1. i.e. it is now importStylesheet(). Same naming convention for other methods. ------------------------------------------------------------------------ [2003-07-16 06:41:02] ohlesbeauxjours at yahoo dot fr Description: ------------ While correcting the bug #24634 (which also concerns import_stylesheet method), it might be useful to prevent PHP from crashing, when you import a not well-formed stylesheet. Reproduce code: --------------- $dom2->loadxml(implode(file("index.xml"))); $dom->loadxml(implode(file("index.xsl"))); $proc->import_stylesheet($dom); ... since there is a just a warning if the file "index.xsl" is badly formed, the script continues to execute, and crashes the line after, when importing the structure with import_stylesheet. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24674&edit=1