Answer by RutgerDOW for Validating XSD itself
you can use xmllint for that:xmllint --noout --dtdvalid http://www.w3.org/2001/XMLSchema.dtd my-schema.xsd
View ArticleAnswer by Evgeniy Dorofeev for Validating XSD itself
You can try javax.xml.validation packageSchemaFactory f = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);Schema s = f.newSchema(new File("1.xsd"));Schema.newSchema() APIParses the...
View ArticleAnswer by Madhusudan Joshi for Validating XSD itself
You can validate your XSD online here.Just copy and paste your XSD here and click on validate Schema , it will give you the result.
View ArticleAnswer by Oded for Validating XSD itself
You can validate an XSD file against the w3 XSD schema that can be found here.Use the same validation techniques you validate any other XML file with an XSD file, only the source document would be your...
View ArticleValidating XSD itself
Could anyone please tell me how to validate an XSD file itself (not XML against XSD)? I have checked many forums and sites (including SO) and most of them refers some or the other online validator. But...
View Article