Menu

#4 Text with only whitespace is skipped

open
nobody
None
5
2009-10-14
2009-10-14
clown
No

When RapidXml parses the following XML (parse flag is 0),
the text of data node is empty.

<root>
<data> </data>
</root>

I tried to modify the code to preserve the whitespace
when parse_trim_whitespace is not set.

Discussion

  • clown

    clown - 2009-10-14
     
  • clown

    clown - 2009-10-16

    Sorry, I have a mistake.
    I attach the bug-fixed diff file.

     
  • clown

    clown - 2009-10-16
     

Log in to post a comment.