Incorrect XML / LoadXML - FF


I’m getting an error while loading in FF.

IE works pretty fine!

I tried to parse the generated XML in a online validator. Got an error and add at BOF and EOF.

Still working in IE, but FF not.

I’ve also tried response.setContentType, etc.

By the way, I’m using Java/JSP.

Could you help me?

Thanks in advance.

Best Rgds,


<?xml version="1.0" encoding="iso-8859-1"?>








The tag is unnecessary
Problem with FF probably caused by whitespaces before <?xml declaration - parser of FF will count XML as incorrect if any whitespace encountered before <?xml declaration
So you can

a) check your jsp script, that no whitespace outputed before <?xml declaration


b) remove <?xml ... ?> from your output at all ( by some reason both IE and FF parse XML correctly without <?xml declaration )

Worked great.
But IE stops while removing <?xml ?> declaration.
OK, I’ll get which browser is been used and remove <?xml ?> declaration in case of FF…
Is there any other way?

Thanks once again.

Best Rgrds,
Rafael  Marques

The best solution - locate why whitespace appears in output before <?xml and remove them - this will solve issue and XML will be parsed correctly in both browsers.

Sorry, no whitespace before :frowning:
Used “if browse” solution.
Thanks anyway.


Please try to use attached dhtmlxcommon.js instead of original one - it works the same but tries automatically recover if problem with incorrect file start in ff occurs. (4.99 KB)

No… FF no signal, seems that there is no component inside. No error appears, but no grid to me.
And IE, error at (undefined _isIE ).
I’m sending my js.
Thanks. (5.15 KB)