#7 printing a node with value and children

open
nobody
None
5
2009-09-25
2009-09-25
Matthias Loy
No

We do create an XML document containing nodes with child nodes and a value.

print_element_node checks whether the node to be printed has children (rapidxml_print.hpp line 266).
In this case the children are being processed and the value is being ignored.

We added a call to copy_and_expand_chars() similar to line 270 to this case and it worked fine. I'm not sure whether this is a good solution.

We are using RapidXml Version 1.13

Discussion

  • Matthias Loy
    Matthias Loy
    2009-09-25

    File with my quick and maybe dirty fix

     
    Attachments