php.net |  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: wiesemann@php.net Assigned:
Status: Wont fix Package: Doc Build problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-03-16 19:21 UTC] wiesemann@php.net
Description:
------------
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:
http://pear.php.net/manual/en/standards.header.php
http://pear.php.net/manual/en/standards.sample.php

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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-09 02:19 UTC] ashnazg@php.net
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] ashnazg@php.net
Duplicate report of this bug on PEAR bug #16577.
 [2009-09-09 02:24 UTC] ashnazg@php.net
(that should have been http://pear.php.net/bugs/bug.php?id=16577)
 [2009-09-09 23:32 UTC] ashnazg@php.net
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] bjori@php.net
-Status: Open +Status: Wont fix
 [2012-04-06 17:46 UTC] bjori@php.net
Breaking out and in of CDATA section isn't something we can support properly.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 20:01:28 2024 UTC