[PHP-CVS] cvs: php-src /ext/xml compat.c

2009-01-12 Thread Scott MacVicar
scottmacMon Jan 12 14:27:39 2009 UTC Modified files: /php-src/ext/xmlcompat.c Log: The previous error was masked by a missing entry, sync them back up. http://cvs.php.net/viewvc.cgi/php-src/ext/xml/compat.c?r1=1.54&r2=1.55&diff_format=u Index: php-sr

[PHP-CVS] cvs: php-src /ext/xml compat.c

2009-01-12 Thread Scott MacVicar
scottmacMon Jan 12 13:36:41 2009 UTC Modified files: /php-src/ext/xmlcompat.c Log: MFB This entry doesn't exist upstream any more, it also caused all error messages to be one off. http://cvs.php.net/viewvc.cgi/php-src/ext/xml/compat.c?r1=1.53&r2=1.5

[PHP-CVS] cvs: php-src /ext/xml compat.c

2009-01-11 Thread Rob Richards
rrichards Sun Jan 11 12:00:31 2009 UTC Modified files: /php-src/ext/xmlcompat.c Log: fix bug #45996 (libxml2 2.7 causes breakage with character data in xml_parse()) http://cvs.php.net/viewvc.cgi/php-src/ext/xml/compat.c?r1=1.52&r2=1.53&diff_format=u I

[PHP-CVS] cvs: php-src /ext/xml compat.c /ext/xml/tests bug46699.phpt

2008-12-11 Thread Rob Richards
rrichards Fri Dec 12 04:15:14 2008 UTC Added files: /php-src/ext/xml/tests bug46699.phpt Modified files: /php-src/ext/xmlcompat.c Log: fix bug #46699: (xml_parse crash when parser is namespace aware) fix a couple warnings

[PHP-CVS] cvs: php-src /ext/xml compat.c /ext/xml/tests bug35447.phpt

2005-12-19 Thread Rob Richards
rrichards Mon Dec 19 14:16:10 2005 EDT Added files: /php-src/ext/xml/tests bug35447.phpt Modified files: /php-src/ext/xmlcompat.c Log: Fixed bug #35447 (xml_parse_into_struct() chokes on the UTF-8 BOM) add test http://cv

[PHP-CVS] cvs: php-src /ext/xml compat.c

2005-10-12 Thread Rob Richards
rrichards Wed Oct 12 09:57:16 2005 EDT Modified files: /php-src/ext/xmlcompat.c Log: use spprintf where appropriate http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1=1.45&r2=1.46&ty=u Index: php-src/ext/xml/compat.c diff -u php-src/ext/xml/compat

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c xml.c

2005-10-12 Thread Jani Taskinen
Excellent! This was great fix! Thanks! (not that any of my code dependended upon it, just the joy of getting long outstanding bug fixed finally :) --Jani On Wed, 12 Oct 2005, Rob Richards wrote: rrichards Tue Oct 11 23:20:14 2005 EDT Modified files: /php-sr

[PHP-CVS] cvs: php-src /ext/xml compat.c xml.c

2005-10-11 Thread Rob Richards
rrichards Tue Oct 11 23:20:14 2005 EDT Modified files: /php-src/ext/xmlcompat.c xml.c Log: Fixed Bug #27908 (xml default_handlers not being called) Fix memleak when entitydecls are parsed remove old ifdefs http://cvs.php.net/diff.php/php-src/ext/xm

[PHP-CVS] cvs: php-src /ext/xml compat.c

2005-07-31 Thread Rob Richards
rrichards Sun Jul 31 13:14:14 2005 EDT Modified files: /php-src/ext/xmlcompat.c Log: SystemID and publicID params reversed in declaration handlers http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1=1.42&r2=1.43&ty=u Index: php-src/ext/xml/compat.c

[PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h /ext/xmlrpc config.m4 /ext/xmlrpc/libxmlrpc xml_element.c xmlrpc.c /main php_compat.h

2005-03-25 Thread Jani Taskinen
sniper Fri Mar 25 22:13:58 2005 EDT Modified files: /php-src/ext/xmlcompat.c expat_compat.h /php-src/ext/xmlrpc config.m4 /php-src/ext/xmlrpc/libxmlrpc xml_element.c xmlrpc.c /php-src/main php_compat.h Log: - Made it possible to buil

[PHP-CVS] cvs: php-src /ext/xml compat.c

2005-03-02 Thread Rob Richards
rrichards Wed Mar 2 13:13:35 2005 EDT Modified files: /php-src/ext/xmlcompat.c Log: Fixed bug #32001 (xml_parse_into_struct() exceeds maximum execution time) http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1=1.40&r2=1.41&ty=u Index: php-src/ext/

[PHP-CVS] cvs: php-src /ext/xml compat.c

2005-02-17 Thread Joe Orton
jorton Thu Feb 17 10:05:18 2005 EDT Modified files: /php-src/ext/xmlcompat.c Log: Declare error_mapping array as static and more const. http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1=1.39&r2=1.40&ty=u Index: php-src/ext/xml/compat.c diff -u php-

[PHP-CVS] cvs: php-src /ext/xml compat.c

2004-12-17 Thread Rob Richards
rrichards Fri Dec 17 07:20:51 2004 EDT Modified files: /php-src/ext/xmlcompat.c Log: Fixed bug #31139 (XML Parser Functions seem to drop & when parsing) http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1=1.38&r2=1.39&ty=u Index: php-src/ext/xml/co

[PHP-CVS] cvs: php-src /ext/xml compat.c

2004-11-21 Thread Rob Richards
rrichards Sun Nov 21 09:25:15 2004 EDT Modified files: /php-src/ext/xmlcompat.c Log: internal entities get expanded if no default handler but cdata handler exists http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1=1.37&r2=1.38&ty=u Index: php-src/

[PHP-CVS] cvs: php-src /ext/xml compat.c

2004-11-18 Thread Rob Richards
rrichards Thu Nov 18 14:59:23 2004 EDT Modified files: /php-src/ext/xmlcompat.c Log: Fixed bug #30061 (xml_set_start_namespace_decl_handler not called) hopefully resolve a bunch of entity issues http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1

[PHP-CVS] cvs: php-src /ext/xml compat.c

2004-11-18 Thread Rob Richards
rrichards Thu Nov 18 13:26:13 2004 EDT Modified files: /php-src/ext/xmlcompat.c Log: Fixed bug #30832 ("!" stripped off comments in xml parser) reset sax->initialized flag when not using SAX2 http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1=1.

[PHP-CVS] cvs: php-src /ext/xml compat.c

2004-11-18 Thread Rob Richards
rrichards Thu Nov 18 11:36:01 2004 EDT Modified files: /php-src/ext/xmlcompat.c Log: fix SAX2 handling to work with libxml 2.6.16 http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1=1.34&r2=1.35&ty=u Index: php-src/ext/xml/compat.c diff -u php-src/

[PHP-CVS] cvs: php-src /ext/xml compat.c

2004-11-13 Thread Rob Richards
rrichards Sat Nov 13 09:32:49 2004 EDT Modified files: /php-src/ext/xmlcompat.c Log: Fixed bug #30566 (attribute namespace URIs are inconsistent when parsing). http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1=1.33&r2=1.34&ty=u Index: php-src/ext

[PHP-CVS] cvs: php-src /ext/xml compat.c xml.c

2004-08-19 Thread Christian Stocker
chregu Thu Aug 19 08:18:25 2004 EDT Modified files: /php-src/ext/xmlcompat.c xml.c Log: fix for bug #29657 xml_* functions throw non descriptive error, compared to php4 fix for bug #29711 libxml and non iso-8859-1. If no encoding specified, it defaults to

[PHP-CVS] cvs: php-src /ext/xml compat.c xml.c

2004-04-07 Thread Rob Richards
rrichards Wed Apr 7 12:24:17 2004 EDT Modified files: /php-src/ext/xmlcompat.c xml.c Log: Fix bug #27821 xml_parse segfaults when xml_set_object called from class method fix memleaks in compat.c http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r

[PHP-CVS] cvs: php-src /ext/xml compat.c

2004-02-24 Thread Rob Richards
rrichards Tue Feb 24 07:03:33 2004 EDT Modified files: /php-src/ext/xmlcompat.c Log: fix win32 compile with libxml 2.6 fix mem leaks http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1=1.30&r2=1.31&ty=u Index: php-src/ext/xml/compat.c diff -u php

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-23 Thread Sterling Hughes
> If noone complains, I'll commit a patch for solution 3 later this > morning, so that it at least compiles again with libxml2.5. If solution > 4 is preferred, we still can add/revert it later. I don't mind ;) > Ok, Solution 4 is prefered. Or Solution 1. Libxml2.5 is the default on most versio

