On Sun, 2014-03-23 at 19:15 +0100, Paulo Pinto wrote: […] > > At least on Java world it is not quite true. > > If you use XML parsers that return a DOM or SAX, yes quite true. > > But as far as I can tell, XML streaming parsers (StAX) only parse on demand. > > Unless I am missing something.
This is exactly why Groovy has two distinct XML parsers. British Library consider a small XML document to be about 6GB, you don't use DOM for these ;-) -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
