Hi,

While parsing a large XML file (1000 items/56mb), I get the following error:

[Fatal Error] 1k_CIN.xml:2:1: Content is not allowed in prolog.

I've chopped this file up into smaller sets of items (50 items/1.5mb) and can 
parse those without
any problems.  Its only when I try to parse the larger file that I encounter 
the prolog error.

The prolog is the same in all of the files:
<?xml version="1.0" encoding="UTF-8"?>

I'm using xerces-2_6_2, parsing with Sax XMLReader.  I've tried passing in a 
system id and
inputsource to the parser -- both result in the prolog error with the larger 
file.  The smaller
files parse without any problems.

Does anyone have any ideas?

Thanks in advance, 
Duane





                
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to