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
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.