Re: [xml] XML_IO_EBADF with xmlDocDump



On Wed, 2021-01-27 at 13:37 -0600, Danny Holstein via xml wrote:

With modes "w+"  and "w+b", I get XML_IO_FLUSH.  Adding "c" to the
modes
doesn't change anything, "x" causes the fopen() to fail with a "*file
exists*" error.

Sounds like you are trying to overwrite a file that already exists - is
it possible another processes already has it open? (or that your own
program still has it open)? Windows doesn't like that.

Liam


-- 
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations:  http://www.fromoldbooks.org



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