I'm dealing with a major XML schema upgrade which includes multiple xsd files. I'm using xmlbeans and Java reflection to look for differences and convert test data. Before I write something, is there any software already available? Thanks
我正在处理一个包含多个xsd文件的主要XML模式升级。我正在使用xmlbeans和Java反射来查找差异并转换测试数据。在我写东西之前,有没有可用的软件?谢谢
1 个解决方案
#1
0
Since XML Schema files are in XML format, you could try some XML diff utilities to highlight differences. These won't be smart about Schemas per se, but they would be better than nothing.
由于XML Schema文件是XML格式,因此您可以尝试使用一些XML diff实用程序来突出显示差异。这些对于Schemas本身并不聪明,但它们总比没有好。
There are also some diff tools specific to XML Schema:
还有一些特定于XML Schema的diff工具:
- Altova Diff Dog "After you map two XML Schemas, DiffDog® 2011 lets you generate an XSLT file to transform existing XML documents for the new schema by clicking either Copy button on the DiffDog toolbar." I have not tried this tool.
- XML Zebra "an XML Schema differencing tool that works by creating a "fingerprint" file for a set of Schemas. The "fingerprint" contains paths (like XPaths, but extended with extra information) that define what is allowed in valid XML documents for those Schemas. By comparing versions of the "fingerprint" files, both direct and indirect changes to the allowed XML can be detected between versions of the Schemas". I have not tried this either.
Altova Diff Dog“在映射两个XML Schema之后,DiffDog®2011允许您通过单击DiffDog工具栏上的”复制“按钮来生成XSLT文件,以转换新架构的现有XML文档。我没有尝试过这个工具。
XML Zebra“一种XML Schema差异化工具,它通过为一组Schema创建”指纹“文件来工作。”指纹“包含定义有效XML文档中允许的那些路径(如XPath,但扩展了额外信息)。模式。通过比较“指纹”文件的版本,可以在模式的版本之间检测到对允许的XML的直接和间接更改“。我也没试过。
#1
0
Since XML Schema files are in XML format, you could try some XML diff utilities to highlight differences. These won't be smart about Schemas per se, but they would be better than nothing.
由于XML Schema文件是XML格式,因此您可以尝试使用一些XML diff实用程序来突出显示差异。这些对于Schemas本身并不聪明,但它们总比没有好。
There are also some diff tools specific to XML Schema:
还有一些特定于XML Schema的diff工具:
- Altova Diff Dog "After you map two XML Schemas, DiffDog® 2011 lets you generate an XSLT file to transform existing XML documents for the new schema by clicking either Copy button on the DiffDog toolbar." I have not tried this tool.
- XML Zebra "an XML Schema differencing tool that works by creating a "fingerprint" file for a set of Schemas. The "fingerprint" contains paths (like XPaths, but extended with extra information) that define what is allowed in valid XML documents for those Schemas. By comparing versions of the "fingerprint" files, both direct and indirect changes to the allowed XML can be detected between versions of the Schemas". I have not tried this either.
Altova Diff Dog“在映射两个XML Schema之后,DiffDog®2011允许您通过单击DiffDog工具栏上的”复制“按钮来生成XSLT文件,以转换新架构的现有XML文档。我没有尝试过这个工具。
XML Zebra“一种XML Schema差异化工具,它通过为一组Schema创建”指纹“文件来工作。”指纹“包含定义有效XML文档中允许的那些路径(如XPath,但扩展了额外信息)。模式。通过比较“指纹”文件的版本,可以在模式的版本之间检测到对允许的XML的直接和间接更改“。我也没试过。