1
votes

I am migrating my Delphi 7 code to Delphi XE4.

In one of the files in Delphi 7, I found xercesxmldom in the uses. I found that its dcu is placed in C:\Program Files\Borland\Delphi7\Lib.

When I tried to compile this file in Delphi XE4 environment, I got error xercesxmldom.dcu not found. I searched my entire C drive but it was not there anywhere.

I thought it is deprecated now. So I commented it out as it was nowhere used in the file and project compiled successfully.

Now when I try to open dfm file by double clicking on it, I get error No matching Dom Vendor: "XercesXML".

When pressed OK, dfm opens fine. I don't know why am I getting this error message?

1
@TLama - As per your link xercesxmldom is deprecated. Its fine for me. But why I am getting error No matching Dom Vendor: "XercesXML", when I remove it?user1556433
@TLama I don't think this is a duplicate of that questionDavid Heffernan
@David, you're right. This is one step further (since OP commented out the missing XML DOM provider unit). So this is really just about changing XML DOM provider. I should have read it more carefully. Sorry, nkp. Retracting my duplicate vote and removing my comments from here...TLama

1 Answers

2
votes

The error you are seeing is because, although you have stopped referring to the xercesxmldom unit, your code still sets the DOM vendor to XercesXML. You'll need to choose a different DOM vendor. You need to locate everywhere in your program where you assign to the DOMVendor property and modify it accordingly.