XML Diff和Patch问题 [英] XML Diff and Patch problem

查看:97
本文介绍了XML Diff和Patch问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!
我正在从MS Word 2003内容创建一个WordML文件并将其存储为XML。
正在向第二台计算机发送完整xml的副本。
当我修改原始的XML文件我创建一个差异文件形式新旧XML并只发送差异文件到其他计算机。
在另一台计算机上我修补基本文件和差异文件,一切正常但是...... :) />当我在单词中键入常规字符时一切正常,但是当我创建一个新行时,我在第二台机器上修补时出错。
错误代码"XDL diffgram不适用于此XML文档; srcDocHash值不匹配。"
这意味着第一台计算机上的2个FULL文件和第二台计算机上的FULL文件不同但它们应该是相同的:/
我正在使用 修补和生成差异。 " XML差异和补丁工具"。

任何线索? :)

解决方案

不确定它是否有帮助,但我相信xml diff和patch是随源代码一起发布的。你可以尝试玩一下,看看有什么不对。

的Pawel

Hi!
I am creating an WordML file from MS Word 2003 contents and stores it in XML.
A copy of full xml is being send to second computer.
When i modify the original XML file i create a difference file form new and old XML and send only difference file to other computer.
On the other computer i patch the base file and difference file and everything is ok but ... :)
When i type regular characters in word everything is ok, but when i create a new line i have an error when patching on second machine.
Error code "The XDL diffgram is not applicable to this XML document; the srcDocHash value does not match."
It means that 2 FULL files original on first computer and FULL on second computer are different but they should be the same :/
I am patching and genereting differences using  " XML Diff and Patch Tool".

Any Clue ? :)

解决方案

Not sure if it helps but I believe xml diff and patch is distributed with source code. You may try playing a bit to see what's wrong.

Pawel


这篇关于XML Diff和Patch问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