boost::property_tree::xml_parser::read_xml uses the default rapidxml behaviour of not validating closing tags.
With rapidxml you can use the flag parse_validate_closing_tags to turn this on.
Boost does not support any such flag.
Is there anyway to turn it on using Boost or will I have to use rapidxml directly?