× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



As a followup to my post looking for file editors that can handle > 2 gig stream files:

The best performance (speed, and not hanging) was 010 Editor
(zero one zero)
http://www.sweetscape.com/010editor/
not free, but 30day trial, and light years ahead of the others.

VI or VIM also worked, but not as many features & slower


Also, for checking well formed-ness in a xml file (over 2 gig)
a Python script posted on a web board (lost the link but this is the script

import xml.parsers.expat,sys
from glob import glob
import os

def parsefile(file):
parser = xml.parsers.expat.ParserCreate()
parser.ParseFile(open(file, "r"))

filename = "T:/edi/xml/ABC_2011_Bills.txt"

try:
parsefile(filename)
print "%s is well-formed" % filename
except Exception, e:
startSpot = str(e).rfind("line ") +5
endSpot = str(e).rfind(",")
lineNumber = str(e)[startSpot:endSpot]
print(str(lineNumber) + ' ' + filename)

(we did put Python 2.7 on a fast pc, and moved the large file to the pc - reading between pc & i was very slow...

Thanks to all that posted.


Jim Franz

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.