From: "James Britt (rubydev)" Date: 2001-11-14T11:17:52+09:00 Subject: [ruby-talk:25135] Re: REXML behavior change RFC ... > > In one way I like it, its slightly more orthogonal. > > In another way I worry about large documents. It would mean that the API > itself specifies that the engine has to slurp the whole document before it > can give you the first element to handle. > > With XML being targeted as the way unrelated databases exchange data, we > can look to see some very large streams of data going by... In such cases, a SAX parser is a better choice; trap data as it goes by, rather than waiting until the entire document is read. James > > > > John Carter Phone : (64)(3) 358 6639 > Tait Electronics Fax : (64)(3) 359 4632 > PO Box 1645 Christchurch Email : john.carter@tait.co.nz > New Zealand >