CVS XML parser broken, put back the old one...
| From: | Stefano Bagnara | Date: | Sat, 25 Sep 1999 15:43:25 +0000 |
| Subject: | CVS XML parser broken, put back the old one... | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4910@lists.php.net to get a copy of this message | ||
in xml.c there are callback to the user functions.. they should pass to the user the "XML
parser" RESOURCE instead of the long containing the parser index... here is the code:
if (parser->startElementHandler) {
args[0] = php3i_long_pval(parser->index);
args[1] = php3i_string_pval(name);
in this way i got no handler to the resource but a number... and i cannot manage the xmlparser with
this long.
so i tried to add this line:
args[0]->type = IS_RESOURCE;
in this way the script should get the pointer as a resource, but php crashes...
i'm not familiar with zend and php sources.. so probably it's better that someone else try
to fix this..
i posted the code that shown the problem yesterday. and i done a bug report.