id summary reporter owner description type status milestone component version severity resolution keywords cc
7519 newlines and tabs are not encoded when writing XML. nicolas.cavallari@… Sebastian Redl "This XML file :
{{{
hello world:
Want something?
}}}
Is properly parsed and somedata contains ""hello\tworld\nWant something?"", but this information is lost when writing:
{{{
Hello world
Want something?
}}}
Reading that file will yield ""Hello world Want something?"", so the round trip ate these characters.
Instead, write_xml should encode newlines and tabs according to http://www.w3.org/TR/2000/WD-xml-c14n-20000119.html#charescaping.
Boost.Graph's write_graphml() and read_graphml() are also affected by this problem as they reuse property_tree. The attached patch fix the problem for both libraries." Bugs closed To Be Determined property_tree Boost Development Trunk Problem fixed property_tree xml newline graphml