Home » XML » XML_HTMLSax » Bug #1262
Veriosn 2.1.2 result in memory leak
Details
| Submitted | 2004-04-22 15:59 UTC |
|---|---|
| From | sonny at sun dot com |
| Assigned | hfuecks |
| Status | Bogus |
| Package | XML_HTMLSax |
| PHP Version | 4.3.2 |
| OS | Solaris 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.