|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47011 Missing <? in xml_set_processing_instruction_handler
Submitted: 2009-01-05 16:44 UTC Modified: 2009-01-07 18:08 UTC
From: RQuadling at GMail dot com Assigned: bjori (profile)
Status: Closed Package: Doc Build problem
PHP Version: Irrelevant OS: Windows XP Pro SP3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
3 + 11 = ?
Subscribe to this entry?

 [2009-01-05 16:44 UTC] RQuadling at GMail dot com
ler.xml, there is an informal example ...


When built using phd, this becomes ...

<div class="informalexample">
    <div class="example-contents"><?<span 
     <span class="replaceable">data</span>?><br />

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-01-05 19:55 UTC]
Crap. I broke it recently.
 [2009-01-07 18:08 UTC]
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 itself.

Thank you for the report, and for helping us make better.

No releases affected, fortunately.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Dec 07 05:01:29 2023 UTC