#47011 [Opn->Asn]: Missing <? in xml_set_processing_instruction_handler
| From: | bjori@php.net | Date: | Mon, 05 Jan 2009 19:55:46 +0000 |
| Subject: | #47011 [Opn->Asn]: Missing <? in xml_set_processing_instruction_handler | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1696@lists.php.net to get a copy of this message | ||
ID: 47011
Updated by: bjori@php.net
Reported By: RQuadling at GMail dot com
-Status: Open
+Status: Assigned
Bug Type: Doc Build problem
Operating System: Windows XP Pro SP3
PHP Version: Irrelevant
-Assigned To:
+Assigned To: bjori
New Comment:
Crap. I broke it recently.
Previous Comments:
------------------------------------------------------------------------
[2009-01-05 16:44:30] RQuadling at GMail dot com
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 this bug report at http://bugs.php.net/?id=47011&edit=1