
Vladimir Prus wrote:
Daniel Wessl?n 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
Vladimir Prus wrote: problem?
The problem is that property_tree interface is very different from W3DOM, so we'll have two interfaces for XML which are completely different.
It's somewhat like situation with multi_index / bimap being discussed at the moment. Multi_index supports everything a bimap would, but its interface is more cumbersome. I for one won't use a W3DOM-like library if we get one, but I would happily use property_tree. I've also only used multi_index once, and that was to use it as a bidirectional map. Property_tree covers other areas as well as being a potential subset of an XML library, but I still hold there is value in such a subset. -- Daniel Wesslén