Re: [Boost-bugs] [Boost C++ Libraries] #2855: Rapid XML 1.12 whitespace parsing bug

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2855: Rapid XML 1.12 whitespace parsing bug
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-29 08:54:21


#2855: Rapid XML 1.12 whitespace parsing bug
--------------------------------------+-------------------------------------
  Reporter: Chris | Owner: cornedbee
      Type: Bugs | Status: assigned
 Milestone: Boost 1.42.0 | Component: property_tree
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------------------

Comment (by anonymous):

 This patch really introduced a bug: now, every time a tag is closed, the
 parser finds after it a non really existent tag with empty name. Unless
 you activate the option "parse_trim_whitespace", which is intended for
 other purpose. Since boost uses this library in fact enabling such option,
 this problem has not been noticed, but anybody directly using rapidxml in
 boost (property tree may have a huge memory penalty) will find it.

 I'd suggest to revert this change, and in case the trim support requires
 improvement, do it the right way.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2855#comment:4>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC