Re: LoadXML trouble

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx <mailto:danitao.mailists@xxxxxxxxx>> 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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux