private XSModel loadSchema(Reader xsdReader)
{
XSImplementation impl = getXSImplementation();
XSLoader schemaLoader = impl.createXSLoader(null);
// [TODO] load from reader
XSModel model = schemaLoader.load(null);
if (model == null)
{
throw new IllegalArgumentException("Cannot load schema");
}