File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 42965
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:
subject: How to compare two xml schemas
It's not a secret anymore!