Re: fPreviousChunk == NULL exception on parsing a 2 GB XML file

Michael Glavassevich <[email protected]>
Newsgroups gmane.text.xml.xerces-j.user
Message-ID <OFD6A9C4C9.FB0465FE-ON85257B40.006AC141-85257B40.006B3998@ca.ibm.com>
Hello Hector,

You must be using Xerces-J 1.4.4 or earlier. 
org.apache.xerces.framework.XMLParser doesn't exist in Xerces 2.x.

If there was an issue with processing large XML documents with SAX I 
assume we fixed that over a decade ago. I know of no such problem now.

Thanks.

Michael Glavassevich
XML Technologies and WAS Development
IBM Toronto Lab
E-mail: [email protected]
E-mail: [email protected]

Hector Barragan <[email protected]> wrote on 01/04/2013 03:03:11 PM:

> Hi there 
> 
> In the below version, has the 2 GB file size bug been fixed? 
> 
> Xerces2 Java Parser 2.11.0 Release 
>
> The sax parser wont read/handle a XML file more than 2 GB, 
> populating the below exception 
> 
> java.lang.RuntimeException: Internal Error: fPreviousChunk == NULL 
> at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094) 
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) 
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:223) 
> 
> Currently we have this version 
> Sax version is 2009 xercesImpl-2.2.1.jar 2009 xerces.jar 
> Thanks in advance 
> 
> 
_______________________________________________________________________________
> Hector Barragan | Contractor | Derivatives Technology 
> 801 S. Canal Chicago IL, 60607 USA||Cell 1 (312) 285 4793 [email protected] 
> Please visit northerntrust.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.