#30440 [Opn->Ana]: Nested entities cause invalid XML

From: Date: Fri, 15 Oct 2004 15:54:59 +0000
Subject: #30440 [Opn->Ana]: Nested entities cause invalid XML
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969364547@lists.php.net to get a copy of this message
ID: 30440 Updated by: sean@php.net Reported By: sean@php.net -Status: Open +Status: Analyzed Bug Type: Livedocs problem Operating System: n/a PHP Version: Irrelevant New Comment: Confirmed that this patch fixes this problem. Could someone with the necessary karma please patch & commit? Thanks, S Previous Comments: ------------------------------------------------------------------------ [2004-10-15 17:44:09] nlopess@php.net That should be fixed with one of my patches: http://livedocs.aborla.net/patch.php?id=entities ------------------------------------------------------------------------ [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 (#969364547) next »