Closed GoogleCodeExporter closed 8 years ago
Well, this issue seems to be difficult to fix properly. There's a lot of
characters that are not allowed in the XML 1.0 spec (
http://www.w3.org/TR/REC-xml/#charsets ). Catching all serializable strings and
sanitizing them one by one is probably too much work. The thing is that
XmlSerializer serializes the character just fine to , but parsing the XML
results in the error described above. I ended up just removing that entity from
the produced XML, which fixes this one input, but not all invalid inputs. I
also documented the issue in the XmlHelper class. Need to take additional steps
if this appears to be a problem.
Original comment by rii...@gmail.com
on 21 Mar 2013 at 8:41
Original issue reported on code.google.com by
rii...@gmail.com
on 21 Mar 2013 at 6:07