Inserting an XML element with the same name as it's parent fails to insert the closing tag for the element.
You can reproduce this behaviour in the Actipro sample WinForms application by removing the associated schema and inserting an arbitrary child element with the same name as its parent.
The latest WPF sample app does not exhibit this behaviour