Page 1 of 1 1
Topic Options
#158749 - 2006-03-10 10:34 PM Large file/string support
Ed_Servello Offline
Lurker

Registered: 2005-08-16
Posts: 2
I'm using Kixtart to parse some XML files. Since these files have no EOL characters, READLINE() absorbs the whole file in one read. Once my XML files grow larger than 32KB, I'll be in trouble.

It would be great to be able to read/write bytes or characters to/from a file as already suggested in regard to "binary I/O". Handling large files will require a different reading mechanism, one that doesn't read the whole file into memory at once.

Regards,
Ed

Top
#158750 - 2006-03-11 03:24 AM Re: Large file/string support
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
XML files shouldn't be read with READLINE to begin with. We already have a set of dedicated XML functions available at RFC: XML UDF's
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 707 anonymous users online.
Newest Members
min_seow, Audio, Hoschi, Comet, rrosell
17881 Registered Users

Generated in 0.024 seconds in which 0.011 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org