Re: [PHP-DEV] [PATCH] disable xml element handler -- with patch

2004-12-10 Thread Dan Torop
On Fri, 10 Dec 2004 09:18:09 +0100 (CET), Derick Rethans <[EMAIL PROTECTED]> wrote: > > THis one looks messed up, please provide a link to the patch. > > Derick Try: http://www.panix.com/~dtorop/xml_handler.patch -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

[PHP-DEV] [PATCH] disable xml element handler -- with patch

2004-12-09 Thread Dan Torop
Apologies for further ignorance, the attachment seems to be dropped by news server? It is: --- ext/xml/xml.c.orig 2004-12-09 03:10:00.0 -0500 +++ ext/xml/xml.c 2004-12-09 03:28:24.0 -0500 @@ -396,6 +396,13 @@ zval_ptr_dtor(handler); } +

[PHP-DEV] [PATCH] disable xml element handler

2004-12-09 Thread Dan Torop
Attached is a patch to make allow disabling element handlers in the xml extension. The documentation for xml_set_default_handler, xml_set_element_handler, xml_set_external_entity_ref_handler, etc. states "If a handler function is set to an empty string, or FALSE, the handler in question is disable