MSXML 4.0 变成什么样子了?

发布于 2024-07-26 20:58:30 字数 1253 浏览 3 评论 0原文

我依赖 MSXML 4.0。

Microsoft 有一个页面提供各种 MSXML 4.0 的 CLSID 和 ProgID 对象:

Symbolic Name: CLSID_DOMDocument40
         GUID: {88d969c0-f192-11d4-a65f-0040963251e5}
       ProgID: Msxml2.DOMDocument.4.0

Symbolic Name: CLSID_XMLSchemaCache40
         GUID: {88d969c2-f192-11d4-a65f-0040963251e5}
       ProgID: Msxml2.XMLSchemaCache.4.0

但是 ProgIDCLSID 均未在我的 Vista 计算机或同事的 计算机上注册XP 机器。

  • MSXML 4.0 是否仅随某些版本的 Office(例如 Office 2003)一起提供?
  • 它最初是随 Windows XP 一起提供的,但后来的服务包将其删除了吗?
  • 是否存在安全漏洞,并且已被废弃
  • 它只是被贬低吗?

我愿意迁移到 MSXML 5.0,它在 Windows XP 和 Windows Vista 计算机上可用 - 但我想确保我具有尽可能广泛的兼容性; 我本以为 MSXML 4.0 会比 MSXML 5.0 得到更广泛的应用。

Microsoft 建议我使用 MSXML 6.0

建议您升级 从早期版本的 MSXML 到 MSXML 6.0。 MSXML 6.0 提供安全性 和性能改进 早期的 MSXML 版本。

i have a dependancy on MSXML 4.0.

Microsoft has a page that gives the CLSID and ProgIDs of various MSXML 4.0 objects:

Symbolic Name: CLSID_DOMDocument40
         GUID: {88d969c0-f192-11d4-a65f-0040963251e5}
       ProgID: Msxml2.DOMDocument.4.0

Symbolic Name: CLSID_XMLSchemaCache40
         GUID: {88d969c2-f192-11d4-a65f-0040963251e5}
       ProgID: Msxml2.XMLSchemaCache.4.0

But none of the ProgIDs or the CLSIDs are registered on my Vista machine, or on colleague's XP machine.

  • Was MSXML 4.0 only shipped with some version of Office (e.g. Office 2003)?
  • Did it originally ship with Windows XP, but a later service pack removed it?
  • Was there a security vulnerability, and it's been depricated?
  • Has it simply been depricated?

i'm willing to move to MSXML 5.0, which is available on Windows XP and Windows Vista machines - but i'd like to be sure that i have the widest possible compatibility; and i would have thought MSXML 4.0 would be more widely available than MSXML 5.0.

Microsoft does recommend that i use MSXML 6.0:

It is recommended that you upgrade
from earlier versions of MSXML to
MSXML 6.0. MSXML 6.0 provides security
and performance improvements over
earlier MSXML versions.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

忆依然 2024-08-02 20:58:30

它只是被弃用,取而代之的是 MSXML 6.0。 Microsoft XML 团队的这篇博客文章详细介绍了 MXSML 的历史。 不要因为标题中的“...in Internet Explorer”部分而推迟,该页面上的历史记录完全独立于 IE。

在该博客文章的“MSXML 生命周期和历史”部分中,作者指出:

MSXML4 是 MSXML6 的前身
但从未发货
操作系统。 MSXML6 是一个
方面向前迈出了重大一步
可靠性、安全性、W3C 和
System.Xml兼容性,而且它还
支持本机 64 位
环境。 现在我们是
对 MSXML6 进行更多投资
和 MSXML3,我们鼓励我们
如果可能的话,客户会转移到 6
必要时为 3。


OP 编辑​​: 值得注意的是,MSXML3 是在 W3C 决定最终 XSD 规范之前发布的。 最终,W3C 采用了与 Microsoft 为 MSXML3 创建的语法不同的 XSD 语法。 MSXML6 与 W3C 选择的 XSD 方案完全兼容。

这意味着 MSXML3 和 MSXML6 彼此不兼容; 并且 MSXML3 不使用标准 XSD。

It's simply been deprecated in favour of MSXML 6.0. This blog entry from the Microsoft XML team goes through the history of MXSML. Don't me put off by the "...in Internet Explorer" part of the title, the history on that page is completely independent of IE.

In the section "MSXML Lifecycle and history" in that blog entry, the author states that:

MSXML4 was a predecessor to MSXML6
but hasn't ever shipped in the
operating system. MSXML6 is a
significant step forward in terms of
reliability, security, W3C and
System.Xml compatibility, and it also
has support for native 64-bit
environments. Right now we are
investing much more heavily in MSXML6
and MSXML3 and we're encouraging our
customers to move to 6 when possible
and 3 when necessary.


OP edit: It's important to note that MSXML3 was released before the W3C decided on a final XSD specification. Ultimately W3C went with an XSD syntax different than what Microsoft had created for MSXML3. MSXML6 is fully compatible with the W3C's chosen XSD scheme.

This means that MSXML3 and MSXML6 are not compatible with each other; and MSXML3 does not use standard XSD.

病毒体 2024-08-02 20:58:30

查看问答 which-version-of-msxml-should-i-使用?

对您来说的简短答案是:使用 MSXML6。

Check out the Q&A which-version-of-msxml-should-i-use?

The short answer for you is: use MSXML6.

Hello爱情风 2024-08-02 20:58:30

MSXML4 SP3是具有以下亮点的备份选项:

  • 提高安全性和可靠性。 有点像 MSXML6!
  • 没有计划进一步的 SP,因此如果可以的话请迁移到 MSXML6。
  • 根据发行说明,MSXML4 SP2 支持将于 2010 年 4 月 13 日结束。

如果您确实无法摆脱 MSXML4,那么 SP3 是您的一个不错的选择。 我也巧妙地暗示了更好的选择,但我不想重复。

MSXML4 SP3 is a backup option with these highlights:

  • Improved security and reliability. Kind of like MSXML6!
  • No further SPs planned so migrate to MSXML6 if you can.
  • MSXML4 SP2 supports ends on 4/13/2010 according to the release note.

If you really can't move off from MSXML4, the SP3 is a good option for you. I've subtly hinted at a better alternative as well, but I wouldn't want to repeat myself.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文