[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New 'gb.xml2' component


Le 08/11/2026 à 01:03, Claus Dietrich a écrit :
I took a project published long time ago in the Gambas-Buch (https:// gambas-buch.de/doku.php?id=k27:k27.1:start&s[]=gb&s[]=xml)

Download link: https://gambas-buch.de/lib/exe/fetch.php? media=k27:k27.1:xmldom.read.addresses.tar.gz

and found that nothing works.

It seems that gb.xml2 is pretty different and can't be used easily as a replacement for gb.xml. Methods have partially changed and essential classes like XMLElement are not available any longer. I do not see myself in a position to rewrite the project and test the new component without further documentation or information.

Best regards

Claus


Of course, sorry to not having been clear: 'gb.xml2' is a new component, it does not replace 'gb.xml'.

Its interface is not compatible, as it is based against 'libxml2', and is not writing from scratch like 'gb.xml'.

Its interface is not the same as the old 'gb.libxml' component that was based on 'libxml2' too, because that old component had many bugs.

Either you keep your old code, and then you continue to use the 'gb.xml' component, either you want to use the new one, and must change your code. 'gb.xml' will be deprecated, but won't disappear.

And there is no support for XSLT too, because 'libxslt' is another library, so it must be in a different component.

I just need to know what features are missing in the new 'gb.xml2'. For example I know that CSS queries would be useful, but it must be done through another library, as 'libxml2' has no support for that.

Regards,

--
Benoît Minisini.


Follow-Ups:
Re: New 'gb.xml2' componentKarl Reinl <karl.reinl@xxxxxxxxxx>
References:
New 'gb.xml2' componentBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: New 'gb.xml2' componentBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: New 'gb.xml2' componentClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: New 'gb.xml2' componentBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: New 'gb.xml2' componentClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: New 'gb.xml2' componentClaus Dietrich <claus.dietrich@xxxxxxxxxx>