id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 9870,boost::property_tree::write_xml_element does not encode character before writing to attribute value,Alex K Yau ,Sebastian Redl,"The character in attribute value is not encoded in entity names and may output a quote "" to attribute value which escapes the attribute value and thus outputs a wrong value. if the attribute stored in attribs is (""mystring"", ""\"""") under node x. The expected output string is instead of . The value is ", but not null string and the quote in the tag should be balanced. This can resolve by changing ""boost/property_tree/detail/xml_parser_write.hpp"" Line 118 to 119 from {{{ stream << Ch(' ') << it->first << Ch('=') << Ch('""') << it->second.template get_value >() << Ch('""'); }}} to {{{ stream << Ch(' ') << it->first << Ch('=') << Ch('""') << encode_char_entities(it->second.template get_value >()) << Ch('""'); }}} ",Bugs,closed,To Be Determined,property_tree,Boost 1.46.1,Problem,invalid,,