Fix it so that the xml metadata namespace is included in the global namespaces declaration.
This is necessary when the root element doesn't define all namespaces used by the document.
Insert the index_auto_generated.cnxml file too.