Incorrect XML

Hi Guys,

I am trying to use dhtmlXtree to render folder structure using an xml file that is hosted on a webserver. And stuck here as it is giving the below errors in firebug( I am using Firefox 3.6.18)

Error type: LoadXML
Description: Incorrect XML
Error type: DataStructure
Description: XML refers to not existing parent

Below is the javascript that I am using in my jsp

I am new to dhtmlxtree and I just followed the tutorial. Even the xml file that I used is from the tutorial provided.

Any idea what I am doing wrong here?

Thanks,
Ram

Please check docs.dhtmlx.com/doku.php?id=othe … mon_errors

I see the same error in Chrome but not in Firefox or IE
Is there any way to make it work in Chrome?
Thanks
Andy

Please check the docs that Olga recommended. If you’re sure that everything is correctly done, please attach the xml that causes the issue.

Here is the xml.

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









The code that reads the xml is straight out of the samples:


It works fine in Firefox but fails in Chrome with an error “Error type: Load XML. Description: Incorrect XML” and a second error “Error type: DataStructure” Description: Xml refers to not existing parent"
Chrome version is “15.0.874.106 m” on Windows XP
Thanks
Andy

The xml is correctly loaded in Chrome. I have attached the xml we tested
test.zip (297 Bytes)

Interesting… the xml you sent does not load for me.
Could you please send your html?
Thanks
Andy

Please make sure if you are loading sample from any kind of server

Not sure what you mean… I run it locally, same code works in Firefox but fails in Chrome.
Could you please send me the code and xml that works for you in Chrome?
Thanks
Andy