[PHP-CVS] cvs: php-src /ext/xml compat.c

2004-02-23 Thread Christian Stocker
chregu Mon Feb 23 10:54:46 2004 EDT Modified files: /php-src/ext/xmlcompat.c Log: - mixed up name and value... fixed http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1=1.29&r2=1.30&ty=u Index: php-src/ext/xml/compat.c diff -u php-src/ext/xml/compat.

[PHP-CVS] cvs: php-src /ext/xml compat.c

2004-02-23 Thread Christian Stocker
chregu Mon Feb 23 10:43:49 2004 EDT Modified files: /php-src/ext/xmlcompat.c Log: fix attribute handling in combination with sax2 http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1=1.28&r2=1.29&ty=u Index: php-src/ext/xml/compat.c diff -u php-src/ex

[PHP-CVS] cvs: php-src /ext/xml compat.c xml.c

2004-02-23 Thread Christian Stocker
chregu Mon Feb 23 04:19:27 2004 EDT Modified files: /php-src/ext/xmlcompat.c xml.c Log: remove compiler warnings http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1=1.27&r2=1.28&ty=u Index: php-src/ext/xml/compat.c diff -u php-src/ext/xml/compat.c:1.

[PHP-CVS] cvs: php-src /ext/xml compat.c xml.c

