Re: some thoughts to start
Paulo Moura Guedes <[email protected]>
| Newsgroups | gmane.comp.kde.devel.quanta |
|---|---|
| Message-ID | <[email protected]> |
Hi Jens, On Monday 02 January 2006 13:13, Jens Herden wrote: > Hi Andras, > > > So Jens, I think having the data structures in KDOM for the Kuanta > > preview release is out of question. > > yes, it is sad but we can not change it yet. > > > Let's go with the parser alone for now and discuss that (in a different > > thread). > > After looking around in KDOM and KHTML2 I would propose the following: > > Let us try to create our own parser backend, which could be based on Qt's > XML parser. If we do this right we can load this in the future via > kdom/parser/KDOMParserFactory One thing that seemed difficult to achieve with the KDOM builder and parser backend was rebuilding partial areas only. Are you suggesting to rewrite the parser? I think it would be a good opportunity to clean the code, but the amount of work and the time to get it stable again may be daunting... Paulo > Let us create our own builder that creates our old datastructure but uses > the interface in kdom/parser/KDOMDocumentBuilder.h This would be only a > temporary solution in order to create our old data structure. In the future > we would switch to the builder of KDOM. > > This would be used for HTML/XML parsing only. > We would add custom attributes for our internal need in Quanta. > > All parsing of special areas would happen on top of this with our current > code. > > I did not look in any detail yet, but this is the direction I would like to > go in the moment. > > Any thoughts about this? > > I will be in the province in the next 6 days and I do not know if I will > have any internet access. > > Jens