#29837 [Com]: disable-output-escaping = yes, ignored

2004-09-06 Thread plumber at gnu-darwin dot org
 ID:   29837
 Comment by:   plumber at gnu-darwin dot org
 Reported By:  tetsuo at scriptsphp dot org
 Status:   Verified
 Bug Type: XSLT related
 Operating System: Linux
 PHP Version:  5.0.1
 New Comment:

this example like other produces a seg fault


new XsltProcessor


php 5.0.1-darwin

XSL 
enabled 
libxslt Version 
1.1.8 
libxslt compiled against libxml Version 
2.6.11 
EXSLT 
enabled 
libexslt Version 1.1.8


Previous Comments:


[2004-08-27 09:27:31] [EMAIL PROTECTED]

I'll try to have a look at it, when my time permits...



[2004-08-25 16:37:29] tetsuo at scriptsphp dot org

Description:

CDATA sections in XSL templates
that are enclosed
in xsl:text disable-output-escaping=yes give output
that IS escaped but shouldn't be.

I've been testing the transformation with xsltproc and
everything behaves correctly.

libxslt Version 1.1.6 
libxslt compiled against libxml Version 2.6.9

Reproduce code:
---
http://tetsuo.scriptsphp.net:81/XsltTest.php
http://tetsuo.scriptsphp.net:81/xslttest/test.xsl
http://tetsuo.scriptsphp.net:81/xslttest/test.xml

Expected result:

... nbsp; ...

Actual result:
--
... amp;nbsp; ...





-- 
Edit this bug report at http://bugs.php.net/?id=29837edit=1



#28162 [Com]: compile error in gdft.c

2004-08-23 Thread plumber at gnu-darwin dot org
 ID:   28162
 Comment by:   plumber at gnu-darwin dot org
 Reported By:  info at rhalff dot com
 Status:   Open
 Bug Type: Compile Failure
 Operating System: linux
 PHP Version:  5CVS-2004-04-26 (dev)
 New Comment:

platform : php 5.0.1 darwin-ppc-6.8 httpd 1.3 (apple-
natif)

--built-in modules works well 

--built-shared modules works well with-myext=shared,/
usr for php-cli

--but it doesn't work for apache

load_module=php_anybundle.bundle

httpd output :

dyld: /usr/sbin/httpd Undefined symbols:
_OnUpdateLong
_OnUpdateString
_OnUpdateStringUnempty
__array_init
__convert_to_string
__ecalloc
__efree
__emalloc
__erealloc
__estrdup
__estrndup
__object_and_properties_init
__object_init
__object_init_ex
__php_stream_alloc
__php_stream_cast
__php_stream_free
__php_stream_open_wrapper_ex
__php_stream_read
__safe_emalloc
__zend_hash_add_or_update
__zend_hash_index_update_or_next_insert
__zend_hash_init
__zend_list_addref
__zend_list_delete
__zend_list_find
__zval_copy_ctor
__zval_dtor
__zval_ptr_dtor
_add_assoc_long_ex
_add_assoc_null_ex
_add_assoc_string_ex
_add_assoc_stringl_ex
_add_assoc_zval_ex
_add_index_long
_add_index_null
_add_index_string
_add_index_zval
_add_next_index_bool
_add_next_index_string
_add_next_index_stringl
_add_next_index_zval
_add_property_long_ex
_add_property_string_ex
_ap_php_snprintf
_call_user_function_ex
_convert_to_boolean
_convert_to_long
_core_globals
_display_ini_entries
_display_link_numbers
_empty_string

crash :


Command:httpd
PID:18385

Exception:  EXC_BREAKPOINT (0x0006)
Code[0]:0x0001Code[1]:0x8fe01220

Thread 0 Crashed:
 #0   0x8fe01220 in halt
 #1   0x8fe0459c in unload_bundle_image
 #2   0x8fe12308 in _dyld_unlink_module
 #3   0x900b1c44 in NSUnLinkModule
 #4   0x000234a4 in ap_os_dso_unload
 #5   0x2b10 in unload_module
 #6   0x000122cc in run_cleanups
 #7   0x00010d8c in ap_clear_pool
 #8   0x70c4 in standalone_main
 #9   0x7a7c in main
 #10  0x2820 in _start
 #11  0x26a0 in start

