phpdocumentor 1.4.2 questions / about new bug ?
| From: | Laurent Laville | Date: | Sun, 06 Jul 2008 17:43:16 +0000 |
| Subject: | phpdocumentor 1.4.2 questions / about new bug ? | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-50351@lists.php.net to get a copy of this message | ||
Hi,
While I continue to write documentation for PEAR Manual about PHP_Compatinfo, I've noticed two strange results with PHPDocumentor 1.4.2 generation.
1. See currently TAKAGI host log file [1] about broken generation, and my help request on PEAR doc mailing list.
While I've generated the XML files with command below
phpdoc -c php_compatinfo
Here is the content of config file "php_compatinfo.ini" (without comments to simplify)
[Parse Data]
title = phpDocumentor Manual
hidden = false
parseprivate = off
javadocdesc = off
defaultcategoryname = PHP
defaultpackagename = PHP_CompatInfo
target = c:\php\phpdoc
readmeinstallchangelog = README, INSTALL, FAQ, LICENSE
filename = c:\php\pear\php_compatinfo\compatinfo.php
directory = c:\php\pear\php_compatinfo\compatinfo
output=XML:DocBook/peardoc2:default
sourcecode = on
Generation of file "factory.xml" gave me something strange :
...
<funcprototype>
<funcdef>
<replaceable>
<link linkend="package.php.php-compatinfo.php-compatinfo-renderer-summary">
<classname>object PHP_CompatInfo_Renderer</classname>
</link>
</replaceable>
&
<function>PHP_CompatInfo_Renderer::factory</function>
</funcdef>
...
And probably the origin of one of error summarized here
/usr/bin/onsgmls:./en/package/php/php-compatinfo/php-compatinfo-renderer/factory.xml:18:21:X: reference to non-existent ID "package.php.php-compatinfo.php-compatinfo-renderer-summary"
Is it a new bug of PHPDocumentor ?
2. I cannot understand reason of error message produced by phpdocumentor
ERROR in const_array.php on line 26: global variable $GLOBALS['_PHP_COMP
ATINFO_CONST'] specified in @global tag was never found
See file const_array.php revision 1.12 [2], it seems ok for me ; what's wrong ?
[1] http://peardoc.m-takagi.org/en/build.log
[2] http://cvs.php.net/viewvc.cgi/pear/PHP_CompatInfo/CompatInfo/const_array.php?revision=1.12&content-type=text%2Fplain&pathrev=1.12