Mantis - Quercus
Viewing Issue Advanced Details
3476 block always 05-05-09 11:37 10-14-09 16:26
jredden  
nam  
urgent  
closed 3.1.8  
fixed  
none    
none 4.0.2  
0003476: (really version 3.1.9) failure in simplexml_load_string()
Failure of simplexml_load_string() function. This works properly in version 3.1.5 and fails in version 3.1.9. This prevented us (thus the blocker) from upgrading from version 3.1.3 to 3.1.9.

See attached file, index.php, that should be parsed correctly. Here is the code that was used to capture the attached document:

printf("xmls: %s ::::\n", $content);

        

$this->xmls = simplexml_load_string($this->content);
printf("xmls: %s ::::\n", $this->xmls->dealerShip->details->entry->value->name);


For 3.1.5, $this->xmls->dealerShip->details->entry->value->name resolves correctly. In 3.1.9 it fails. It seems that simplexml_load_string is failing at certain nested levels.
 index.php [^] (34,852 bytes) 05-05-09 11:37

Notes
(0004264)
nam   
10-14-09 16:26   
php/1x27