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

Re: gb.xml2: xmlwriter gives error on creating xml file


On 11/11/26 08:00, Benoît Minisini wrote:
Le 11/11/2026 à 16:51, gbWilly a écrit :
On Wednesday, November 11th, 2026 at 12:20, Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> wrote:

Le 10/11/2026 à 22:28, gbWilly a écrit :

Added is a screenshot of me running two scripts:
First script created xml-test.xml file and prints content in terminal
Second script created xml2-test.xml file but refuses to print its
content in terminal.
I opened it to show you it exists and has proper content, so that part
goes well.

It may fail because you use an old version of 'gb.xml2'.

I cloned the Debian 12 vm with master installed, upgraded the clone Debian 13 and tried again.
The error output in terminal is gone, as you can see on the screenshot.
So, that had to do with the library version it seems.

Everything works here,

Everything? You sure?
- The error line is gone (this changed)
- The file is created (this already happened, so unchanged)
- The file content is printed in terminal (this doesn't happen, so unchanged)

In added a screenshot:
- In red the file created by xml script (gb.xml) and printed in terminal (this is the expected behavior) - In yellow the file created by xml2 script (gb.xml2), but it is not printed (not the expected behavior)

Did the xml2 script print the created file in terminal on your system? As that doesn't work for me as seen in the screenshot.
And if so, what could be the reason? I mean the file is there.


Here is a screenshot.

Can I also get a copy of your test file?

--
~~~~ Brian

Attachment: OpenPGP_0x78BFB26402F48419.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Follow-Ups:
Re: gb.xml2: xmlwriter gives error on creating xml filegbWilly <gbWilly@xxxxxxxxxxxxxx>
References:
gb.xml2: xmlwriter gives error on creating xml filegbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: gb.xml2: xmlwriter gives error on creating xml fileBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: gb.xml2: xmlwriter gives error on creating xml filegbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: gb.xml2: xmlwriter gives error on creating xml fileBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>