For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > August 2007 > #37254 [Opn->WFx]: Empty entities are not matched properly









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #37254 [Opn->WFx]: Empty entities are not matched properly
philip@php.net

2007-08-25, 4:01 am

ID: 37254
Updated by: philip@php.net
Reported By: dave@php.net
-Status: Open
+Status: Wont fix
Bug Type: Livedocs problem
PHP Version: Irrelevant
New Comment:

Livedocs is no longer in development, the current build system is
titled PhD.

Note: There is no such problem in PhD.


Previous Comments:
------------------------------------------------------------------------

[2006-05-01 02:54:51] dave@php.net

Description:
------------
Due to using + instead of * in a regex, empty entities ('') are not
matched properly in mkindex.php. Case in point:
phpdoc/en/contributors.ent &frontpage.editors; Results in an E_NOTICE in
bookinfo. Eg: http://livedocs.phpdoc.info/index.php?l=en&q=bookinfo

Patch is available here:
http://www.powertrip.co.za/livedocs...ch.php?patch=23

Patch also adds code to prevent the E_NOTICE from occurring and instead
puts a HTML comment.



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


--
Edit this bug report at http://bugs.php.net/?id=37254&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com