Req #51939 [Asn->Opn]: Add xml_set_entity_decl_handler function

From: Date: Tue, 24 Oct 2017 07:11:18 +0000
Subject: Req #51939 [Asn->Opn]: Add xml_set_entity_decl_handler function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212048@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=51939&edit=1

 ID:                 51939
 Updated by:         kalle@php.net
 Reported by:        mchenryc at gmail dot com
 Summary:            Add xml_set_entity_decl_handler function
-Status:             Assigned
+Status:             Open
 Type:               Feature/Change Request
 Package:            XML related
 PHP Version:        trunk-SVN-2010-05-28 (SVN)
-Assigned To:        davidc
+Assigned To:        
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2016-02-15 03:18:54] anrdaemon at freemail dot ru

David, instead of adding "xml_set_entity_decl_handler" as a new function, how about making
it an alias to xml_set_unparsed_entity_decl_handler (or, more precisely, the other way around), and
call xml_set_entity_decl_handler() with $system_id set to entity value for internal entities?

------------------------------------------------------------------------
[2016-02-15 00:45:38] anrdaemon at freemail dot ru

Just fell for this trap by myself.
Internal entity declarations are not handled, and fall into default handler or produce errors
altogether, depends on your parser setup.

------------------------------------------------------------------------
[2011-07-21 09:03:46] davidc@php.net

The following patch has been added/updated:

Patch Name: Bug51939.patch
Revision:   1311253426
URL:        https://bugs.php.net/patch-display.php?bug=51939&patch=Bug51939.patch&revision=1311253426

------------------------------------------------------------------------
[2011-07-21 08:43:50] davidc@php.net

The following patch has been added/updated:

Patch Name: bug51939-3-ws.patch
Revision:   1311252230
URL:        https://bugs.php.net/patch-display.php?bug=51939&patch=bug51939-3-ws.patch&revision=1311252230

------------------------------------------------------------------------
[2011-07-21 08:39:38] davidc@php.net

The following patch has been added/updated:

Patch Name: bug51392-ws
Revision:   1311251978
URL:        https://bugs.php.net/patch-display.php?bug=51939&patch=bug51392-ws&revision=1311251978

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=51939


--
Edit this bug report at https://bugs.php.net/bug.php?id=51939&edit=1


Thread (10 messages)

« previous php.bugs (#212048) next »