2004-02-23 Thread Christian Stocker
chregu Mon Feb 23 03:21:11 2004 EDT Modified files: /php-src/ext/xmlcompat.c xml.c Log: - make it compile with libxml2 2.5 again - disable xml_parser_create_ns with libxml2 2.5 for the time being - the #if s can be removed, once we insist on libxml2 2.6

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Derick Rethans
On Sun, 22 Feb 2004, Rob Richards wrote: > > I'm fine with requiring 2.6, although things could blow up. > > Right, that is what I am afraid of as well. As I mentioned I can live with > it, but prefer not to do this. I've been running with 2.6 since it was out... no weird problems here (but I don

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Andi Gutmans
At 19:25 22/02/2004 -0500, Rob Richards wrote: How much time we looking at between RC1 and a final release? I'd guesstimate a couple of months, around May. Andi -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Christian Stocker
On 2/23/04 1:53 AM, Sterling Hughes wrote: It will never work correctly for option 1. Namespaces in SAX was a 2.6 thing (SAX2). Right, but namespaces just need to work as good as they did in PHP4, we can't lose that compatibility. If it works better - bonus. So what exactly is broken then in c

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Sterling Hughes
> > > It will never work correctly for option 1. Namespaces in SAX was a 2.6 > thing > > > (SAX2). > > > > Right, but namespaces just need to work as good as they did in PHP4, we > > can't lose that compatibility. If it works better - bonus. > > So what exactly is broken then in comparison to PHP

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Rob Richards
> > It will never work correctly for option 1. Namespaces in SAX was a 2.6 thing > > (SAX2). > > Right, but namespaces just need to work as good as they did in PHP4, we > can't lose that compatibility. If it works better - bonus. So what exactly is broken then in comparison to PHP4? From the size

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Sterling Hughes
> > > > 1) fix the code, so that it works with 2.5.x correctly as well > > > > 2) make 2.6.x a prerequisite > > > > 3) disable xml_parser_create_ns for 2.5.x > > > > 4) use broken code for 2.5.x and fixed code for 2.6.x > > > > 5) revert to yesterdays situation (broken for all...) > > > > I prefer

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Rob Richards
> > > 1) fix the code, so that it works with 2.5.x correctly as well > > > 2) make 2.6.x a prerequisite > > > 3) disable xml_parser_create_ns for 2.5.x > > > 4) use broken code for 2.5.x and fixed code for 2.6.x > > > 5) revert to yesterdays situation (broken for all...) > > I prefer 3. simply add

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Sterling Hughes
> Hello Christian, > > Sunday, February 22, 2004, 11:59:34 PM, you wrote: > > > Ok > > > there are 5 different solutions now to this problem > > > 1) fix the code, so that it works with 2.5.x correctly as well > > 2) make 2.6.x a prerequisite > > 3) disable xml_parser_create_ns for 2.5.x > > 4)

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Marcus Boerger
Hello Christian, Sunday, February 22, 2004, 11:59:34 PM, you wrote: > Ok > there are 5 different solutions now to this problem > 1) fix the code, so that it works with 2.5.x correctly as well > 2) make 2.6.x a prerequisite > 3) disable xml_parser_create_ns for 2.5.x > 4) use broken code for 2.5

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Sterling Hughes
> Ok > > there are 5 different solutions now to this problem > > 1) fix the code, so that it works with 2.5.x correctly as well > 2) make 2.6.x a prerequisite > 3) disable xml_parser_create_ns for 2.5.x > 4) use broken code for 2.5.x and fixed code for 2.6.x > 5) revert to yesterdays situation (b

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Andi Gutmans
At 14:10 22/02/2004 -0500, Rob Richards wrote: On Sunday 22 February 2004 01:36 pm, Sterling Hughes wrote: > > Mmmh > > > > too bad, will try to find a solution for libxml2 < 2.6 > > > > I know, it's late in the release process, but the "old" implementation > > didn't recognise default namespaces,

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Christian Stocker
Ok there are 5 different solutions now to this problem 1) fix the code, so that it works with 2.5.x correctly as well 2) make 2.6.x a prerequisite 3) disable xml_parser_create_ns for 2.5.x 4) use broken code for 2.5.x and fixed code for 2.6.x 5) revert to yesterdays situation (broken for all...)

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Rob Richards
On Sunday 22 February 2004 01:36 pm, Sterling Hughes wrote: > > Mmmh > > > > too bad, will try to find a solution for libxml2 < 2.6 > > > > I know, it's late in the release process, but the "old" implementation > > didn't recognise default namespaces, which broke quite some ext/xml > > scripts from

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Christian Stocker
On 2/22/04 7:36 PM, Sterling Hughes wrote: Mmmh too bad, will try to find a solution for libxml2 < 2.6 I know, it's late in the release process, but the "old" implementation didn't recognise default namespaces, which broke quite some ext/xml scripts from php4 days and I'd like to have fixed

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Sterling Hughes
> Mmmh > > too bad, will try to find a solution for libxml2 < 2.6 > > I know, it's late in the release process, but the "old" implementation > didn't recognise default namespaces, which broke quite some ext/xml > scripts from php4 days and I'd like to have fixed that before 5.0.0 > In the mea

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Christian Stocker
Mmmh too bad, will try to find a solution for libxml2 < 2.6 I know, it's late in the release process, but the "old" implementation didn't recognise default namespaces, which broke quite some ext/xml scripts from php4 days and I'd like to have fixed that before 5.0.0 chregu On 2/22/04 7:34 P

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Rob Richards
This change requires libxml 2.6 in order to work (and compile). Rob On Sunday 22 February 2004 01:05 pm, Christian Stocker wrote: > Hi > > mmmh, forget about that... I used 2.6.2, will test on 2.5.10 later > > chregu > > On 2/22/04 6:55 PM, Sterling Hughes wrote: > > What version of libxml2 does

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Adam Maccabee Trachtenberg
On Sun, 22 Feb 2004, Christian Stocker wrote: > mmmh, forget about that... I used 2.6.2, will test on 2.5.10 later I think SAX2 support began with 2.6.0, but maybe you can enable SAX 1 usage for older version? -adam -- [EMAIL PROTECTED] author of o'reilly's php cookbook avoid the holiday rush,

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Christian Stocker
Hi mmmh, forget about that... I used 2.6.2, will test on 2.5.10 later chregu On 2/22/04 6:55 PM, Sterling Hughes wrote: What version of libxml2 does this rely on? -Sterling chregu Sun Feb 22 12:51:02 2004 EDT Modified files: /php-src/ext/xml compat.c expat_compat.h Log:

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Sterling Hughes
What version of libxml2 does this rely on? -Sterling > chreguSun Feb 22 12:51:02 2004 EDT > > Modified files: > /php-src/ext/xml compat.c expat_compat.h > Log: > Fix broken Namespace support, use libxml2 namespace methods instead of > homebrown soluti

[PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2004-02-22 Thread Christian Stocker
chregu Sun Feb 22 12:51:02 2004 EDT Modified files: /php-src/ext/xmlcompat.c expat_compat.h Log: Fix broken Namespace support, use libxml2 namespace methods instead of homebrown solution: - default namespaces are recognized - different namespaces with s

[PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2003-12-19 Thread Wez Furlong
wez Fri Dec 19 11:57:37 2003 EDT Modified files: /php-src/ext/xmlcompat.c expat_compat.h Log: Export expat compat functions. "Implement" XML_GetCurrentByteCount(); probably not 100% correct, but the only usage of it is by xmlrpc extension when reporti

[PHP-CVS] cvs: php-src /ext/xml compat.c

2003-12-05 Thread Moriyoshi Koizumi
moriyoshi Fri Dec 5 05:54:00 2003 EDT Modified files: /php-src/ext/xmlcompat.c Log: xmlCtxtSetOptions() isn't available in the versions up to 2.6.x # Thanks Rob Index: php-src/ext/xml/compat.c diff -u php-src/ext/xml/compat.c:1.22 php-src/ext/xml

Re: [PHP-CVS] cvs: php-src /ext/xml compat.c /main php_compat.h

2003-12-05 Thread Rob Richards
You're using functions which only exist in the libxml 2.6 branch. Unless the mimimun libxml version is being bumped up again, Ilia's bug fix was better since it worked for both branches. Rob From: Moriyoshi Koizumi > moriyoshi Fri Dec 5 05:11:07 2003 EDT > > Modified files: > /php-src/ma

[PHP-CVS] cvs: php-src /ext/xml compat.c /main php_compat.h

2003-12-05 Thread Moriyoshi Koizumi
moriyoshi Fri Dec 5 05:11:07 2003 EDT Modified files: /php-src/main php_compat.h /php-src/ext/xmlcompat.c Log: Fix libexpat build. Improve replaceEntities patch. Index: php-src/main/php_compat.h diff -u php-src/main/php_compat.h:1.18 p

[PHP-CVS] cvs: php-src /ext/xml compat.c

2003-11-23 Thread Moriyoshi Koizumi
moriyoshi Mon Nov 24 01:04:40 2003 EDT Modified files: /php-src/ext/xmlcompat.c Log: Partial fix for bug #25803 (xml_get_current_byte_index() always returns 0) Index: php-src/ext/xml/compat.c diff -u php-src/ext/xml/compat.c:1.19 php-src/ext/xml/com

[PHP-CVS] cvs: php-src /ext/xml compat.c expat_compat.h

2003-09-29 Thread Rob Richards
rrichards Mon Sep 29 07:35:40 2003 EDT Modified files: /php-src/ext/xmlexpat_compat.h compat.c Log: fix for bug #25666 (XML namespaces broken in PHP5) Index: php-src/ext/xml/expat_compat.h diff -u php-src/ext/xml/expat_compat.h:1.12 php-src/ext/xml/exp

[PHP-CVS] cvs: php-src /ext/xml compat.c

2003-08-22 Thread Wez Furlong
wez Fri Aug 22 11:04:30 2003 EDT Modified files: /php-src/ext/xmlcompat.c Log: allow building without libxml2 under win32 Index: php-src/ext/xml/compat.c diff -u php-src/ext/xml/compat.c:1.16 php-src/ext/xml/compat.c:1.17 --- php-src/ext/xml/compat.c:1.1

[PHP-CVS] cvs: php-src /ext/xml compat.c

2003-06-29 Thread Sterling Hughes
sterlingSun Jun 29 14:26:23 2003 EDT Modified files: /php-src/ext/xmlcompat.c Log: fix libxml2 when dealing with character data Index: php-src/ext/xml/compat.c diff -u php-src/ext/xml/compat.c:1.15 php-src/ext/xml/compat.c:1.16 --- php-src/ext/xml

[PHP-CVS] cvs: php-src /ext/xml compat.c

2003-06-25 Thread Sterling Hughes
sterlingThu Jun 26 00:08:54 2003 EDT Modified files: /php-src/ext/xmlcompat.c Log: some friendly names... Index: php-src/ext/xml/compat.c diff -u php-src/ext/xml/compat.c:1.14 php-src/ext/xml/compat.c:1.15 --- php-src/ext/xml/compat.c:1.14 S