Hi Patrick,
take a look at this example[1]: all you have to do is obtaining a
ContentHandler instance as shown, then invoking SAX events while
parsing the original document.
It's more efficient and consumes less memory
Simo
[1] http://www.stylusstudio.com/xmldev/200502/post20440.html
http://peopl
hi!
What should I use instead of StringBuffer ?
Any example or tutorial ?
thanks
Patrick
On 28 March 2011 16:53, Simone Tripodi wrote:
> Hi Patrick,
> nice to know you quickly fixed the issue before anybody could have
> provided his help! :)
>
> As a side note, I would suggest you taking in c
Hi Patrick,
nice to know you quickly fixed the issue before anybody could have
provided his help! :)
As a side note, I would suggest you taking in consideration a
different solution for the XML generation rather the StringBuffer,
since you're parsing large dataset, streaming data while parsing
wou
I've solved. the issue was a row in train.xml file. To solve the issue I've
printed the source file rows while processing. However it has been possible
only because the parsing takes 4 minutes.
I'm wondering how to debug such issues with a much bigger text file.
thanks
On 28 March 2011 14:14, Pa
And these are the files:
http://dl.dropbox.com/u/72686/test.xml
http://dl.dropbox.com/u/72686/train.xml
thanks
On 28 March 2011 14:13, Patrick Diviacco wrote:
> Hi,
>
> I've a 74MB xml document and I've split it into 2 docs:52MB and 22MB
> respectively.
>
> I'm parsing the file using common D