#47011 [Asn->Csd]: Missing <? in xml_set_processing_instruction_handler

From: Date: Wed, 07 Jan 2009 18:08:02 +0000
Subject: #47011 [Asn->Csd]: Missing <? in xml_set_processing_instruction_handler
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1702@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: Assigned +Status: Closed Bug Type: Doc Build problem Operating System: Windows XP Pro SP3 PHP Version: Irrelevant Assigned To: bjori New Comment: This bug has been fixed in CVS. Since the websites are not directly updated from the CVS server, the fix might need some time to spread across the globe to all mirror sites, including PHP.net itself. Thank you for the report, and for helping us make PHP.net better. No releases affected, fortunately. Previous Comments: ------------------------------------------------------------------------ [2009-01-05 19:55:45] bjori@php.net Crap. I broke it recently. ------------------------------------------------------------------------ [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>&lt;?<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

« previous php.doc.bugs (#1702) next »