PPC Thread State:
  srr0: 0x8fe01220 srr1: 0x0002f030
vrsave: 0x
   xer: 0x   lr: 0x8fe09bd8  ctr: 0x8fe293ac   
mq: 0x
r0: 0x0004   r1: 0xb810   r2: 0x8fe4b400   
r3: 0x03f6
r4: 0x   r5: 0x03f6   r6: 0xb82c   
r7: 0x0002
r8: 0x6f6e005f   r9: 0x  r10: 0x  
r11: 0x000b2e20
   r12: 0x8fe71e0e  r13: 0x  r14: 0x  
r15: 0x
   r16: 0x  r17: 0x  r18: 0x  
r19: 0x
   r20: 0x  r21: 0x  r22: 0x00057048  
r23: 0x
   r24: 0x  r25: 0x00057048  r26: 0x  
r27: 0x
   r28: 0x8fe4841c  r29: 0x8fe484ec  r30: 0x8fe484ec  
r31: 0x8fe0995c

php runs well with apache if i remove (in the php.ini) 
the dynamic load module.


Regards


Previous Comments:


[2004-05-29 04:36:12] ralph at maxsoft dot com

I also saw this bug when compiling the php4 FreeBSD port for version
4.3.6. Following the suggestion in the bug report, I removed

--with-freetype-dir=whatever

 from the top level Makefile, and then everything compiled without
error, with make test reporting only 6 (presumably unrelated) errors,
as follows:
=
TIME END 2004-05-28 22:25:18
=
TEST RESULT SUMMARY
-
Exts skipped:   75
Exts tested :   13
-
Number of tests :  592
Tests skipped   :  256 (43.2%)
Tests warned:0 ( 0.0%)
Tests failed:6 ( 1.0%)
Tests passed:  330 (55.7%)
-
Time taken  :  274 seconds
=

=
FAILED TEST SUMMARY
-
Bug #24773 (unset() of integers treated as arrays causes a crash)
[tests/lang/bug24773.phpt]
Bug #24783 ($key not binary safe in foreach($arr as $key = $val))
[tests/lang/bug24783.phpt]
Bug #25547 (error_handler and array index with function call)
[tests/lang/bug25547.phpt]
Bug #27731 (error_reporing() call inside @ block does not work
correctly) [tests/lang/bug27731.phpt]
Bug #26862 (ob_flush() before output_reset_rewrite_vars() results in
data loss) [ext/session/tests/bug26862.phpt]
Bug #27780 (strtotime(+1 xxx) returns a wrong date/time)
[ext/standard/tests/time/bug27780.phpt]
=

Until today, I have been running the FreeBSD port for version 4.3.5,
which compiled without any problems

#28069 [NEW]: The extension load is broken

2004-04-19 Thread plumber at gnu-darwin dot org
From: plumber at gnu-darwin dot org
Operating system: darwin
PHP version:  4.3.5
PHP Bug Type: Dynamic loading
Bug description:  The extension load is broken

Description:

The extension load is broken dl too and return a empty 
result gdb backtrace gives nothing

Warning: dl(): Unable to load dynamic library /pathext/
some.so (null)

from dl and php.ini

the same report as made even if the .so file are not in 
etx dir

I've test from 4.3.3 src and all is ok




Reproduce code:
---
from ini file

php -m

PHP Warning:  Unknown(): Unable to load dynamic library '/pathext/
some.so' - (null) in Unknown on line 0

if i remove the so file from exte dir it's the same







-- 
Edit bug report at http://bugs.php.net/?id=28069edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28069r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28069r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=28069r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=28069r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28069r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=28069r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=28069r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=28069r=support
Expected behavior:  http://bugs.php.net/fix.php?id=28069r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=28069r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=28069r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=28069r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28069r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=28069r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=28069r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=28069r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28069r=float