Update: I chose “XML or schema” when I opened infopath, downloaded schema from openMRS (the extension was .xsd) and loaded it to infopath. It gave me this error message: The XML Schema contains whitespace characters in the following namespace declaration: formentry.infopath_server_url cannot be empty/moduleServlet/formentry/forms/schema/10-null InfoPath does not support namespaces with whitespace.