fix syntax error bug introduced in 74a8a36e
improve report of Editor XML parse error
bugfix: typo 'formet' -> 'format'