MSXML 4.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
但是 ProgID 或 CLSID 均未在我的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
它只是被弃用,取而代之的是 MSXML 6.0。 Microsoft XML 团队的这篇博客文章详细介绍了 MXSML 的历史。 不要因为标题中的“...in Internet Explorer”部分而推迟,该页面上的历史记录完全独立于 IE。
在该博客文章的“MSXML 生命周期和历史”部分中,作者指出:
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:
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.
查看问答 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.
MSXML4 SP3是具有以下亮点的备份选项:
如果您确实无法摆脱 MSXML4,那么 SP3 是您的一个不错的选择。 我也巧妙地暗示了更好的选择,但我不想重复。
MSXML4 SP3 is a backup option with these highlights:
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.