|
From: <jz...@xi...> - 2015-05-08 20:39:29
|
How deep is your xml document processed in vtd-xml huge? ----- Original Message ----- From: Erik Fäßler To: Cc: Sent:Wed, 6 May 2015 16:29:33 +0200 Subject:[Vtd-xml-users] VTD Huge: Depth exceeds MAX_DEPTH 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: [1] Other Error: Depth exceeds MAX_DEPTHLine 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) [2] 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 Links: ------ [1] http://com.ximpleware.extended.ParseExceptionHuge [2] http://sitemail.hostway.com/http: |