Produce XForms schema on root element, fix #1366