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

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


On Friday, November 13th, 2026 at 15:53, gbWilly <gbWilly@xxxxxxxxxxxxxx> wrote:
>
> I checked the libxml2 documentation and I stumble onto what you see n added screenshot, xmlTextwriterClose is new since 2.13. I don't know if you use it and how it got closed before 2.13, but this might be causing the trouble.
> 
> gbWilly
> 
gb.libxml (based on libxml2) doesn't have a close but an EndDocument (as does gb.xml). gb.xml2 doesn't.
Could that be the old manner of closing a document before 2.13.

Is that maybe what is going wrong, the Close not being possible before 2.13 and EndDocument needed to do the job?


gbWilly

Attachment: 1.png
Description: PNG image


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 fileBrian G <brian@xxxxxxxxxxxxxxxx>
Re: gb.xml2: xmlwriter gives error on creating xml filegbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: gb.xml2: xmlwriter gives error on creating xml fileBrian G <brian@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>
Re: gb.xml2: xmlwriter gives error on creating xml filegbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: gb.xml2: xmlwriter gives error on creating xml filegbWilly <gbWilly@xxxxxxxxxxxxxx>