Magento 2 does XML schema validation in the Developer mode only:
The first validation is per-file:
The second validation is for the merged composite file:
\Magento\Config\Model\Config\Structure\Reader
overrides the \Magento\Framework\Config\Reader\Filesystem::_readFiles
method, but does the similar validation: