SAX Parser Error
I used SAX parser in Java on Window2000 to parse a large XML file. When I tested my code using a small size file, it worked ok; however, I would get some java.sql.SQLException: General error if I used a large size file. The error is as the following:
the element shall be "45.19" yet the parser saw it as two separate pieces, "45" and ".19"
The error location is determined.
I guess the error is related to how a large file was read.
Any one has had similar issue?
Thanks!
Dean
|