Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Daniel on Dec 28, 2007 11:19
open dhtmlx forum
LoadXML Error on Mozilla Firefox, on IE working?

Hello,

I have a LoadXML Error on Mozilla Firefox on IE is it working.

My PHP Generates this XML Code:
    public function profiletabsAction() {
        $this->_helper->viewRenderer->setNoRender();
        echo "<?xml version=\"1.0\"?>\n";
        echo "<tabbar hrefmode=\"ajax-html\">\n";
        echo "<row>\n";
        echo "<tab id=\"b1\" width='100px' selected=\"1\" href=\"/profile/user?username=". $this->_request->getParam("username") ."\">Profil</tab>\n";
        echo "</row>\n";
        echo "</tabbar>";
    }

Thank you for you help.
Answer posted by Support on Jan 14, 2008 08:32
Please be sure that your php file doesn't produce any output before <?xml tag (any new line or white-space can break XML parsing), this is most common issue of "incorrect XML" error in FF