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