Use SchemaParser API to remove dependency on subprocess call to compiler