[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New 'gb.xml2' component
[Thread Prev] | [Thread Next]
- Subject: Re: New 'gb.xml2' component
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Tue, 3 Nov 2026 07:40:49 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 02/11/2026 à 23:56, Lee a écrit :
On 11/2/26 7:56 AM, Benoît Minisini wrote:Hi, I have started a new component named 'gb.xml2'. It is based on 'libxml2', and will replace the non-maintained 'gb.xml' component. The interface will be different than 'gb.xml' and the old 'gb.libxml'. Mainly because of bug fixes. This is just the start of the implementation. Regards,That's great, Benoît. Thank you. I thought about doing that as well but wasn't sure why the existing one didn't use libxml2. Anyway, it probably would have taken me years and alot of head scratching. Will the new component be written in Gambas?
No. The new component is a resurrection of the old 'gb.libxml' component based on 'libxml2'. I fixed bugs, enhanced the API. I have to reimplement the 'XmlReader' and 'XmlWriter' classes too, as they seem to be used by the 'gb.xml.rpc' component.If you are interesting in understanding how to write a component in C, and if you know 'libxml2' a bit, you can look at the source code of 'gb.xml2'. It's not too complex.
Regards, -- Benoît Minisini.
| New 'gb.xml2' component | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: New 'gb.xml2' component | Lee <t.lee.davidson@xxxxxxxxx> |