PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » XML » XML_HTMLSax » Bug #1262

Veriosn 2.1.2 result in memory leak

Details

Submitted2004-04-22 15:59 UTC
Fromsonny at sun dot com
Assignedhfuecks
StatusBogus
PackageXML_HTMLSax
PHP Version4.3.2
OSSolaris 9
Roadmaps(Not assigned)

Comments

[2004-04-22 15:59 UTC] sonny at sun dot com

Description:
------------
If parse an HTML Form with textareas there will not be displayed.
hidden,text,button,select and so on works but textarea not.

Reproduce code:
---------------
function openHandler( &$parser, $name, $attrs ) {
if ( strtolower($name) == 'TEXTAREA' ) {
$attrs = array_change_key_case($attrs);
$this->_return['form_elemets'][$attrs[name]] = array(
'type' => $attrs['type'],
'name' => $attrs['name'],
'value' => $attrs['value']
);
}
}

$this->_return is here empty.

Expected result:
----------------
return of textarea values as well.

[2004-06-04 07:39 UTC] sonny at sun dot com

I found my failure.
Sorry for this one.