Syntactically correct XSD schemata of OpenUI5 for validation and auto-completion.
Include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
and
xsi:schemaLocation
pointing to the corresponding schemata in the root element
in your XML.
You should also have an IDE / editor plugin that supports XML validation and auto-complete for this to be useful.
<?xml version="1.0" encoding="utf-8"?>
<mvc:View
controllerName="io.github.zypa13510.OpenUI5XMLSchema.example"
xmlns="sap.m"
xmlns:mvc="sap.ui.core.mvc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
sap.m https://zypa13510.github.io/OpenUI5-XML-Schema/sap.m.xsd
sap.ui.core.mvc https://zypa13510.github.io/OpenUI5-XML-Schema/sap.ui.core.mvc.xsd
">
</mvc:View>
This project uses schema created upstream by emumanu.