#47011 [NEW]: Missing <? in xml_set_processing_instruction_handler
| From: | RQuadling at GMail dot com | Date: | Mon, 05 Jan 2009 16:44:30 +0000 |
| Subject: | #47011 [NEW]: Missing <? in xml_set_processing_instruction_handler | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-1694@lists.php.net to get a copy of this message | ||
From: RQuadling at GMail dot com
Operating system: Windows XP Pro SP3
PHP version: Irrelevant
PHP Bug Type: Doc Build problem
Bug description: Missing <? in xml_set_processing_instruction_handler
Description:
------------
In
phpdoc/en/reference/xml/functions/xml_set_processing_instruction_hand
ler.xml, there is an informal example ...
<informalexample>
<programlisting><?<replaceable>target</replaceable>
<replaceable>data</replaceable>?>
</programlisting>
</informalexample>
When built using phd, this becomes ...
<div class="informalexample">
<div class="example-contents"><?<span
class="replaceable">target</span>
<span class="replaceable">data</span>?><br />
</div>
The < is no longer escaped.
As such, online this looks like ...
target data?>
and when compiling the CHM you get an error ...
HHC3004: Warning: function.xml-set-processing-instruction-
handler.html : The HTML tag "?<span class="replaceable"" is not a
valid HTML tag (it does not begin with an alphanumeric character).
The <? is coming through unescaped and IE/FF/Chrome think it is
broken HTML and the CHM compiler is also just as confused.
This is not a duplicate of http://bugs.php.net/bug.php?id=34281
--
Edit bug report at http://bugs.php.net/?id=47011&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47011&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47011&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47011&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47011&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47011&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47011&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47011&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47011&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47011&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47011&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47011&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47011&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47011&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47011&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47011&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47011&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47011&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47011&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47011&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47011&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47011&r=mysqlcfg