
Thorsten Ottosen wrote:
Daniel Wesslén wrote:
Vladimir Prus wrote:
It would be pretty bad if Boost has property_tree that reads "simple" XML *and* another XML library, with different interface that has full support for XML. How am I to choose one or another library?
When boost gets a full XML library then the property_tree XML parser could (should, IMO) be replaced with a wrapper over that one. What's the problem?
There is no need for that. As long as the scope of the xml-parser for a property tree is well-defined wrt. what subset of xml it can handle, the user is free to choose.
It is not obvious how more advanced xml-features should map to a property-tree, and it is quite thinkable that it does not make much sense to use those together.
Schema validation, XInclude and encodings could be transparently supported. Sure, some advanced features wouldn't map neatly to a property_tree, but that is no reason to rule out support for those that do. -- Daniel Wesslén