JAXP IllegalArgumentException? Is it a bug?

Hi,

can some one help me resolving my prolem. I use the SAX Parser to parse an XML file on an NT machine with jdk 1.3.0_02 and java Hotspot VM installed. the parser works with small XML files. when i try to run on a large file an SAXParserException is thrown and the following message has been caugth:

java.lang.IllegalArgumentException

But if I add an xml comment in the xml file immediatly above the line that causes the error the parser not signal the error at the same position but far away from the former error position. So that when I insert regular comment the SAX parser works successful. The insertion of regular comment is not wished.

Is it a bug? how can i solve this problem?

thanks

P.S. I apologize for my poor englisch

wbr.

aman

[807 byte] By [abaman] at [2007-9-26 2:29:07]
# 1

Hi,

I found the real cause of my problem. This Exception is caused by another method which try to transform the parsed value returning by the method characters(). This method must be call more than one times if a content of a tag is plit because the buffer is oveflowed.

It is related to the bug 4404579.

Thanks

abaman

abaman at 2007-6-29 9:45:51 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...