[xsd-users] Calculating progress on "xsd-parser" parsed files
David White
dawhite32 at gmail.com
Thu Mar 26 00:24:57 EDT 2009
Hi all,
thanks to xsd-parser and xerces, I have built a fast library for
extracting data from extremely large xml files. What would be very
beneficial is some way of retrieving an indication of the file-parsing
progress.
Is it possible to get an indication of conversion process with xsd / xerces?
If not, is it possible to get a pointer to the file pointer
created/used by xerces? That way, file progress could be retrieved by
a relatively simple calc using _filelength, _fileno and ftell, eg:
float percentComplete = (float) (ftell(filePointer)) / (float)
fileLength * 100.0;
Or is there another way???
Thanks in advance.
Kind regards, David.
More information about the xsd-users
mailing list