|
From: Erik F. <eri...@un...> - 2015-05-06 14:29:42
|
Hi there, I was trying to parse the XML file in the attachment with the VTD Huge parser. I need the Huge parser because originally, the XML contents of the file are just part of a file as large as 1.3GB. Parsing this file fails with the error com.ximpleware.extended.ParseExceptionHuge: Other Error: Depth exceeds MAX_DEPTH Line Number: 4856 Offset: 70 Using VTD XML 2.11. With the normal VTD it is working because there, the MAX_DEPTH constant is set to 254 instead of only 30 on VTD Huge. Would it be possible to make this configurable (e.g. by a Java system property like java -Dcom.ximpleware.max_depth) or is there any reason why this constant should absolutely stay at 30? It would make VTD fail for my use case which would be too bad since my primary XML tooling is developed around VTD XML. Thanks and best regards, Erik |