Hi Koundinya,

Koundinya B. Srinivasarao <[EMAIL PROTECTED]> writes:

> Its as though the Win x64 filesystem driver cannot write a buffer of
> size greater than 32MB onto a network filesystem.

I think you meant to say write a file of 32MB, not a buffer (I don't
think LocalFileFormatTarget uses a buffer of that size, though I
may be wrong, for example if you have a text node that is 32MB
long).

In any case, I suggest that you try the following: create a
LocalFileFormatTarget object and instead of calling writeNode,
call writeChars on LocalFileFormatTarget in a loop, with some
text for 80Mb of output (you can pass 0 as a third argument
to writeChars).

If you get the same error, then it is most likely OS bug and
you will have to find a work-around for it. Once you do, you
can provide your own implementation of XMLFormatTarget instead
of LocalFileFormatTarget that includes this workaround.

Boris

-- 
Boris Kolpackov, Code Synthesis Tools
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde

Reply via email to