Fixed xml serializer exception
Merge pull request #1046 from darinegan/fix_xmlexception

Fixed xml serializer exception