Boost logo

Boost :

Subject: Re: [boost] [PropertyTree] Rewrite - Please Review
From: Boris Schaeling (boris_at_[hidden])
Date: 2009-06-13 12:11:29

On Fri, 12 Jun 2009 17:37:37 +0200, Sebastian Redl
<sebastian.redl_at_[hidden]> wrote:

> [...]I would ask everyone who has existing code using PropertyTree to
> look at
> these changes and tell me their best guess at how much effort it would
> be to update the code to conform with the new interface, and how I could
> make this easier.

There is a problem with the Spirit XML parser. When I define

boost-1_39\boost\property_tree\detail\xml_parser_read_spirit.hpp(103) :
error C2065: 'empty_ptree' : undeclared identifier

If I use the Rapid XML parser the code compiles. I can't parse a UTF-8
encoded file correctly though. Is this a known problem? When I use
boost::property_tree::wptree to parse a XML file with <test>ä</test> and
UTF-8 encoding get() returns ä. The problem seems to be in
read_xml_internal(). But as I couldn't test the Spirit XML parser this is
maybe a known limitation of the Rapid XML parser?


> [...]

Boost list run by bdawes at, gregod at, cpdaniel at, john at