[Mono-list] System.Xml.Schema namespace

Jason Diamond jason@injektilo.org
Wed, 20 Mar 2002 00:49:32 -0800


> The classes are not yet complete. Will Do a test suite after I
> finish figuring out how to read/write the schema :)
> Or if someone else is willing to do the test suite, free lunch promised
> whenever we meet ;)

You're supposed to be able to construct XML Schema documents
programmatically in addition to just reading them in from an XML file. You
could write tests that do that. And then when you're ready to start
constructing an XML Schema by reading it in from an XML file then you'll
know that the classes work as expected because that's the same thing that
XmlSchema.Read is going to do (instantiate new XmlSchemaComplexTypes, for
example, and then adding them to the XmlSchema.SchemaTypes collection).

Jason