No more xercesxmldom unit in Delphi XE?

2019-02-22 08:40发布

问题:

I'm wondering what happened to the xercesxmldom unit as one of the XML DOM implementations.
It seems to have disappeared in Delphi XE.
Why?

(I searched the docs; couldn't find any relevant info on xercesxmldom disappearing).

Edit: these are the sources I have archived:

R:\>dir /s /b xercesxmldom.pas
R:\D2006-Enterprise-D10-BDS-4.0\source\Win32\xml\xercesxmldom.pas
R:\D2007-Enterprise-D11-RadStudio-5.0\source\Win32\xml\xercesxmldom.pas
R:\D2009-Enterprise-D12-RadStudio-6.0\source\Win32\xml\xercesxmldom.pas
R:\D2010-Enterprise-D14-RadStudio-7.0\source\Win32\xml\xercesxmldom.pas
R:\D7.01.Architect\Source\Xml\xercesxmldom.pas

Nothing in the R:\DXE-Enterprise-D15-RadStudio-8.0 source tree...

--jeroen

回答1:

Here is a quote the answer that Bruneau (Jean-Marie) Babet posted to my question on the Embarcadero forums:

I asked: the removal was intentional and driven by the fact that we had little evidence that the xerces DOM was being used, the cost of the effort to port it to the Mac and the maturity of ADOM. I was told that we would be open to releasing our xerces wrappers (say on SourceForge) if there's interest.

So if you are using xerces in Delphi, then either wait for the wrappers to appear on sourceforge, or switch do the OpenXML ADOM which is compatible with Delphi XE.



回答2:

It's in my install of RAD Studio XE 2010. The source file is in:

C:\Program Files\Embarcadero\RAD Studio\7.0\source\Win32\xml\

I don't see it in XE's source path anywhere, so it does appear they've removed it for some reason.

A quick scan of the source code in the 2010 version, however, doesn't reveal anything that would prevent it's being used in XE. I haven't tested that, however.