27 Apr
2007
27 Apr
'07
7:37 p.m.
Hi, Quite sensibly, xml_archive seems to fail with archive errors when class_name contains xml characters (like <) which are quite common in templates. For example, in my tests: BOOST_EXPORT_CLASS(Something<T>); // fails when deserializing because of parse error. I fix it by doing: BOOST_EXPORT_CLASS_GUID(Something<T>,"Something_T"); // works \o/ Now, do you suppose xml_archive could be smart enough to convert < to < and similarly for other prohibited characters when serializing? Even if not, is there something I can do in 1.33.1 that would make it not so redundant? Thanks, Sohail