Sgen error the top xml element vs attribute