Something of interest: XML Schema Quality Checker takes as input an XML Schema written in the W3C XML schema language and diagnoses improper uses of the schema language. http://www.alphaworks.ibm.com/tech/xmlsqc?open&l=xml-dev,t=grx,p=shecheck