[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gb.xml2: xmlwriter gives error on creating xml file
[Thread Prev] | [Thread Next]
- Subject: gb.xml2: xmlwriter gives error on creating xml file
- From: gbWilly <gbWilly@xxxxxxxxxxxxxx>
- Date: Tue, 10 Nov 2026 21:28:36 +0000
- To: Gambas Mailing List <user@xxxxxxxxxxxxxxxxxxxxxx>
Hi,
In gb.xml I can create a xml file and next open it or print its contents.
In gb.xml2 I can create the same xml file, but it will not open after it is created, although it is there!
The creation of the file in gb.xml2 does output an error in the console.
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.

Added are both scripts, you can try yourself.
xml.gbs uses gb.xml and creates xml-test on your desktop.
xml2.gbs uses gb.xml2 and creates xml2-test on your desktop.
Sent with Proton Mail secure email.
Attachment:
xml-scripts.tar.gz
Description: application/gzip
| Re: gb.xml2: xmlwriter gives error on creating xml file | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |