#30440 [Opn]: Nested entities cause invalid XML

From: Date: Fri, 15 Oct 2004 15:44:10 +0000
Subject: #30440 [Opn]: Nested entities cause invalid XML
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969364546@lists.php.net to get a copy of this message
ID: 30440 Updated by: nlopess@php.net Reported By: sean@php.net Status: Open Bug Type: Livedocs problem Operating System: n/a PHP Version: Irrelevant New Comment: That should be fixed with one of my patches: http://livedocs.aborla.net/patch.php?id=entities Previous Comments: ------------------------------------------------------------------------ [2004-10-15 06:56:20] sean@php.net Description: ------------ When an entity contains a nested (special character) entity, the handler is not called properly, and this can result in malformed XML. I worked on this for about 30 mins, tonight, and didn't get very far, so no patch, yet. Reproduce code: --------------- http://livedocs.phpdoc.info/ref.regex Expected result: ---------------- <ulink url="http://www.tin.org/bin/man.cgi?section=7&topic=regex"> Actual result: -------------- <ulink url="http://www.tin.org/bin/man.cgi?section=7<phpdoc_include ref="amp"/>topic=regex"> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30440&edit=1

« previous php.doc (#969364546) next »