posted 15 years ago
Hi
Can it be possible the java.util.Stack empty() function is not returning the correct value.
The probelm is sometime I'm getting java.util.EmptyStackException from poppinout funtion even if I check stack.empty() before calling stack.pop function.
I'm using org.xml.sax.ContentHandler to fetch the first 500 character until the first period(".") in the XML. The code look something like this.
I have this condition in popingout function,.