def get_schema_path(self, schemas_folder):
<EOL>schemas_folder = schemas_folder.replace("<STR_LIT:\\>", "<STR_LIT:/>")<EOL>if schemas_folder.startswith("<STR_LIT:/>"):<EOL><INDENT>schemas_folder = "<STR_LIT:/>" + schemas_folder<EOL><DEDENT>host = "<STR_LIT>"<EOL>root_schema_path = "<STR_LIT>".format(host, schemas_folder) + "<STR_LIT:/>"<EOL>return root_schema_path<EOL>
Return a file protocol URI e.g. file:///D:/mappyfile/mappyfile/schemas/ on Windows
and file:////home/user/mappyfile/mappyfile/schemas/ on Linux