Re: Re: XML_Serializer, XML_Tree working in PHP5.1 ?

From: Date: Thu, 19 Jan 2006 08:18:35 +0000
Subject: Re: Re: XML_Serializer, XML_Tree working in PHP5.1 ?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22597@lists.php.net to get a copy of this message
On 19/01/2006, at 7:11 PM, Lukas Smith wrote:
Dan Rossi wrote:
hi there i was wondering if these packages are working in php 5.1.1 ? Im developing on my php 5.1 dev system but it will be used for both php4 and php5 however when i tried to parse a remote document i keept getting an error of unable to open file, and Empty document at XML input line 1 , even though i am giving it a real document. Any ideas ?
serializer seems to work on 5.1.2 regards, Lukas -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Thanks Lukas, sorry i had to dig into the class i had to set a flag to true to parse a file function retrieveXML($url) { $this->_us = &new XML_Unserializer();
        	$this->_us->setOption('parseAttributes', true);
        	$result = $this->_us->unserialize($url,true);
        if (PEAR::isError($result)) {
        	return $result;
        }
        return $this->_us->getUnserializedData();
}

« previous php.pear.general (#22597) next »