Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.4

Request #3905 can't parse "." tagnames using func mode
Submitted: 2005-03-21 14:07 UTC Modified: 2005-03-25 12:13 UTC
From: dave dot edelhart at varianinc dot com Assigned: schst
Status: Closed Package: XML_Parser
PHP Version: 4.3.10 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2005-03-21 14: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);

Comments

 [2005-03-21 14:21 UTC] schst
This is an XML_Parser problem, so I'm moving this to XML_Parser...
 [2005-03-25 12:13 UTC] schst
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.