Problem loading XML in new version dhtmlXCombo

Hi,
A few years back I experimented with the dhtmlXCombo and I wanted to try it for a new site. So I used my old code and it worked fine. After downloading the new version of dhtmlXCombo I get an error on the same xml, which works fine with an old version of dhtmlXCombo. This is the error I get:

Error type: LoadXML
Description: Incorrect XML

This is the link to the file that retreives data from the database (search on “den” to get results) and generates the XML:

bizzline.nl/combo/loadCity.asp?mask=den

As you can see in the link below, it works fine on an old version of dhtmlXCombo:

bizzline.nl/combo/searchold.asp

But I get the error on the new version:

bizzline.nl/combo/search.asp

Please help me out.

Kind regards,
Edward

There are following issues:

  • a white space before <?xml declaration
  • tags are without value attribute

Please have a look at the article:
docs.dhtmlx.com/doku.php?id=othe … orrect_xml

Hi Alexandra,
Thanks for your quick reply. Unfortunately I still have the problem. I removed the whitespace and added the value attribute to the option tags. I also checked the “Incorrect XML” part in the link you sent, but I couldn’t find anything.

Please let me know if you can find any other modification that might help.

Kind regards,
Edward

Hi,

If you type “d”, the following parameters are sent to the server:
bizzline.nl/combo/loadCity.a … 1632745384

bizzline.nl/combo/loadCity.asp script generates xml for “den”, but doesn’t for “d”.

Hi Alexandra,
That solved the problem. Thanks a lot!
Kind regards,
Edward