fix invalid xml in silverlight