I'm trying to update Magento 2.1.8 to 2.2.2. After the update I get errors about block attributes on layouts.
Try to remove
src_type (and maybe others) from elements of your layout files.
For example, I had to remove them from thesr layouts:
You need to remove/change some of the attributes (error will tell you what is needed to be removed/changed). Xml validation has been updated with 2.2.x version.