zypA13510 / OpenUI5-XML-Schema

Syntactically correct XSD schemata of OpenUI5 for validation and auto-completion.

Home Page:https://zypa13510.github.io/OpenUI5-XML-Schema/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenUI5 XML Schema

Syntactically correct XSD schemata of OpenUI5 for validation and auto-completion.

GNU GPLv3

Usage

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>

Credits

This project uses schema created upstream by emumanu.

About

Syntactically correct XSD schemata of OpenUI5 for validation and auto-completion.

https://zypa13510.github.io/OpenUI5-XML-Schema/

License:GNU General Public License v3.0