14

Does there exist an Xml schema that will validate other XML schemas?

What I want to do is take such a meta-schema (if it exists) and run it through XSD.EXE so that I can use C# classes to read an arbitrary XML schema and analyze it.

Robert Harvey
  • 178,213
  • 47
  • 333
  • 501

2 Answers2

16

http://www.w3.org/2001/XMLSchema.xsd

Daniel Haley
  • 51,389
  • 6
  • 69
  • 95
3

For future references, I strongly discourage anyone to go down this path, when the intent is to validate and analyze an XML Schema.

.NET has a very robust API for doing this, in the System.Xml.Schema namespace.

Petru Gardea
  • 21,373
  • 2
  • 50
  • 62