PEAR is archived and read-only

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

Home » XML » XML_Parser » Bug #3905

can't parse "." tagnames using func mode

Details

Request #3905can't parse "." tagnames using func mode
Submitted2005-03-21 19:07 UTC
Fromdave dot edelhart at varianinc dot com
Assignedschst
StatusClosed
PackageXML_Parser
PHP Version4.3.10
Roadmaps(Not assigned)

Comments

[2005-03-21 19:07 UTC] dave dot edelhart at varianinc dot com

Description:
------------
The function handling method chokes on "." names. I found this out while processing Acces-exported XML which has SQL esque tagnames like "subject.address".

I reccommend hacking line 579 of the parser to read

$func = 'xmltag_' . str_replace(".", "_", $elem);