Added exception when the source property type doesn't match the target property type when attempting to serialize xom attribute data.