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

Request #16629 Use XML_Serializer, not XML_Tree
Submitted: 2009-09-21 05:58 UTC
From: doconnor Assigned:
Status: Open Package: XML_FOAF (version CVS)
PHP Version: 5.3.0 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2009-09-21 05:58 UTC] doconnor (Daniel O'Connor)
Description: ------------ We need to use XML_Serializer, not XML_Tree ---------- Find in Files ---------- "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(72,20): * @var object XML_Tree object containing the FOAF RDF/XML Tree "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(82,28): * @var array Contains XML_Tree Child nodes for all FOAF elements "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(87,20): * @var object XML_Tree object for the FOAF "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(89,10): var $xml_tree = null; "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(108,24): $this->xml_tree = new XML_Tree; "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(109,43): $this->foaf =& $this->xml_tree->getTreeFromString($foaf); "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(149,16): $this->xml_tree = new XML_Tree; "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(154,35): $this->foaf =& $this->xml_tree->addRoot('foaf:Group'); "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(157,35): $this->foaf =& $this->xml_tree->addRoot('foaf:Organization'); "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(160,35): $this->foaf =& $this->xml_tree->addRoot('foaf:Agent'); "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(163,35): $this->foaf =& $this->xml_tree->addRoot('foaf:Person'); "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(1112,54): * @param mixed &$membership_class XML String or XML_Tree/XML_Tree_Node object "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(1124,40): $membership_tree = new XML_Tree; "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(1178,15): * Add an XML_Tree, XML_Tree_Node object or XML String to the FOAF "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(1180,23): * @param mixed &$xml_tree XML_Tree, XML_Tree_Node or XML String "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(1185,25): function addChild(&$xml_tree) "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(1187,23): if (is_array($xml_tree)) { "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(1188,28): if (is_string($xml_tree['xml'])) { "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(1189,29): $tree = new XML_Tree; "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(1190,43): $tree->getTreeFromString($xml_tree['xml']); "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(1191,18): $xml_tree['child']->addChild($tree); "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(1193,18): $xml_tree['child']->addChild($xml_tree['xml']); "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(1196,28): if (is_string($xml_tree)) { "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(1197,29): $tree = new XML_Tree; "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(1198,43): $tree->getTreeFromString($xml_tree); "c:\work\pear\packages\XML_Foaf\trunk\FOAF.php"(1201,40): $this->foaf->addChild($xml_tree); "c:\work\pear\packages\XML_Foaf\trunk\package.php"(41,26):$package->addDependency('XML_Tree', '1.1', 'ge', 'pkg', false); "c:\work\pear\packages\XML_Foaf\trunk\package2.php"(57,49):$package->addPackageDepWithChannel('required', 'XML_Tree', 'pear.php.net', '1.1'); 28 occurrences have been found in 3 files. Output completed (0 sec consumed)

Comments