umbraco/Umbraco-CMS — pull request #464 by arknu (2014-08-27 17:58:50+00:00)
Title: Fix U4-5301: Update node name when updating XML cache (revised)

When using the new XML schema, the content type alias is the node name itself. When updating the XML cache this is not accounted for, resulting in a Republish entire site being required.
This fixes the issue by eliminating the tedious copying of attributes and child elements from the new to the old node and instead uses the new node directly.
One question: What should be done with the TransferValuesFromDocumentXmlToPublishedXml method? It is no longer used in Umbraco, so it could just be removed. But the method is public, so there might be compatibility concerns (although I highly doubt that anyone else would use that method)