This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "after endDocument vector gets emptied" Watch "after endDocument vector gets emptied" New topic

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.


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
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: after endDocument vector gets emptied
jQuery in Action, 3rd edition