user1556433
user1556433

Reputation:

xercesxmldom file not found in Delphi XE4

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?

Upvotes: 1

Views: 415

Answers (1)

David Heffernan
David Heffernan

Reputation: 612993

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.

Upvotes: 2

Related Questions