From:             [EMAIL PROTECTED]
Operating system: n/a
PHP version:      Irrelevant
PHP Bug Type:     Livedocs problem
Bug description:  Nested entities cause invalid XML

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 bug report at http://bugs.php.net/?id=30440&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30440&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30440&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30440&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30440&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30440&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30440&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30440&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30440&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30440&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30440&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30440&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30440&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30440&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30440&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30440&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30440&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30440&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30440&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30440&r=mysqlcfg

Reply via email to