|
From: <jz...@xi...> - 2013-08-12 20:04:03
|
Try to use standard vtd-xml when ever you can since it is full featured...use extended vtd-xml to process document whenever file size exceeds 2GB...you need some glue code that reads xml file out of inputstream and into an in-memory buffer ----- Original Message ----- From: Riccardo Prandini To: Cc: Sent:Mon, 12 Aug 2013 12:02:27 +0200 Subject:[Vtd-xml-users] InputStream in VTD Hi, I'm using for the first time vtd, for my project, i have to deal vith large "file" I recive the file content as InputStream via other class, so i'm interested in two thing. - An efficent way to use the InputStreamIn the doc is suggested to dump to byteArray and use setDoc. But using this method I have 2 times the file in memory 1 byteArray and one VTD o am I wrong?. - If is planned the validation via xsd. ---Riccardo Prandini Please consider the environment before printing this email |