[Feature] Please Provide XML Schema Definitions for configuration and layout and layout
In order to make a "standard" for configuration, and way to validate validate configurations during development.
Please, provide XML Schema Definitions (http://www.w3schools.com/schema/) for all XML configurations.
I would be willing to take part in this.
Hello. This is part of the roadmap. We have already added XSD and validation with tests for some of the files and plan to continue on this later.
Where can I find out more about XSD in Magento 2?
You can find the XSD files in: app\code\core\Mage\Backend\Model\Menu\Config\menu.xsd app\code\core\Mage\Backend\Model\Config\Structure\system.xsd lib\Magento\Acl\Config\acl.xsd
Where again? Am I missing something
Some of them can be found here: https://github.com/magento/magento2/tree/master/app/code/core/Mage/Backend/etc But still there is no final schema. These files can be combined via include node http://www.w3.org/TR/2004/REC-xmlschema-0-20041028/#SchemaInMultDocs
Hello,
As you may have already seen, we added xsd schema for configuration and layout XML files. Please see the latest releases and corresponding documentation: https://wiki.magento.com/display/MAGE2DOC/Understanding+Layout+Files https://wiki.magento.com/display/MAGE2DOC/Validating+Configuration+Files and https://wiki.magento.com/display/MAGE2DOC/Configuration+Changes+from+Magento+1.x+to+2.x
Thanks