简体   繁体   English

用于XML Schema(XSD)比较的FOSS(命令行)工具?

[英]FOSS (command line) tools for XML Schema (XSD) comparison?

Further to this question are there any free/open source, (*nix) command-line tools that can compare and report on the differences between two XML Schema Documents (XSDs)? 还有这个问题是否有任何免费/开源,(* nix)命令行工具可以比较和报告两个XML架构文档(XSD)之间的差异?

I'm specifically looking for something I can introduce to a programmatic workflow to report updates to an XSD out of my control, but which I must conform to/validate against. 我特意在寻找一些可以引入程序化工作流程的东西来报告我控制下的XSD更新,但我必须遵守/验证。

This problem reduces to "a free XML diff program", as an XSD file is just a specific type of XML file. 这个问题简化为“免费的XML diff程序”,因为XSD文件只是一种特定类型的XML文件。

One cheap solution is to pretty-print the XSD files, then use a standard text difference program on the pretty-pinted XSD files. 一个便宜的解决方案是漂亮打印XSD文件,然后在漂亮的XSD文件上使用标准文本差异程序。 There are free programs for both of those tasks. 这两项任务都有免费程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM