Attempted to write an attribute '{0}'='{1}' after writing the attribute with local name '{2}'. The attribute with local name ...