ID: 30440 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Analyzed Bug Type: Livedocs problem Operating System: n/a PHP Version: Irrelevant Assigned To: iliaa New Comment:
I applied the patch and with French doc there are a lot of accents... (é à ...) I got only a Warning (the page is displayed but crash only at the special character) : XML: 1:33 Invalid character Line: 1 is <div><div class="function_link"><function>pg_affected_rows</function> - Retourne le nombre de lignes affectées</div> <div><div class="function_link"><function>pg_affected_rows</function> - Retourne le nombre de lignes affectées</div> <div class="function_link"><function>pg_cancel_query</function> - Annule une requête asynchrone</div> ... It seems that it is only for displaying functions at the end of a reference.xml file Example : fr/ref.pgsql.html Previous Comments: ------------------------------------------------------------------------ [2004-10-15 17:54:58] [EMAIL PROTECTED] Confirmed that this patch fixes this problem. Could someone with the necessary karma please patch & commit? Thanks, S ------------------------------------------------------------------------ [2004-10-15 17:44:09] [EMAIL PROTECTED] That should be fixed with one of my patches: http://livedocs.aborla.net/patch.php?id=entities ------------------------------------------------------------------------ [2004-10-15 06:56:20] [EMAIL PROTECTED] 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