#50799 [Opn]: No text mapping for screen
| From: | rquadling@php.net | Date: | Wed, 20 Jan 2010 10:21:55 +0000 |
| Subject: | #50799 [Opn]: No text mapping for screen | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3759@lists.php.net to get a copy of this message | ||
ID: 50799
Updated by: rquadling@php.net
Reported By: pmjones@php.net
Status: Open
Bug Type: Doc Build problem
Operating System: Mac OS X 10.5.8
PHP Version: 5.3.1
New Comment:
Adding debugging to ...
Package_Generic_XHTML::format_programlisting
Package_Generic_XHTML::format_programlisting_text
Package_Generic_XHTML::format_screen
Package_Generic_XHTML::format_screen_text
(methods don't exist in Package_PHP_XHTML, but do in
Package_PEAR_XHTML
Ran a partial build for language.exceptions.
Output shows that format_programlisting and format_screen are called,
but that format_programlisting_text and format_screen_text are never
called.
Even with the textmap declaration.
Previous Comments:
------------------------------------------------------------------------
[2010-01-19 16:43:45] pmjones@php.net
Package_Generic_XHTML has 'screen' correctly mapped to 'format_screen',
but that's not the issue.
The issue is that there is is no *text* mapping for the text of
'screen' elements. Cf. programlisting, which has a
$mytextmap['programlisting'] = 'format_programlisting_text'. Something
similar is needed for 'screen'; e.g., $mytextmap['screen'] =
'format_screen_text' (which exists but is never called, afaict, since
there's no mapping for it).
------------------------------------------------------------------------
[2010-01-19 16:37:22] rquadling@php.net
http://tinyurl.com/yev9q76
------------------------------------------------------------------------
[2010-01-19 16:36:33] rquadling@php.net
http://svn.php.net/viewvc/phd/trunk/phpdotnet/phd/Package/Generic/XHTML.php?view=markup#l211
------------------------------------------------------------------------
[2010-01-19 16:36:10] rquadling@php.net
Package_Generic_XHTML has 'screen' mapped to 'format_screen'.
See
http://svn.php.net/viewvc/phd/trunk/phpdotnet/phd/Package/Generic/XHTML.
php?view=markup#l211
------------------------------------------------------------------------
[2010-01-19 15:57:56] pmjones@php.net
Description:
------------
In Package_Generic_XHTML, the $mytextmap array has no entry for
'screen', meaning that the format_screen_text() method is never called.
Easy fix: add $mytextmap['screen'] = 'format_screen_text'.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50799&edit=1