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
  • 173,679
  • 45
  • 326
  • 490

2 Answers2

16

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

Daniel Haley
  • 49,094
  • 5
  • 67
  • 90
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,063
  • 2
  • 48
  • 62