id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 5413,(read_xml + write_xml) do not restitute escape sequences in tag's attribute stri,misterwallas@…,Sebastian Redl,"'''Description''' Use the following program to read/write to/from a ptree an XML file containing XML escape sequences in tag's attribute string. {{{ #include #include using boost::property_tree::ptree; int main() { ptree pt; read_xml(""xml-esc-in.xml"", pt); write_xml(""xml-esc-out.xml"", pt); return 0; } }}} * With the following XML input file '''xml-esc-in.xml''' {{{ Title

<>"'&

}}} * It will give you the following XML output file '''xml-esc-out.xml''' {{{ Title ""'&"" href=""""/>

<>"'&

}}} * Escape sequences in the [title] attribute of the tag have been translated into their ascii equivalent resulting in an invalid XML. ",Bugs,closed,To Be Determined,property_tree,Boost 1.47.0,Problem,duplicate,,