divyang4481 / xstream-dot-net

Automatically exported from code.google.com/p/xstream-dot-net
1 stars 1 forks source link

Serializing generics causes invalid XML #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When you serialize a Dictionary<String, Object>, you get an XML name that 
does not register as valid XML. (At least when displayed in IE, it says that 
an element contains an invalid name.) I assume this is due to the formatting 
of a generic with the name containing brackets.

Could the name be encoded slightly differently as to avoid this issue?

Original issue reported on code.google.com by cgoudien...@gmail.com on 8 Oct 2009 at 4:50

GoogleCodeExporter commented 9 years ago
There's a comment on this page containing a fix for this issue:
http://www.jroller.com/CoBraLorD/entry/net_xstream_like_serializer_update

Original comment by cgoudien...@gmail.com on 8 Oct 2009 at 10:41