|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47679 PhD issue with CDATA
Submitted: 2009-03-16 19:21 UTC Modified: 2012-04-06 17:46 UTC
From: Assigned:
Status: Wont fix Package: Doc Build problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2009-03-16 19:21 UTC]
en/chapters/standards.xml in peardoc uses two times the following line to output "$Id:$" without getting it replaced by CVS/SVN:

 * @version    CVS: ]]>&dollar;<![CDATA[Id:$

The closing and opening CDATA tags lead to closing and opening PHP tags (?> and <?php), c.p. the following pages:

This could (or should?) maybe also be fixed by using another "trick" in the mentioned XML file.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-09 02:19 UTC]
Why not just use $Id$ in the standards.xml source?  Even if the keyword substitution occurs, why not let it appear in the docs?  It'll simply show an example of the $Id$ keyword expanded.

Allowing it would "solve" this bug without needing anything special.
 [2009-09-09 02:24 UTC]
Duplicate report of this bug on PEAR bug #16577.
 [2009-09-09 02:24 UTC]
(that should have been
 [2009-09-09 23:32 UTC]
The file in question is corrected to just use the $Id$ string as-is.  Leaving this bug open on the assumption that its scope is actually PhD's handling of the CDATA close/open pieces.
 [2012-04-06 17:46 UTC]
-Status: Open +Status: Wont fix
 [2012-04-06 17:46 UTC]
Breaking out and in of CDATA section isn't something we can support properly.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Sep 23 22:03:38 2021 UTC