This is probably a question for the XercesC mailing list, but I am looking
for anyone who can help.

I am using the following XMLPlatformUtils call to write the result of a
XalanC transformation directly to disk.

XMLPlatformUtils::openFileToWrite(utf16FileName);

XMLPlatformUtils::writeBufferToFile(_fileHandle,
                                        _bufferedBytes,
                                        (XMLByte*)_fileBuffer);
XMLPlatformUtils::closeFile(_fileHandle);

It seems that those calls cannot be used for files bigger than 2 Gig. I
check the XercesC source code, Solaris platform util implementation, it
seems that a regular open is used to open the file while on Solaris, things
like open64 (or something like that) must be used for large file support (I
think).

Can anybody confirm? If it is confirmed, is there anywhere an alternative to
the default XMLPlatformUtils that will support large files?

Thanks.

Thomas

Reply via email to