Re: cvs: php4 /ext/domxml php_domxml.c
| From: | Christian Stocker | Date: | Wed, 17 Jul 2002 10:18:48 +0000 |
| Subject: | Re: cvs: php4 /ext/domxml php_domxml.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-12871@lists.php.net to get a copy of this message | ||
Hi
> can you merge this one?
no :) this functionality (useful error reporting) is not in PHP_4_2_0,
since it was added after branching.
chregu
>
> Derick
>
> On Wed, 17 Jul 2002, Christian Stocker wrote:
>
> > chregu Wed Jul 17 04:57:29 2002 EDT
> >
> > Modified files:
> > /php4/ext/domxml php_domxml.c
> > Log:
> > nodename is not always set, check if it really is.
> >
> >
> > Index: php4/ext/domxml/php_domxml.c
> > diff -u php4/ext/domxml/php_domxml.c:1.180 php4/ext/domxml/php_domxml.c:1.181
> > --- php4/ext/domxml/php_domxml.c:1.180 Sat Jul 13 01:53:06 2002
> > +++ php4/ext/domxml/php_domxml.c Wed Jul 17 04:57:29 2002
> > @@ -16,7 +16,7 @@
> > +----------------------------------------------------------------------+
> > */
> >
> > -/* $Id: php_domxml.c,v 1.180 2002/07/13 05:53:06 sniper Exp $ */
> > +/* $Id: php_domxml.c,v 1.181 2002/07/17 08:57:29 chregu Exp $ */
> >
> > /* TODO
> > * - Support Notation Nodes
> > @@ -1382,7 +1382,9 @@
> > }
> > add_assoc_string(errormessages,"errormessage",buf,1);
> > input = ctxt->input;
> > - add_assoc_string(errormessages,"nodename",ctxt->name,1);
> > + if (ctxt->name) {
> > + add_assoc_string(errormessages,"nodename",ctxt->name,1);
> > + }
> > if (input != NULL) {
> > add_assoc_long(errormessages,"line",input->line);
> > add_assoc_long(errormessages,"col",input->col);
> >
> >
> >
> > --
> > PHP CVS Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> ---------------------------------------------------------------------------
> Did I help you?
> http://www.derickrethans.nl/link.php?url=giftlist
> Frequent ranting: http://www.derickrethans.nl/
> ---------------------------------------------------------------------------
> PHP: Scripting the Web - derick@php.net
> All your branches are belong to me!
> SRM: Script Running Machine - www.vl-srm.net
> ---------------------------------------------------------------------------
>
>
>
--
nam...christian stocker adr...bremgartnerstr. 66, ch-8003 zurich
pho...+41 1 451 6021 www...http://phant.ch/chregu
mob...+41 76 561 8860 ema...chregu@phant.ch
wor...+41 1 240 5670 gpg...0x5CE1DECB