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

Request #2650 Multiple key attributes
Submitted: 2004-10-29 21:52 UTC
From: ylf at xung dot org Assigned: schst
Status: Closed Package: XML_Serializer
PHP Version: 4.3.4 OS: Linux Debian
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 35 - 9 = ?

 
 [2004-10-29 21:52 UTC] ylf at xung dot org
Description: ------------ It would be very nice if the XML_Unserializer 'keyAttribute' option could also be passed an associative array of tag/attribute couples. with a value of array ('tag1' => 'attr1', 'tag2' => 'attr2') an xml document like : <root> <tag1 attr1='A'> <tag2 attr2='B'> cdata </tag2> </tag1> </root> would produce : array ('A' => array ('B' => 'cdata'));

Comments

 [2004-11-06 15:51 UTC] schst
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/XML_Serializer