Re: LoadXML trouble

From: Date: Mon, 10 Dec 2007 16:40:50 +0000
Subject: Re: LoadXML trouble
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-265611@lists.php.net to get a copy of this message
I've checked $request previously and is not empty... it has something like: <?xml version="1.0"?> <response> <ticketID>1197026188_ec76</ticketID> <status>KO</status> <errCode>500</errCode> <errMsg>Internal Server Error</errMsg> </response> The curious thing is that I've built this xml string with DOMDocument in my request... Then I suppose my Linux system has DOM support, Nathan Nobbe escribió:
On Dec 10, 2007 4:48 AM, Dani Castaños <danitao.mailists@gmail.com <mailto:danitao.mailists@gmail.com>> wrote:
    Hi list!
    I have a problem with DOMDocument loadXML method. I used Windows to
    develop my applications, and nothing happens on it when i do
    something like
    $xml = new DOMDocument();
    $xml->loadXML( $request );
    Obviously, request is not empty...
have you checked the contents of $request on the production machine prior to the invocation of loadXML() ?
    But when I have upload this code to production machine ( which runs
    under Debian ) it doesn't works properly, The DOMDocument Object
    is empty...
are the systems running the same major version of php; and have you verified the linux system has DOM support? -nathan


« previous php.general (#265611) next »