File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes after endDocument vector gets emptied Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "after endDocument vector gets emptied" Watch "after endDocument vector gets emptied" New topic
Author

after endDocument vector gets emptied

Pinda Ros
Ranch Hand

Joined: Apr 14, 2003
Posts: 65
Hello ,

I have built an xml parser that uses a vector to store the values of each tag.

while the class is parsing i can see the vector getting bigger and filling up with values.

However i noticed that after endDocument everything in the vector is lost.
That is i have an empty vector.

Any suggestions why this might be happening?

thank you in advance.

pinda


NanoAgent is an Artificial intelligence RoBot of microscopic proportions built by means of nanotechnology
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
Is these some sample code that you want to share with us, please/
I am a little confused with the description that you provided....

- m


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: after endDocument vector gets emptied
 
Similar Threads
vector loosing its values
Vector for database query
returning mutiple values
Use a ResultSet twice
How to populate the values of the vector in jsp to the functions of javascript