wood burning stoves 2.0
The moose likes Product and Other Certifications and the fly likes How to compare two xml schemas Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "How to compare two xml schemas" Watch "How to compare two xml schemas" New topic

How to compare two xml schemas

jp kavita
Ranch Hand

Joined: Nov 16, 2006
Posts: 39
Hello guys,

How to compare two xml schemas? is there any tool for that?

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
What exactly does it mean to compare two schemas? Can you give an example of two schemas, and what the result of the comparison should be?
Billy Tsai
Ranch Hand

Joined: May 23, 2003
Posts: 1304
do you mean are there any programs out there that can check if two XML schemas are the same despite the white spaces and break lines?

BEA 8.1 Certified Administrator, IBM Certified Solution Developer For XML 1.1 and Related Technologies, SCJP, SCWCD, SCBCD, SCDJWS, SCJD, SCEA,
Oracle Certified Master Java EE 5 Enterprise Architect
tapeshwar sharma
Ranch Hand

Joined: Mar 10, 2006
Posts: 245
If you mean programatically, I made a custom tool to compare 2 XML documents using XSLT some years back. Basically, it was fixing the positions of different nodes and then compare the nodes using jDOM and XSLT.
If you mean external comparison using a tool, nothing like XML SPY.
I agree. Here's the link: http://aspose.com/file-tools
subject: How to compare two xml schemas
It's not a secret anymore!