Here:
https://github.com/boostorg/regression/blob/develop/reports/src/xml.cpp#L351
It's becasue internally rapidxml is used to process the XML and this
library requires null-terminated string containing an XML. But I
don't see a reason why e.g. an istream or an InputIterator e.g.
istream_iterator couldn't be passed instead. This would require to
modify the rapidxml code that currently resides in PropertyTree but
is doable. Alternatively we could maintain a modified copy of
rapidxml in regression for now and possibly later merge the changes
in PropertyTree.
Regards,
Adam