Ticket #4245: boost_xml.patch
File boost_xml.patch, 626 bytes (added by , 12 years ago) |
---|
-
boost/property_tree/detail/xml_parser_utils.hpp
46 46 { 47 47 typedef typename std::basic_string<Ch> Str; 48 48 Str r; 49 50 // If s is empty we are done. 51 if (s.empty()) 52 return r; 53 49 54 // To properly round-trip spaces and not uglify the XML beyond 50 55 // recognition, we have to encode them IF the text contains only spaces. 51 56 Str sp(1, Ch(' '));