Req #48080 [Fbk->NoF]: Add support for forcing DOM to validate a DOMDocument with a DTD
| From: | php-bugs at lists dot php dot net | Date: | Sun, 18 Jul 2021 04:22:08 +0000 |
| Subject: | Req #48080 [Fbk->NoF]: Add support for forcing DOM to validate a DOMDocument with a DTD | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-235123@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=48080&edit=1
ID: 48080
Updated by: php-bugs@lists.php.net
Reported by: jose dot rob dot jr at gmail dot com
Summary: Add support for forcing DOM to validate a DOMDocument
with a DTD
-Status: Feedback
+Status: No Feedback
Type: Feature/Change Request
Package: DOM XML related
PHP Version: 5.2.9
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2021-07-07 13:43:37] cmb@php.net
No more comments for more than ten years. Can I assume that this
request is sufficiently resolved with the introduction of
libxml_set_external_entity_loader(), or not?
------------------------------------------------------------------------
[2011-09-08 09:55:23] cataphract@php.net
The particular solution enunciated in this request for handling the external external DTD is not
implemented, but you can now intercept the loading of such external entity with the external entity
loader. See https://svn.php.net/viewvc/php/php-src/trunk/ext/libxml/tests/libxml_set_external_entity_loader_basic.phpt?revision=315672&view=markup
------------------------------------------------------------------------
[2011-09-08 09:49:11] bjori@php.net
Gustavo; So this is fixed?
------------------------------------------------------------------------
[2011-08-29 05:08:32] cataphract@php.net
Added libxml_set_external_entity_loader() in PHP 5.4/trunk, which also solves this problem.
------------------------------------------------------------------------
[2010-10-31 12:49:50] php at example dot com
It should also be noted that this affects any DOMDocuments using the standard XHTML SystemIDs. The
W3C decided to block all requests to their URIs. See http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic
------------------------------------------------------------------------
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=48080
--
Edit this bug report at https://bugs.php.net/bug.php?id=48080&edit=1