No more xercesxmldom unit in Delphi XE?

≡放荡痞女 提交于 2019-12-01 16:57:39

问题


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.



来源:https://stackoverflow.com/questions/4541799/no-more-xercesxmldom-unit-in-delphi-xe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!