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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

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?

Thanksinadvance
kavita//
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41023
    
  43
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?


Ping & DNS - my free Android networking tools app
Billy Tsai
Ranch Hand

Joined: May 23, 2003
Posts: 1297
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
 
Similar Threads
compare the two xml files attributes, elements & sub elements
compare two xml files thru .java class using SAX / DOM parser
Mapping xmlschema into excel sheet
wsimport command error --Undefined symbol or complex type
Generate Schema for XML