FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=14305&edit=1

ID: 14305
Updated by: demon.gene@gmail.com
Reported By: pear at laurent-laville dot org
Summary: Missing/incomplete result for XML DocBook renderer
and @return tag
Status: Open
Type: Bug
Package: PhpDocumentor
Package Version: 1.4.2
PHP Version: 5.2.6
-Roadmap Versions:
+Roadmap Versions: 1.4.3
New Comment:

-Roadmap Versions:
+Roadmap Versions: 1.4.3



Previous Comments:
------------------------------------------------------------------------

[2008-07-07 17:34:07] farell

Description:
------------
With a source with only @return phpdoc tag + variable type, and XML
DocBook converter, the @return tag is not rendered !

Example 1:
* @return array

In this example, no return bloc rendered

Example 2:
* @return array or false on error

In this example the "array" term is not rendered


Expected result:
----------------
Example 1:

<refsect1
id="package.php.php-compatinfo.php-compatinfo-parser.getdirlist.returns">
&title.returns;
<para>
<emphasis>returns</emphasis>
array
</para>
</refsect1>

Example 2:

<refsect1
id="package.php.php-compatinfo.php-compatinfo-parser.getignoredfiles.returns">
&title.returns;
<para>
<emphasis>returns</emphasis>
array or false on error
</para>
</refsect1>

Actual result:
--------------
Example 1:

no refsect1 corresponding to &title.returns; was produced

Example 2:

<refsect1
id="package.php.php-compatinfo.php-compatinfo-parser.getignoredfiles.returns">
&title.returns;
<para>
<emphasis>returns</emphasis>
or false on error
</para>
</refsect1>

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJul 21, '09 at 3:37p
activeJul 21, '09 at 3:37p
posts1
users1
websitepear.php.net

1 user in discussion

Demon Gene: 1 post

People

Translate

site design / logo © 2022 Grokbase