Project

Profile

Help

Bug #2054

closed

Web server aborts page loading

Added by O'Neil Delpratt about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Category:
PHP API
Start date:
2014-04-17
Due date:
% Done:

100%

Estimated time:
Found in version:
0.2
Fixed in version:
0.3.1
Platforms:

Description

This issue was reported by Petr Žák:

Relates to the close method. When I called close() method on processor's instance, it raise PHP warning : XSLT2 PHP close.

If I tried to create other new instance of SaxonProcessor after calling close processor on instance I used before(eg in cycle - see php attachment), webserver aborts page loading. As PHP programmer, I would except some PHP error, not strange abort of request without any message. If is required to use SaxonProcessor as singleton, so call only once initialization and only once close method, as PHP programmer I would except that this class is singleton by design - as singleton provided from PHP module.


Files

xsltExamples.php (2.01 KB) xsltExamples.php O'Neil Delpratt, 2014-04-17 12:33
jet_err_6457.txt (47.3 KB) jet_err_6457.txt Jeroen Bobbeldijk, 2014-06-13 18:15
jet_err_6235.txt (47.3 KB) jet_err_6235.txt Jeroen Bobbeldijk, 2014-06-13 18:15
jet_err_3135.txt (47.6 KB) jet_err_3135.txt Jeroen Bobbeldijk, 2014-06-13 18:15
jet_err_2478.txt (48.8 KB) jet_err_2478.txt Jeroen Bobbeldijk, 2014-06-13 18:15

Please register to edit this issue

Also available in: Atom PDF