AW: kdom and khtml integration

Nikolas Zimmermann zimmermann at kde.org
Tue Feb 28 15:15:21 GMT 2006


On Tuesday 28 February 2006 15:13, Tobias Anton wrote:
> > [...]
> >
> > > > * Multiple parsing backends (ie. libxml2)
> > >
> > > We need just one that works well, and hopefully wouldn't link to
>
> multiple
>
> > > XML libraries at once.
> >
> > There's no linking involved at all (at least not in libkhtml.la).
> > The parsing backends are KDOM::Parser objects dynamically loaded
> > via KTrader/KLibLoader.
>
> ... what provides an argument against incorporating KDOM into KHTML. The
> fact that run-time dependencies to external libraries are added makes it
> more difficult to use KHTML in konqueror embedded, because konqueror
> embedded is supposed to run from a single binary. I'm not too deep into the
> details, but will there also be a solution for that, e.g. to stick to an
> internal default parser that doesn't require KLibLoader?

... what shows you haven't looked at kdom/khtml2/ksvg2 closely yet :-)
The HTML tokenizing is nowhere dependent on KDOM's parsing backends,
that's all done by HTMLParser & HTMLTokenizer itself. We're talking about pure
XML processing tasks here...

And in fact, kdelibs requires libxml2 anyway - so where's your point?

Bye
 Bye
  Niko




More information about the kfm-devel mailing list