id summary reporter owner description type status milestone component version severity resolution keywords cc
10810 Property tree XML parser eats whitespace of text elements ahaferburg@… Sebastian Redl "The trim_whitespace flag converts this XML:
{{{#!xml
Whitespace matters
}}}
into this:
{{{#!xml
Whitespace matters
}}}
While the deletion of whitespace in elements that contain other elements is fine, I would consider it a bug to delete whitespace in elements that contain only text. It wouldn't do this to attributes, so it shouldn't do it to text elements.
I believe that the cause is that the boost version of rapidxml combines the two flags `parse_trim_whitespace` and `parse_normalize_whitespace` into one, `trim_whitespace`." Bugs new To Be Determined property_tree Boost 1.41.0 Problem