On Fri, May 03, 2019 at 09:56:56PM +0100, Russel Winder via Digitalmars-d-learn wrote: > On Thu, 2019-05-02 at 09:28 -0700, H. S. Teoh via Digitalmars-d-learn > wrote: > > On Thu, May 02, 2019 at 05:23:29PM +0100, Russel Winder via > > Digitalmars-d-learn wrote: > > [...] > > > There are situations where you create a binding in preference to > > > writing something from scratch. cf. gtk, gstreamer, etc. so why > > > not libxml2? > > [...] > > > > No particular reason, except nobody has taken up the task yet. Would > > you? > > If I were interested in XML processing yes I would. However, just at > the moment I am doing things with MPEG-TS and gstreamer-rs. I may > investigate the analogue for GstreamerD. > > On the other hand there are enough people moaning about std.xml and > the general lack of quality, high performance D support for XML that > there is clearly a lot of people who should be interested in creating > a D binding to libxml2. [...]
The problem is that while there is no shortage of complaints about XML support in D, there is a great dearth of people actually willing to *do* something about it. At least Jonathan wrote dxml, which arguably would meet the need in most cases. So there's that. But if somebody wants entity references and other similar things, the only recourse would appear to be to wrap libxml2. Given D's aptitude at interfacing with C, this should be much simpler than writing dxml. It just needs someone to sit down and *do* it. T -- Questions are the beginning of intelligence, but the fear of God is the beginning of wisdom.