An XML Schema document is an XML document, and (in .net) an XML document can
be loaded from a string. Is there a simple way to load an XML Schema document
from a string? The closest I can see is to wrap the string in a stream and
pass the stream to the constructor.
Stepping back further, I might want to load the XML Schema into an XML
document object and validate it to be sure it's a valid XML Schema before I
try to instantiate the Schema object. Shouldn't this simple?
Basically, whether it's a silly thing to do or not, I want to accept a
string, validate it as a Schema, and use it to validate some other string.