mved schema to schemaDocument, parsing of schemas and subschemas